Ejemplo 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);
            }
        }
Ejemplo n.º 2
0
 private void AlarmDisable(object sender, RoutedEventArgs e)
 {
     ModulesManager.AlarmsDisable();
 }