Exemple #1
0
        public void OnDisabled()
        {
            UnsubscribeEvents();

            _sender.Disable();

            Logging.Write("WatchFox " + Version + " disabled");
        }
Exemple #2
0
        public void OnDisabled()
        {
            BotMain.OnStart         -= Start;
            BotMain.OnStop          -= Stop;
            GameEvents.OnLevelUp    -= OnLevelUp;
            GameEvents.OnItemLooted -= OnItemLooted;
            GameEvents.OnGameJoined -= OnGameJoined;
            GameEvents.OnGameLeft   -= OnGameLeft;

            _sender.Disable();

            Logging.Write("WatchFox " + Version + " disabled");
        }