public static void WSettingsMenu()
        {
            WSettings = Menu.AddSubMenu("AntiGapcloser", "wmenu");

            WSettings.Add("W", new CheckBox("Kullan W"));
            WSettings.AddGroupLabel("Kullan W içinde: ");

            foreach (AIHeroClient enemy in EntityManager.Heroes.Enemies)
            {
                foreach (var dash in DashSpells.DashSpells.Dashes)
                {
                    if (enemy.Hero == dash.champ)
                    {
                        if (dash.spellname == string.Empty)
                        {
                            WSettings.Add("w" + dash.champname + dash.spellKey, new CheckBox(dash.champname + " " + dash.spellKey, dash.enabled));
                        }
                        else
                        {
                            WSettings.Add("w" + dash.champname + dash.spellname, new CheckBox(dash.champname + " " + dash.spellKey, dash.enabled));
                        }
                    }
                    if (enemy.Hero == Champion.Rengar)
                    {
                        WSettings.Add("AntiRengar", new CheckBox("Anti rengar"));
                        //Chat.Print("Anti rengo loaded");
                        Chat.Print("Popy Wsi Rengarı Engellemez beni suclama, ritoyu sucla,tradana iyi oyunlar diler");
                    }
                }
            }
        }
Exemple #2
0
        public static void WSettingsMenu()
        {
            WSettings = Menu.AddSubMenu("AntiGapcloser", "wmenu");

            WSettings.Add("W", new CheckBox("Use W"));
            WSettings.AddGroupLabel("Use W in: ");

            foreach (AIHeroClient enemy in EntityManager.Heroes.Enemies)
            {
                foreach (var dash in DashSpells.DashSpells.Dashes)
                {
                    if (enemy.Hero == dash.champ)
                    {
                        if (dash.spellname == string.Empty)
                        {
                            WSettings.Add("w" + dash.champname + dash.spellKey, new CheckBox(dash.champname + " " + dash.spellKey, dash.enabled));
                        }
                        else
                        {
                            WSettings.Add("w" + dash.champname + dash.spellname, new CheckBox(dash.champname + " " + dash.spellKey, dash.enabled));
                        }
                    }
                    if (enemy.Hero == Champion.Rengar)
                    {
                        WSettings.Add("AntiRengar", new CheckBox("Anti rengar"));
                        //Chat.Print("Anti rengo loaded");
                        Chat.Print("Poppy W isn't canceling rengar dash, blame rito");
                    }
                }
            }
        }
Exemple #3
0
 public PeopleService(
     PeopleDbContext context,
     IOptions <WSettings> wSettings
     )
 {
     _wSettings = wSettings.Value;
     Context    = context;
 }
Exemple #4
0
 public CitizensController(
     IPeopleService peopleService,
     IOptions <WSettings> wSettings
     )
 {
     _peopleService = peopleService;
     _wSettings     = wSettings.Value;
 }
Exemple #5
0
 public HomeController(
     IOptions <WSettings> wSettings
     )
 {
     _wSettings = wSettings.Value;
 }