소스 검색

添加gm远程开关

guodong 3 년 전
부모
커밋
d80eaba212
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      GameClient/Assets/Game/HotUpdate/GameConfig.cs

+ 2 - 2
GameClient/Assets/Game/HotUpdate/GameConfig.cs

@@ -19,14 +19,14 @@ namespace GFGGame
             LoginAddress = result.loginApiUrl;
             //LoginAddress = "10.108.64.127:10005";
             PlatformName = result.platformName;
-            showGM = result.showGM;
+            showGM = int.Parse(result.showGM);
         }
 
         private struct Result
         {
             public string loginApiUrl;
             public string platformName;
-            public int showGM;
+            public string showGM;
         }
     }
 }