当前位置: 首页>>代码示例>>C#>>正文


C# Menu.AddGroupLabel方法代码示例

本文整理汇总了C#中LeagueSharp.Common.Menu.AddGroupLabel方法的典型用法代码示例。如果您正苦于以下问题:C# Menu.AddGroupLabel方法的具体用法?C# Menu.AddGroupLabel怎么用?C# Menu.AddGroupLabel使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在LeagueSharp.Common.Menu的用法示例。


在下文中一共展示了Menu.AddGroupLabel方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Initialize

        public static void Initialize()
        {
            _spells = EloBuddy.SDK.Spells.SpellDatabase.GetSpellInfoList(MyHero.BaseSkinName);

            #region Initialize Menu
            Config = MainMenu.AddMenu("EBPredictioner", "asdasdasdsad");
            Config.AddGroupLabel("Taken logic from AIMBot, huge credits to iCreative.");
            Config.Add("ENABLED", new CheckBox("Enabled"));
            //Config.Add("SPREDHITC", new ComboBox("HitChance", 0, "High", "Medium", "Low"));
            Config.Add("SPREDHITC", new Slider("HitChance", 60));
            Config.AddSeparator();

            #region Initialize Spells
            Config.AddGroupLabel("Skillshots");
            var slots = new HashSet<SpellSlot>();
            foreach (var info in _spells)
            {
                slots.Add(info.Slot);
            }
            foreach (var slot in slots)
            {
                if (Config[String.Format("{0}{1}", ObjectManager.Player.ChampionName, slot)] == null)
                {
                    Config.Add(String.Format("{0}{1}", ObjectManager.Player.ChampionName, slot), new CheckBox("Convert Spell " + slot.ToString()));
                }
            }
            #endregion
            #endregion

            #region Initialize Events
            Spellbook.OnCastSpell += EventHandlers.Spellbook_OnCastSpell;
            AIHeroClient.OnProcessSpellCast += EventHandlers.Obj_AI_Hero_OnProcessSpellCast;
            Game.OnTick += Game_OnTick;
            #endregion
        }
开发者ID:yashine59fr,项目名称:PortAIO-1,代码行数:35,代码来源:SPredictioner.cs

示例2: OnLoad

        public static void OnLoad()
        {
            Config = MainMenu.AddMenu(Menuname, Menuname);

            AddKeyBind(Config, "Manual E->Q", "manualeq", 'A', KeyBind.BindTypes.HoldActive);
            AddKeyBind(Config, "R Spam", "flee", 'T', KeyBind.BindTypes.PressToggle);
            AddBool(Config, "Disable Orbwalker", "disorb", false);

            combo = Config.AddSubMenu("Combo Settings", "Combo Settings");
            combo.AddGroupLabel("Melee Settings");
            AddBool(combo, "Use [Q]", "useqcm");
            AddBool(combo, "Use [W]", "usewcm");
            AddBool(combo, "Use [E]", "useecm");
            AddBool(combo, "Smart [E]", "useecme");
            combo.AddSeparator();
            combo.AddGroupLabel("Ranged Settings");
            AddBool(combo, "Use [Q]", "useqcr");
            AddBool(combo, "Use [W]", "usewcr");
            AddBool(combo, "Use [E]", "useecr");
            combo.AddSeparator();
            AddBool(combo, "Auto Change Forms ([R])", "usercf");

            harass = Config.AddSubMenu("Harass Settings", "harass Settings");
            harass.AddGroupLabel("Melee Settings");
            AddBool(harass, "Use [Q]", "useqhm");
            harass.AddSeparator();
            harass.AddGroupLabel("Ranged Settings");
            AddBool(harass, "Use [Q]", "useqhr");
            AddBool(harass, "Use [W]", "usewhr");

            laneclear = Config.AddSubMenu("Lane Clear Settings", "Lane Clear Settings");
            AddValue(laneclear, "Minimum minions hit For W/Q", "minhitwq", 2, 0, 10);
            AddValue(laneclear, "Minimum Mana", "minmana", 30);
            laneclear.AddSeparator();
            laneclear.AddGroupLabel("Melee Settings");
            AddBool(laneclear, "Use [Q]", "useqlm");
            AddBool(laneclear, "Use [W]", "usewlm");
            AddBool(laneclear, "Use [E]", "useelm");
            laneclear.AddSeparator();
            laneclear.AddGroupLabel("Ranged Settings");
            AddBool(laneclear, "Use [Q]", "useqlr");
            AddBool(laneclear, "Use [W]", "usewlr");

            drawings = Config.AddSubMenu("Drawings", "Drawings");
            AddBool(drawings, "Draw [Q]", "drawq");
            AddBool(drawings, "Draw [E]", "drawe");
            AddBool(drawings, "Draw Timers", "drawtimers");

            misc = Config.AddSubMenu("Misc Settings", "Misc Settings");
            AddBool(misc, "Auto E On Interruptable", "autoeint");
            AddBool(misc, "Auto E On Dash", "autoedash");
            AddBool(misc, "Auto E On Gap Closers", "autoegap");
        }
开发者ID:Xelamats,项目名称:PortAIO,代码行数:53,代码来源:MenuConfig.cs

示例3: Create

        public static void Create(Menu menuToAttach)
        {
            s_Config = MainMenu.AddMenu("Target Selector", "TargetSelector.Root");
            s_Config.Add("TargetSelector.Root.blFocusSelected", new CheckBox("Focus Selected Target"));
            s_Config.Add("TargetSelector.Root.iFocusSelectedExtraRange",
                new Slider("Extra Focus Selected Range", 0, 0, 250));
            s_Config.Add("TargetSelector.Root.blOnlyAttackSelected", new CheckBox("Only Attack Selected Target", false));
            s_Config.Add("TargetSelector.Root.SelectedTargetColor", new CheckBox("Selected Target Color", false));

            s_Config.AddGroupLabel("Champion Priority");
            foreach (var enemy in HeroManager.Enemies)
            {
                s_Config.Add(string.Format("TargetSelector.Priority.{0}", enemy.ChampionName),
                    new Slider(enemy.ChampionName, 1, 1, 5));
            }
            s_Config.AddLabel("0 : Auto");
            s_Config.AddLabel("1 : Low HP");
            s_Config.AddLabel("2 : Most AD");
            s_Config.AddLabel("3 : Most AP");
            s_Config.AddLabel("4 : Closest");
            s_Config.AddLabel("5 : Near Mouse");
            s_Config.AddLabel("6 : Less Attack");
            s_Config.AddLabel("7 : Less Cast");
            s_Config.Add("TargetSelector.Root.iTargettingMode", new Slider("Targetting Mode", 0, 0, 7));
        }
开发者ID:Xelamats,项目名称:PortAIO,代码行数:25,代码来源:ConfigMenu.cs

示例4: Initialize

        public static void Initialize()
        {
            #region Initialize Menu
            Config = MainMenu.AddMenu("SDKPredictioner", "sdkpaksldjaskdjlkasjdk");
            Config.Add("ENABLED", new CheckBox("Enabled"));
            Config.Add("SPREDHITC", new ComboBox("HitChance", 1, "Very High", "High", "Medium"));
            Config.AddSeparator();
            #region Initialize Spells
            Config.AddGroupLabel("Skillshots");
            foreach (var spell in SpellDatabase.Spells)
            {
                if (spell.ChampionName == ObjectManager.Player.CharData.BaseSkinName && Config[String.Format("{0}{1}", ObjectManager.Player.ChampionName, spell.Slot)] == null)
                {
                    Spells[(int)spell.Slot] = new Spell(spell.Slot, spell.Range);
                    Spells[(int)spell.Slot].SetSkillshot(spell.Delay / 1000f, spell.Radius, spell.MissileSpeed, spell.Collisionable, spell.Type);
                    Config.Add(String.Format("{0}{1}", ObjectManager.Player.ChampionName, spell.Slot), new CheckBox("Convert Spell " + spell.Slot.ToString()));
                }
            }
            #endregion
            #endregion

            #region Initialize Events
            Spellbook.OnCastSpell += EventHandlers.Spellbook_OnCastSpell;
            AIHeroClient.OnProcessSpellCast += EventHandlers.Obj_AI_Hero_OnProcessSpellCast;
            #endregion
        }
开发者ID:CONANLXF,项目名称:AIO,代码行数:26,代码来源:SPredictioner.cs

示例5: Create

 public static void Create()
 {
     s_Config = MainMenu.AddMenu("Target Selector", "TargetSelector.Root");
     s_Config.AddGroupLabel("Target Selector Mode");
     s_Config.Add("TargetSelector.Root.iTargettingMode", new ComboBox("Selected Mode:", 0, "Auto", "Lowest HP", "Most AD", "Most AP", "Closest", "Near Mouse", "Less Attack", "Less Cast"));
     s_Config.AddGroupLabel("Priorities");
     s_Config.AddLabel("(Higher value means higher priority)");
     foreach (var enemy in HeroManager.Enemies)
     {
         s_Config.Add(string.Format("TargetSelector.Priority.{0}", enemy.ChampionName), new Slider(enemy.ChampionName, 1, 1, 5));
     }
     s_Config.AddSeparator();
     s_Config.AddGroupLabel("Selected Target Settings");
     s_Config.Add("TargetSelector.Root.blFocusSelected", new CheckBox("Focus Selected Target"));
     s_Config.Add("TargetSelector.Root.iFocusSelectedExtraRange", new Slider("Extra Focus Selected Range", 0, 0, 250));
     s_Config.Add("TargetSelector.Root.blOnlyAttackSelected", new CheckBox("Only Attack Selected Target", false));
     s_Config.Add("TargetSelector.Root.SelectedTargetColor", new CheckBox("Selected Target Color", false));
 }
开发者ID:CONANLXF,项目名称:AIO,代码行数:18,代码来源:ConfigMenu.cs

示例6: Loading_OnLoadingComplete

        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.TahmKench) return;

            Menu = MainMenu.AddMenu("Kench Unbenched", "kbswag");
            Menu.AddGroupLabel("Kench Unbenched");

            ComboMenu = Menu.AddSubMenu("Combo Menu", "combomenuKench");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("Combo.Q", new CheckBox("Use Q"));
            ComboMenu.Add("Combo.QOnlyStun", new CheckBox("Use Q Only Stun / Out of AA"));
            ComboMenu.Add("Combo.W.Enemy", new CheckBox("Use W on Enemy"));
            ComboMenu.Add("Combo.W.Minion", new CheckBox("Use W on Minions to Spit"));
            ComboMenu.Add("Combo.E", new CheckBox("Use E"));

            HarassMenu = Menu.AddSubMenu("Harass Menu", "harassmenuKench");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("Harass.Q", new CheckBox("Use Q"));
            HarassMenu.Add("Harass.W.Enemy", new CheckBox("Use W on Enemy"));
            HarassMenu.Add("Harass.W.Minion", new CheckBox("Use W on Minions to Spit"));
            HarassMenu.Add("Harass.E", new CheckBox("Use E"));

            FarmingMenu = Menu.AddSubMenu("Farm Menu", "farmmenuKench");
            FarmingMenu.AddGroupLabel("Farm Settings");
            FarmingMenu.AddLabel("LastHit Settings");
            FarmingMenu.Add("LastHit.Q", new CheckBox("Use Q"));
            FarmingMenu.AddLabel("WaveClear Settings");
            FarmingMenu.Add("WaveClear.Q", new CheckBox("Use Q"));
            FarmingMenu.AddLabel("Jungle Settings");
            FarmingMenu.Add("Jungle.Q", new CheckBox("Use Q"));

            KenchSaver.Initialize();

            KillStealMenu = Menu.AddSubMenu("KillSteal Menu");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KillSteal.Q", new CheckBox("Use Q"));
            KillStealMenu.Add("KillSteal.W.Swallow", new CheckBox("Use W Swallow"));
            KillStealMenu.Add("KillSteal.W.Spit", new CheckBox("Use W Swallow/Spit"));

            DrawMenu = Menu.AddSubMenu("Draw Menu", "drawMenuKench");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.Add("Draw.Q", new CheckBox("Draw Q"));
            DrawMenu.AddColourItem("Draw.Q.Colour");
            DrawMenu.AddSeparator();
            DrawMenu.Add("Draw.W", new CheckBox("Draw W"));
            DrawMenu.AddColourItem("Draw.W.Colour");
            DrawMenu.AddSeparator();
            DrawMenu.Add("Draw.E", new CheckBox("Draw E"));
            DrawMenu.AddColourItem("Draw.E.Colour");
            DrawMenu.AddSeparator();
            DrawMenu.AddLabel("Off CD Colour");
            DrawMenu.AddColourItem("Draw.OFF");

            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Base.OnProcessSpellCast += KenchCheckManager.Obj_AI_Base_OnProcessSpellCast;
            Game.OnTick += Game_OnTick;
        }
开发者ID:ItsMoneyboy,项目名称:BenchTheKench,代码行数:57,代码来源:BenchTheKench.cs

示例7: Init

        public static void Init(Menu nParentMenu)
        {
            menu = nParentMenu;
            menu.AddGroupLabel("Auto Bush Revealer");

            foreach (var ward in _wards)
            {
                menu.Add("AutoBush." + ward.Key, new CheckBox(ward.Value));
            }

            var useMenuItemName = "Use." + ObjectManager.Player.ChampionName;
            var useMenuItemText = "Use " + ObjectManager.Player.ChampionName;

            switch (ObjectManager.Player.ChampionName)
            {
                case "Corki":
                    {
                        menu.Add(useMenuItemName, new CheckBox(useMenuItemText + " Q"));
                        break;
                    }
                case "Ashe":
                    {
                        menu.Add(useMenuItemName, new CheckBox(useMenuItemText + " E"));
                        break;
                    }
                case "Caitlyn":
                    {
                        menu.Add(useMenuItemName, new CheckBox(useMenuItemText + " W"));
                        break;
                    }
                case "Quinn":
                    {
                        menu.Add(useMenuItemName, new CheckBox(useMenuItemText + " W"));
                        break;
                    }
                case "Kalista":
                    {
                        menu.Add(useMenuItemName, new CheckBox(useMenuItemText + " W"));
                        break;
                    }
                case "Jinx":
                    {
                        menu.Add(useMenuItemName, new CheckBox(useMenuItemText + " E"));
                        break;
                    }
            }
            menu.Add("AutoBushEnabled", new CheckBox("Enabled"));
            menu.Add("AutoBushKey", new KeyBind("Key", false, KeyBind.BindTypes.HoldActive, 32));
            new Helper();

            ChampionSpell = GetSpell();

            Game.OnUpdate += Game_OnGameUpdate;
        }
开发者ID:yashine59fr,项目名称:PortAIO-1,代码行数:54,代码来源:CommonAutoBush.cs

示例8: Init

        public static void Init(Menu nParentMenu)
        {
            LocalMenu = nParentMenu;
            LocalMenu.AddGroupLabel("Emote");
            LocalMenu.Add("Emote.Kill", new ComboBox("Kill:", 0, "Off", "Master Badge", "Laugh", "Taunt", "Joke", "Dance"));
            LocalMenu.Add("Emote.Assist", new ComboBox("Assist:", 0, "Off", "Master Badge", "Laugh", "Taunt", "Joke", "Dance"));
            LocalMenu.Add("Emote.Victory", new ComboBox("Victory:", 0, "Off", "Master Badge", "Laugh", "Taunt", "Joke", "Dance"));
            LocalMenu.Add("Emote.Enable", new CheckBox("Enable:"));

            Game.OnNotify += GameOnOnNotify;
        }
开发者ID:CONANLXF,项目名称:AIO,代码行数:11,代码来源:CommonEmote.cs

示例9: Attach

 internal static void Attach(Menu menu)
 {
     menu.AddGroupLabel("Items");
     menu.AddBool("Items.Enabled", "Use Items");
     menu.AddBool("Items.UseTitanic", "Use Titanic");
     menu.AddBool("Items.UseTIA", "Use Tiamat");
     menu.AddBool("Items.UseHDR", "Use Hydra");
     menu.AddBool("Items.UseBRK", "Use BORK");
     menu.AddBool("Items.UseBLG", "Use Bilgewater");
     menu.AddBool("Items.UseYMU", "Use Youmu");
     menu.AddSeparator();
     menu.AddGroupLabel("Combo :");
     menu.AddBool("Combo.UseQ", "Use Q");
     menu.AddBool("Combo.UseQ2", "Use Q2");
     menu.AddBool("Combo.StackQ", "Stack Q if not in Range");
     menu.AddBool("Combo.UseE", "Use E");
     menu.AddBool("Combo.UseEQ", "Use EQ");
     menu.AddSList("Combo.Mode", "Mode", new string[] { "Old", "Beta" }, 0);
     menu.AddBool("Combo.ETower", "Use E under Tower", false);
     menu.AddBool("Combo.EAdvanced", "Predict E position with Waypoints");
     menu.AddBool("Combo.EToSafety", "E towards base if unhealthy", false);
     menu.AddBool("Combo.UseIgnite", "Use Ignite");
     menu.AddSeparator();
     menu.AddGroupLabel("Ult Settings ");
     foreach (var hero in HeroManager.Enemies)
     {
         menu.AddBool("ult" + hero.NetworkId, "Ult " + hero.ChampionName);
     }
     menu.AddSeparator();
     menu.AddSList("Combo.UltMode", "Ult Prioritization", new string[] { "Lowest Health", "TS Priority", "Most enemies" }, 0);
     menu.AddSlider("Combo.knockupremainingpct", "Knockup Remaining % for Ult", 95, 40, 100);
     menu.AddBool("Combo.UseR", "Use R");
     menu.AddBool("Combo.UltTower", "Ult under Tower", false);
     menu.AddBool("Combo.UltOnlyKillable", "Ult only Killable", false);
     menu.AddBool("Combo.RPriority", "Ult if priority 5 target is knocked up", true);
     menu.AddSeparator();
     menu.AddSlider("Combo.RMinHit", "Min Enemies for Ult", 1, 1, 5);
     menu.AddBool("Combo.OnlyifMin", "Only Ult if minimum enemies met", false);
     menu.AddSeparator();
     menu.AddSlider("Combo.MinHealthUlt", "Minimum health to Ult %", 0, 0, 100);
 }
开发者ID:yMeliodasNTD,项目名称:PortAIO,代码行数:41,代码来源:YasuoMenu.cs

示例10: Init

 public static void Init(Menu mainMenu)
 {
     MenuLocal = mainMenu.AddSubMenu("Jungle", "Jungle");
     {
         InitSimpleMenu();
         MenuLocal.AddGroupLabel("Item Settings : ");
         MenuLocal.Add("Jungle.Youmuu.BlueRed", new ComboBox("Items: Use for Blue/Red", 3, "Off", "Red", "Blue", "Both"));
         MenuLocal.Add("Jungle.Youmuu.BaronDragon", new ComboBox("Items: Use for Baron/Dragon", 3, "Off", "Dragon", "Baron", "Both"));
         MenuLocal.Add("Jungle.Item", new ComboBox("Items: Other (Tiamat/Hydra)", 1, "Off", "On"));
     }
     Game.OnUpdate += OnUpdate;
 }
开发者ID:yashine59fr,项目名称:PortAIO,代码行数:12,代码来源:ModeJungle.cs

示例11: Init

        public static void Init(Menu ParentMenu)
        {
            MenuLocal = ParentMenu.AddSubMenu("R:", "MenuR");

            MenuLocal.Add("MenuR.R.Enabled", new KeyBind("Enabled:", true, KeyBind.BindTypes.PressToggle, 'K'));
            MenuLocal.Add("MenuR.R.OnyChampionSpells", new KeyBind("Dodge Only Champion Spells:", false, KeyBind.BindTypes.HoldActive, 32));

            MenuLocal.AddGroupLabel("Buffs:");
            foreach (var displayName in BuffListCaption)
            {
                MenuLocal.Add("Buff." + displayName, new CheckBox(displayName));
            }

            MenuLocal.AddGroupLabel("Enemy Spells:");
            foreach (var c in HeroManager.Enemies.SelectMany(t => Evade.SpellDatabase.Spells.Where(s => s.Type == SpellData.SkillShotType.SkillshotTargeted).Where(c =>string.Equals(c.ChampionName, t.ChampionName,StringComparison.InvariantCultureIgnoreCase)).OrderBy(s => s.ChampionName)))
            {
                MenuLocal.Add("BuffT." + c.ChampionName + c.Slot, new CheckBox(c.ChampionName + " : " + c.Slot));
            }

            Obj_AI_Base.OnProcessSpellCast += ObjAiHeroOnOnProcessSpellCast;
            Game.OnUpdate += GameOnOnUpdate;
        }
开发者ID:CONANLXF,项目名称:AIO,代码行数:22,代码来源:ModeUlti.cs

示例12: ComboMenu

        public override bool ComboMenu(Menu config)
        {
            config.Add("UseQC", new CheckBox("Q"));
            config.Add("UseWC", new CheckBox("W"));
            config.Add("UseEC", new CheckBox("E"));

            config.AddGroupLabel("R");
            {
                config.Add("UseRC", new CheckBox("Use R"));
                config.Add("UseRCMinRange", new Slider("Min. Range", 200, 200, 1000));
                config.Add("UseRCMaxRange", new Slider("Max. Range", 1500, 500, 2000));
                config.Add("DrawRMin", new CheckBox("Draw Min. R Range"));//.SetValue(new Circle(true, Color.DarkRed)));
                config.Add("DrawRMax", new CheckBox("Draw Max. R Range"));//.SetValue(new Circle(true, Color.DarkMagenta)));
            }
            return true;
        }
开发者ID:yashine59fr,项目名称:PortAIO,代码行数:16,代码来源:Ezreal.cs

示例13: ComboMenu

        public override bool ComboMenu(Menu config)
        {
            config.Add("UseQC", new CheckBox("Use Q"));
            config.Add("UseWC", new CheckBox("Use W", false));
            config.Add("UseEC", new CheckBox("Use E"));
            config.Add("UseWKs", new CheckBox("Use W Kill Steal", false));
            config.Add("UseWCS", new CheckBox("Complete E stacks with W", false));

            config.AddGroupLabel("Don't Use E On");
            {
                foreach (var enemy in ObjectManager.Get<AIHeroClient>().Where(enemy => enemy.Team != Player.Team))
                {
                    config.Add("DontUseE" + enemy.ChampionName, new CheckBox(enemy.ChampionName, false));
                }
            }

            return true;
        }
开发者ID:CONANLXF,项目名称:AIO,代码行数:18,代码来源:Tristana.cs

示例14: Init

        public static void Init(Menu mainMenu)
        {
            MenuLocal = mainMenu.AddSubMenu("Jungle", "Jungle");
            {
                InitSimpleMenu();

                MenuLocal.Add("Jungle.Youmuu.BlueRed", new ComboBox("Items: Use for Blue/Red", 3, "Off", "Red", "Blue", "Both"));
                MenuLocal.Add("Jungle.Youmuu.BaronDragon", new ComboBox("Items: Use for Baron/Dragon", 3, "Off", "Dragon", "Baron", "Both"));
                MenuLocal.Add("Jungle.Item", new ComboBox("Items: Other (Tiamat/Hydra)", 1, "Off", "On"));

                MenuLocal.AddGroupLabel("Min. Mana Control");
                MenuLocal.Add("MinMana.Jungle", new Slider("Min. Mana %:", 20));
                MenuLocal.Add("MinMana.DontCheckEnemyBuff", new ComboBox("Don't Check Min. Mana -> If Taking:", 2, "Off", "Ally Buff", "Enemy Buff", "Both"));
                MenuLocal.Add("MinMana.DontCheckBlueBuff", new CheckBox("Don't Check Min. Mana -> If Have Blue Buff:"));

            }
            Game.OnUpdate += OnUpdate;
        }
开发者ID:yashine59fr,项目名称:PortAIO,代码行数:18,代码来源:ModeJungle.cs

示例15: CreateMenu

 public static void CreateMenu()
 {
     Menu = MainMenu.AddMenu("Evade Skillshot", "Evade");
     foreach (var spell in SpellDatabase.Spells.Where(i => HeroManager.Enemies.Any(a => string.Equals(a.ChampionName, i.ChampionName, StringComparison.InvariantCultureIgnoreCase))))
     {
         Menu.AddGroupLabel(string.Format("{0} ({1})", spell.SpellName, spell.Slot));
         Menu.Add("DangerLevel", new Slider("Danger Level", spell.DangerValue, 1, 5));
         Menu.Add("IsDangerous", new CheckBox("Is Dangerous", spell.IsDangerous));
         Menu.Add("DisableFoW", new CheckBox("Disable FoW Dodging", false));
         Menu.Add("Draw", new CheckBox("Draw", false));
         Menu.Add("Enabled", new CheckBox("Enabled", !spell.DisabledByDefault));
         Menu.AddSeparator();
     }
     Menu.AddSeparator();
     Menu.Add("DrawStatus", new CheckBox("Draw Evade Status"));
     Menu.Add("EnabledA", new KeyBind("Enabled", false, KeyBind.BindTypes.PressToggle, 'K'));
     Menu.Add("OnlyDangerous", new KeyBind("Dodge Only Dangerous", false, KeyBind.BindTypes.HoldActive, 32));
 }
开发者ID:CONANLXF,项目名称:AIO,代码行数:18,代码来源:Config.cs


注:本文中的LeagueSharp.Common.Menu.AddGroupLabel方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。