| | |
| | | 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,
|
| | |
| | | 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
|