private void TryLogin2MainScene() { if (mIsMainWindow == false || mIsMainMode == false) { return; } GTimer.CancelAll("LoadMainModeTimeOut"); WindowManager.GetSingleton().DestoryWidowByName(LoginView.VIEW_KEY); PlayerManager.GetSingleton().pHero.NofityPlayerEvent(new Air2000.Event((int)PlayerEventType.PE_NotifyEnterMainScene)); this.NotifySceneEvent(new Air2000.Event((int)SceneEventType.SE_CompletedLoading)); }
private void LoadMainModeTimeOut() { GTimer.CancelAll("LoadMainModeTimeOut"); mIsMainMode = true; TryLogin2MainScene(); }
private void MianModeEnd(Air2000.Event varEvent) { GTimer.CancelAll("LoadMainModeTimeOut"); mIsMainMode = true; TryLogin2MainScene(); }