private void ShowOtherTips() { int count = this.m_MatchUrlAction.Count; if (count > 0) { for (int i = 0; i < count; i++) { UrlAction urlAction = this.m_MatchUrlAction[i]; if (urlAction != null) { urlAction.Execute(); } } } if (Singleton <GameStateCtrl> .instance.GetCurrentState() is LobbyState) { CRoleInfo masterRoleInfo = Singleton <CRoleInfoManager> .GetInstance().GetMasterRoleInfo(); if (masterRoleInfo != null && ActivitySys.NeedShowWhenLogin() && !MonoSingleton <NewbieGuideManager> .GetInstance().isNewbieGuiding) { ActivitySys.UpdateLoginShowCnt(); Singleton <CUIEventManager> .GetInstance().DispatchUIEvent(enUIEventID.Activity_OpenForm); } else { MonoSingleton <NobeSys> .GetInstance().ShowDelayNobeLoseTipsInfo(); MonoSingleton <PandroaSys> .GetInstance().ShowPopNews(); } } }
private void ShowOtherTips() { if (Singleton <GameStateCtrl> .get_instance().GetCurrentState() is LobbyState) { CRoleInfo masterRoleInfo = Singleton <CRoleInfoManager> .GetInstance().GetMasterRoleInfo(); if (masterRoleInfo != null && ActivitySys.NeedShowWhenLogin() && !MonoSingleton <NewbieGuideManager> .GetInstance().isNewbieGuiding) { ActivitySys.UpdateLoginShowCnt(); Singleton <CUIEventManager> .GetInstance().DispatchUIEvent(enUIEventID.Activity_OpenForm); } else { MonoSingleton <NobeSys> .GetInstance().ShowDelayNobeLoseTipsInfo(); MonoSingleton <PandroaSys> .GetInstance().ShowPopNews(); } } }
private void OnCloseIDIPForm(CUIEvent uiEvent) { if (this.m_Form != null) { Singleton <CUIManager> .GetInstance().CloseForm(this.m_Form); this.m_Form = null; } this.m_bShow = false; if (((this.m_ImageContent != null) && (this.m_ImageContent.sprite != null)) && this.m_bLoadImage) { UnityEngine.Object.Destroy(this.m_ImageContent.sprite); } if (this.m_NoticeDataList.Count > 0) { this.ShowNoticeWindow(0); } else if (((Singleton <GameStateCtrl> .instance.GetCurrentState() is LobbyState) && (Singleton <CRoleInfoManager> .GetInstance().GetMasterRoleInfo() != null)) && (ActivitySys.NeedShowWhenLogin() && !MonoSingleton <NewbieGuideManager> .GetInstance().isNewbieGuiding)) { ActivitySys.UpdateLoginShowCnt(); Singleton <CUIEventManager> .GetInstance().DispatchUIEvent(enUIEventID.Activity_OpenForm); } }