少年修仙传客户端代码仓库
client_Wu Xijin
2018-08-29 aee09931f8eabdbad939117008224ed495bb62fa
3064  修改debug 登录工具
1个文件已修改
8 ■■■■■ 已修改文件
System/Debug/DebugLogin.cs 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Debug/DebugLogin.cs
@@ -52,11 +52,14 @@
        passwordRecorder = password.text;
        istokenRecorder = isToken.isOn;
        if (!string.IsNullOrEmpty(appid.text))
        {
            VersionConfig.Get().m_AppId = appid.text;
        }
        if (isToken.isOn)
        {
            var loginModel = ModelCenter.Instance.GetModel<LoginModel>();
            VersionConfig.Get().m_AppId = appid.text;
            loginModel.sdkLoginResult = new SDKUtility.FP_LoginOk()
            {
                account = account.text,
@@ -109,7 +112,6 @@
                var ip = ServerListCenter.Instance.currentServer.region_domain;
                var port = ServerListCenter.Instance.currentServer.login_port;
                var gamePort = ServerListCenter.Instance.currentServer.game_port;
                VersionConfig.Get().m_AppId = appid.text;
                loginModel.AccountLogin(ip, port, gamePort);
            }
            else