Exemple #1
0
        public void ClearLogicData()
        {
            Singleton <CRoleInfoManager> .get_instance().ClearMasterRoleInfo();

            Singleton <CAdventureSys> .GetInstance().Clear();

            Singleton <CMatchingSystem> .GetInstance().Clear();

            Singleton <CRoomSystem> .GetInstance().Clear();

            Singleton <CSymbolSystem> .GetInstance().Clear();

            Singleton <ActivitySys> .GetInstance().Clear();

            Singleton <CFriendContoller> .get_instance().ClearAll();

            Singleton <CChatController> .get_instance().ClearAll();

            Singleton <BurnExpeditionController> .get_instance().ClearAll();

            Singleton <InBattleMsgMgr> .get_instance().ClearData();

            if (MonoSingleton <NewbieGuideManager> .HasInstance())
            {
                MonoSingleton <NewbieGuideManager> .get_instance().StopCurrentGuide();

                MonoSingleton <NewbieGuideManager> .ClearDestroy();
            }
            Singleton <CMailSys> .get_instance().Clear();

            Singleton <CTaskSys> .get_instance().Clear();

            Singleton <CGuildSystem> .GetInstance().Clear();

            Singleton <CGuildMatchSystem> .GetInstance().Clear();

            GameDataMgr.ClearServerResData();
            Singleton <CMallFactoryShopController> .GetInstance().Clear();

            Singleton <RankingSystem> .GetInstance().ClearAll();

            Singleton <CLobbySystem> .GetInstance().Clear();

            Singleton <CUnionBattleRankSystem> .GetInstance().Clear();

            Singleton <HeadIconSys> .get_instance().Clear();

            Singleton <CLoudSpeakerSys> .get_instance().Clear();

            Singleton <COBSystem> .get_instance().Clear();

            Singleton <CInviteSystem> .get_instance().Clear();

            Singleton <CArenaSystem> .get_instance().Clear();

            Singleton <SCModuleControl> .get_instance().Clear();

            MonoSingleton <IDIPSys> .GetInstance().ClearIDIPData();
        }
Exemple #2
0
 public static string Quit()
 {
     if (MonoSingleton <ConsoleWindow> .HasInstance())
     {
         MonoSingleton <ConsoleWindow> .instance.isVisible = false;
     }
     return(CheatCommandBase.Done);
 }
Exemple #3
0
 public static string Clean()
 {
     if (MonoSingleton <ConsoleWindow> .HasInstance())
     {
         MonoSingleton <ConsoleWindow> .instance.ClearLog();
     }
     return(CheatCommandBase.Done);
 }
Exemple #4
0
 public static string Exit()
 {
     if (MonoSingleton <ConsoleWindow> .HasInstance())
     {
         MonoSingleton <ConsoleWindow> .get_instance().set_isVisible(false);
     }
     return(CheatCommandBase.Done);
 }
Exemple #5
0
 public void CloseReplayWndInGame()
 {
     if (MonoSingleton <ConsoleWindow> .HasInstance())
     {
         MonoSingleton <ConsoleWindow> .instance.bEnableUseGmPanel = this.gui_enableUseGmPanel;
     }
     this.showReplayWnd = false;
     this.EnableEventSystem(true);
 }
Exemple #6
0
        protected void DestoryMiscSys()
        {
            Singleton <CheatCommandRegister> .DestroyInstance();

            Singleton <CheatCommandsRepository> .DestroyInstance();

            if (MonoSingleton <ConsoleWindow> .HasInstance())
            {
                MonoSingleton <ConsoleWindow> .DestroyInstance();
            }
        }
Exemple #7
0
 public static string ToggleView(EConsoleView InView)
 {
     if (MonoSingleton <ConsoleWindow> .HasInstance())
     {
         if (InView == EConsoleView.PC)
         {
             MonoSingleton <ConsoleWindow> .instance.ChangeToPCView();
         }
         else if (InView == EConsoleView.Mobile)
         {
             MonoSingleton <ConsoleWindow> .instance.ChangeToMobileView();
         }
     }
     return(CheatCommandBase.Done);
 }