コード例 #1
0
        public void ShutDown()
        {
            TreeRoot.OnStart -= OnBotStart;
            TreeRoot.OnStop  -= OnBotStop;

            FormManager.SaveFormInstances();
            HotkeyManager.UnregisterAllHotkeys();
            FormManager.CloseOverlays();
            CombatHelper.ResetLastUsed();

            Logger.KefkaLog("Kefka Shutdown - Complete");
        }
コード例 #2
0
        private void OnBotStop(BotBase bot)
        {
            if (ff14bot.Managers.RoutineManager.Current.Name != "Kefka")
            {
                return;
            }

            FormManager.SaveFormInstances();
            HotkeyManager.UnregisterAllHotkeys();
            FormManager.CloseOverlays();
            CombatHelper.ResetLastUsed();
        }