private void OnLoginFail(Air2000.Event varEvt) { if (mScene != null) { mScene.NotifySceneEvent(new Air2000.Event((int)SceneEventType.SE_NotifyTSDKLoginFail)); } }
private void TSDKLoginSuccees(Air2000.Event varData) { mIsLoginSuccess = true; LoginSucceed(); InvokeRepeating("RequestSeifInfo", 0f, 3f); Invoke("Timeout", 10f); }
/// <summary> /// 通知角色事件. /// </summary> /// <param name="varEvent"></param> public void NofityPlayerEvent(Air2000.Event eventObj) { if (eventObj == null) { return; } if (mEventManager == null) { Helper.LogError("NotifyPlayerEvent fail caused by null PlayerEventManager"); return; } mEventManager.Notify(eventObj); }
private void OnNetWorkState(Air2000.Event varEvt) { EventEX <NetworkReachability> evt = varEvt as EventEX <NetworkReachability>; switch (evt.Param) { case NetworkReachability.NotReachable: { WindowManager.GetSingleton().OpenConfirmDialog(Localization.Get("NetWorkError"), null, false); } break; default: { } break; } }
private void OnLoginFail(Air2000.Event varEvent) { Helper.LogWithToast("Login Fail!"); CancelInvoke("Timeout"); if (Application.platform == RuntimePlatform.Android) { UIHelper.SetActiveState(this.transform, "Button_Andriod", true); } else if (Application.platform == RuntimePlatform.IPhonePlayer) { UIHelper.SetActiveState(this.transform, "Button", true); } else { UIHelper.SetActiveState(this.transform, "Login_PC", true); } UIHelper.SetActiveState(transform, "Loding/Loding", false); }
private void OnLoginFail(Air2000.Event varEvt) { UnRegisterEvent(); GameContext.GetInstance().StopCoroutine(ExecuteLoad()); //WindowManager.GetSingleton().DestoryWidowByName(MainView.VIEW_KEY); }
private void MianModeEnd(Air2000.Event varEvent) { GTimer.CancelAll("LoadMainModeTimeOut"); mIsMainMode = true; TryLogin2MainScene(); }
void OnEventCallback(Air2000.Event evt) { int c = 1; }
private void OnPlayerInfo(Air2000.Event varEvt) { mIsPlayerInfo = true; LoginSucceed(); }
private void OnLoginInfo(Air2000.Event varEvt) { mIsLoginInfo = true; LoginSucceed(); }
private void StartConfigCheck(Air2000.Event varEvent) { StatrLoading(Localization.Get("Login StartConfigCheck")); }
private void OnStatrVersionCheck(Air2000.Event varEvent) { StatrLoading(Localization.Get("Login StartVersionCheck")); }
private void OnStartLogin(Air2000.Event varEvent) { StatrLoading(Localization.Get("LoginIng")); }
private void RspTSDKLoginSuccess(Air2000.Event varEvt) { }