소스 검색

网络配置

guodong 3 년 전
부모
커밋
a37aae2854
2개의 변경된 파일6개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 3
      GameClient/Assets/Game/HotUpdate/ETCodes/Hotfix/App/ConstValue.cs
  2. 1 1
      GameClient/Assets/Game/HotUpdate/HotUpdateEntry.cs

+ 5 - 3
GameClient/Assets/Game/HotUpdate/ETCodes/Hotfix/App/ConstValue.cs

@@ -1,8 +1,10 @@
-namespace ET
+using GFGGame;
+namespace ET
 {
     public static class ConstValue
     {
-        public const string LoginAddress = "10.108.64.190:10005";
-        //public const string LoginAddress = "127.0.0.1:10005";
+        //public static string LoginAddress = "10.108.64.190:10005";
+        public static string LoginAddress = LauncherConfig.loginApiUrl;
+        //public static string LoginAddress = "127.0.0.1:10005";
     }
 }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/HotUpdateEntry.cs

@@ -38,7 +38,7 @@ namespace GFGGame.HotUpdate
             //sqlite
             SqliteController.Instance.Init(false, ResPathUtil.SQLITE_FILE_PATH);
             //开始游戏
-            GameController.Start();
+            GameController.Start().Coroutine();
             Debug.Log("HotUpdateEntry Start completed");
         }