| | |
| | | public string accountBuf { get; private set; }
|
| | | public string passwordBuf { get; private set; }
|
| | |
|
| | | public bool isLogined { get; private set; }
|
| | |
|
| | | private void OnSDKAccountLoginOk(SDKUtility.FP_LoginOk _result)
|
| | | {
|
| | | sdkLogined = true;
|
| | |
| | |
|
| | | public void AccountLogin(string _account, string _ip, int _port, int _gamePort)
|
| | | {
|
| | | isLogined = true;
|
| | | if (Application.internetReachability == NetworkReachability.NotReachable)
|
| | | {
|
| | | ConfirmCancel.ShowPopConfirm(
|
| | |
| | |
|
| | | private void FiltrateDefaultServerAndServerGroup()
|
| | | {
|
| | | if (ModelCenter.Instance.GetModel<LoginModel>().isLogined)
|
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | if (serverInfoPlayer != null && serverInfoPlayer.player != null && serverInfoPlayer.player.group_list != null && serverInfoPlayer.player.group_list.Length > 0)
|
| | | {
|
| | | currentServer = serverInfoPlayer.player.group_list[0];
|