Esempio n. 1
0
        public void activateLoadedSettings()
        {
            ModulesManager.SioDisable();
            ModulesManager.sio = sio;
            if (sio.working)
            {
                ModulesManager.HardEnableThread((Module)sio);
            }


            ModulesManager.HealerDisable();
            ModulesManager.healer = healer;
            if (healer.working)
            {
                ModulesManager.HardEnableThread((Module)healer);
            }

            ModulesManager.AutoHasteDisable();
            ModulesManager.autoHaste = autoHaste;
            if (autoHaste.working)
            {
                ModulesManager.HardEnableThread((Module)autoHaste);
            }

            ModulesManager.AntyParalyseDisable();
            ModulesManager.antyParalyse = antyParalyse;
            if (antyParalyse.working)
            {
                ModulesManager.HardEnableThread((Module)antyParalyse);
            }

            ModulesManager.TargetingDisable();
            ModulesManager.targeting = targeting;
            if (targeting.working)
            {
                ModulesManager.HardEnableThread((Module)targeting);
            }

            ModulesManager.WalkerDisable();
            ModulesManager.walker = walker;
            if (walker.working)
            {
                ModulesManager.HardEnableThread((Module)walker);
            }

            ModulesManager.AlarmsDisable();
            ModulesManager.alarms = alarms;
            if (alarms.working)
            {
                ModulesManager.HardEnableThread((Module)alarms);
            }
        }
 private void DisableAutoHate(object sender, RoutedEventArgs e)
 {
     ModulesManager.AutoHasteDisable();
 }