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


C# Menu.AddSeparator方法代码示例

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


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

示例1: LoadingOnOnLoadingComplete

        private static void LoadingOnOnLoadingComplete(EventArgs args)
        {
            //Menu
            BaseUltMenu = MainMenu.AddMenu("BaseUlt+", "baseUltMenu");
            BaseUltMenu.AddGroupLabel("BaseUlt+ General");
            BaseUltMenu.AddSeparator();
            BaseUltMenu.Add("baseult", new CheckBox("BaseUlt"));
            BaseUltMenu.Add("showrecalls", new CheckBox("Show Recalls"));
            BaseUltMenu.Add("showallies", new CheckBox("Show Allies"));
            BaseUltMenu.Add("showenemies", new CheckBox("Show Enemies"));
            BaseUltMenu.Add("checkcollision", new CheckBox("Check Collision"));
            BaseUltMenu.AddSeparator();
            BaseUltMenu.Add("timeLimit", new Slider("FOW Time Limit (SEC)", 20, 0, 120));
            BaseUltMenu.AddSeparator();
            BaseUltMenu.Add("nobaseult", new KeyBind("No BaseUlt while", false, KeyBind.BindTypes.HoldActive, 32));
            BaseUltMenu.AddSeparator();
            BaseUltMenu.Add("x", new Slider("Offset X", 0, -500, 500));
            BaseUltMenu.Add("y", new Slider("Offset Y", 0, -500, 500));
            BaseUltMenu.AddGroupLabel("BaseUlt+ Targets");
            foreach (var unit in HeroManager.Enemies)
            {
                BaseUltMenu.Add("target" + unit.ChampionName, new CheckBox(string.Format("{0} ({1})", unit.ChampionName, unit.Name)));
            }
            BaseUltMenu.AddGroupLabel("BaseUlt+ Credits");
            BaseUltMenu.AddLabel("By: LunarBlue");
            BaseUltMenu.AddLabel("Testing: FinnDev");

            // Initialize the Addon
            OfficialAddon.Initialize();

            // Listen to the two main events for the Addon
            Game.OnUpdate += args1 => OfficialAddon.OnUpdate();
            Drawing.OnEndScene += args1 => OfficialAddon.OnEndScene();
            Teleport.OnTeleport += OfficialAddon.OnTeleport;
        }
开发者ID:elosupport,项目名称:Korean,代码行数:35,代码来源:Program.cs

示例2: Init

        public static void Init()
        {
            Drawing.OnDraw += Drawing_OnDraw;

            WardjumpMenu = Program.menu.AddSubMenu("WardJump Settings", "wardJumpSettings");
            WardjumpMenu.AddGroupLabel("Wardjump Settings");
            var a = WardjumpMenu.Add("alwaysMax", new CheckBox("Always Jump To Max Range"));
            var b = WardjumpMenu.Add("onlyToCursor", new CheckBox("Always Jump To Cursor", false));
            a.OnValueChange += delegate { if (a.CurrentValue) b.CurrentValue = false; };
            b.OnValueChange += delegate { if (b.CurrentValue) a.CurrentValue = false; };
            WardjumpMenu.AddSeparator();
            WardjumpMenu.AddLabel("Time Modifications");
            WardjumpMenu.Add("checkTime", new Slider("Position Reset Time (ms)", 100, 1, 2000));
            WardjumpMenu.AddSeparator();
            WardjumpMenu.AddLabel("Keybind Settings");

            var wj = WardjumpMenu.Add("wardjumpKeybind",
                new KeyBind("WardJump", false, KeyBind.BindTypes.HoldActive, 'Z'));

            WardjumpMenu.Add("drawWJ", new CheckBox("Draw WardJump"));

            GameObject.OnCreate += GameObject_OnCreate;
            Game.OnTick += delegate
            {
                if (wj.CurrentValue)
                {
                    WardjumpActive = true;
                    WardJump(Game.CursorPos, a.CurrentValue, b.CurrentValue);
                    return;
                }
                WardjumpActive = false;
            };
        }
开发者ID:tingtop747,项目名称:Elobuddy-Addons,代码行数:33,代码来源:WardJumper.cs

示例3: Misc

 static Misc()
 {
     // Initialize the menu values
     Menu = Config.Menu.AddSubMenu("Misc");
     _drawQ = Menu.Add("drawQ", new CheckBox("Draw Q"));
     _drawW = Menu.Add("drawW", new CheckBox("Draw W"));
     _drawE = Menu.Add("drawE", new CheckBox("Draw E"));
     _drawR = Menu.Add("drawR", new CheckBox("Draw R"));
     Menu.AddSeparator();
     _ksQ = Menu.Add("ksQ", new CheckBox("KS with Q"));
     _ksR = Menu.Add("ksR", new CheckBox("KS with R"));
     Menu.AddSeparator();
     _useHeal = Menu.Add("useHeal", new CheckBox("Use Heal Smart"));
     _useQSS = Menu.Add("useQSS", new CheckBox("Use QSS"));
     Menu.AddSeparator();
     for (int i = 0; i < EntityManager.Heroes.Allies.Count; i++)
     {
         _useHealOn[i] = Menu.Add("useHeal" + i, new CheckBox("Use Heal to save " + EntityManager.Heroes.Allies[i].ChampionName));
     }
     Menu.AddSeparator();
     _useWOnGapcloser = Menu.Add("useWOnGapcloser", new CheckBox("Use W on Gapcloser", false));
     Menu.AddSeparator();
     _autolevelskills = Menu.Add("autolevelskills", new CheckBox("Autolevelskills"));
     _autoBuyStartingItems = Menu.Add("autoBuyStartingItems", new CheckBox("Autobuy Starting Items (SR only)"));
     Menu.AddSeparator();
     _useSkinHack = Menu.Add("useSkinHack", new CheckBox("Use Skinhack"));
     _skinId = Menu.Add("skinId", new Slider("Skin ID", 6, 1, 8));
 }
开发者ID:TopGunner,项目名称:EloBuddy,代码行数:28,代码来源:Config.cs

示例4: ComboMenuPage

 private static void ComboMenuPage()
 {
     ComboMenu = _myMenu.AddSubMenu("Combo settings", "Combo");
     ComboMenu.AddGroupLabel("Combo Ayarlarý:");
     ComboMenu.AddLabel("Q Kullan");
     foreach (var enemies in EntityManager.Heroes.Enemies.Where(i => !i.IsMe))
     {
         ComboMenu.Add("combo.Q" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName));
     }
     ComboMenu.AddSeparator();
     ComboMenu.Add("combo.E",
         new CheckBox("Kullan E"));
     ComboMenu.Add("combo.w",
         new CheckBox("Kullan W"));
   ComboMenu.Add("combo.R",
         new CheckBox("Kullan R"));
     ComboMenu.AddSeparator();
     ComboMenu.AddGroupLabel("Kombo özellikelri:");
    ComboMenu.Add("comboEQbind",
         new KeyBind("Kullan E + Q Büyüleri", false, KeyBind.BindTypes.HoldActive, 'Z'));
     ComboMenu.Add("combo.CC",
         new CheckBox("Kullan E CC"));
     ComboMenu.Add("combo.CCQ",
         new CheckBox("Kullan Q CC"));
     ComboMenu.Add("combo.CCW",
        new CheckBox("Kullan W CC"));
     ComboMenu.Add("combo.REnemies",
         new Slider("R için en az düþman", 1, 0, 5));
 }
开发者ID:,项目名称:,代码行数:29,代码来源:

示例5: Game_OnStart

        private static void Game_OnStart(EventArgs args)
        {
            Menu = MainMenu.AddMenu("BlackBuddy", "BlackBuddy");

            Menu.AddGroupLabel("Black Feeder EloBuddy");
            Menu.AddLabel("from woody with love <3");
            Menu.AddSeparator();
            Menu.AddLabel("V1.0");
            Menu.AddSeparator();
            Menu.AddLabel("clone from BlackFeeder");
            /*BlackBud = Menu.AddSubMenu("BlackBud", "BlackBud");
            BlackBud.AddGroupLabel("BlackBud Feeder");
            BlackBud.AddLabel("Mastery spam requires level 4+ on the champion to use!");
            BlackBud.AddLabel("Spamming emotes will reduce orbwalker efficency!");
            var EmoteSpamList = Emote.Add("Emote Spamming", new Slider("EmoteList", 0, 0, 3));
            EmoteSpamList.OnValueChange += delegate
            {
                EmoteSpamList.DisplayName = "Spamming " + new[] { "Laugh", "Taunt", "Joke", "Mastery" }
                [EmoteSpamList.CurrentValue];
            };
            Emote.Add("EmotePressHotkey", new KeyBind("Press To Spam", false, KeyBind.BindTypes.HoldActive, 'T'));
            Emote.Add("EmoteToggleHotkey", new KeyBind("Toggle To Spam", false, KeyBind.BindTypes.PressToggle, 'L'));
            */
            Game.OnUpdate += OnUpdate;
        }
开发者ID:cpanel10x,项目名称:helloBuddy,代码行数:25,代码来源:Program.cs

示例6: Loading_OnLoadingComplete

        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            TargetSelector2.init(null);
            Bootstrap.Init(null);

            Q = new Spell.Active(SpellSlot.Q);
            W = new Spell.Targeted(SpellSlot.W, 620); // reduced the range so it will rarely miss the combo

            AliMenu = MainMenu.AddMenu("NerdStar", "NerdStar");
            AliMenu.AddGroupLabel("NerdStar");
            AliMenu.AddSeparator();
            AliMenu.AddLabel("Nerd Series - Downloading More Ram");
            AliMenu.AddLabel("Berb @ EloBuddy");
            AliMenu.AddSeparator();
            AliMenu.AddLabel("What is this?");
            AliMenu.AddLabel("This is a very simple Alistar Combo addon. All it does it do the Q>W combo for you!");

            ComboMenu = AliMenu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("doCombo", new KeyBind("Do W+Q Combo", false, KeyBind.BindTypes.HoldActive, 'a'));

            MiscMenu = AliMenu.AddSubMenu("Misc", "Misc");
            MiscMenu.AddGroupLabel("Misc. Settings");
            MiscMenu.AddSeparator();
            MiscMenu.Add("interrupt", new CheckBox("Use Spells to Interrupt"));

            Game.OnTick += Game_OnTick;
            Interrupter.OnInterruptableSpell += StateHandler.Interrupter_OnInterruptableSpell;

            EloBuddy.Chat.Print("ALISTAR COMBO NÃO FUNCIONANDO DIREITO");
        }
开发者ID:Smilon,项目名称:AlistarCombo,代码行数:32,代码来源:Program.cs

示例7: LoadMenu

        public static void LoadMenu() //Menu
        {
            Bootstrap.Init(null);

            Menu = MainMenu.AddMenu("BaseUlt", "Baseult");
            Menu.AddGroupLabel("BaseUlt");
            Menu.AddLabel("Test");
            Menu.AddSeparator();

            Menu.Add("baseult", new CheckBox("Enable BaseUlt?"));
            Menu.Add("showrecall", new CheckBox("Show Recalls?"));
            Menu.Add("showallies", new CheckBox("Show Allies?"));
            Menu.Add("showenemies", new CheckBox("Show Enemies?"));
            Menu.Add("checkcollision", new CheckBox("Check Collision?"));
            Menu.AddSeparator();
            Menu.Add("timelimit", new Slider("Select FOW Time Limit (SEC)", 20, 0, 120));
            Menu.AddSeparator();
            Menu.Add("nobaseult", new KeyBind("No BaseUlt while", false, KeyBind.BindTypes.HoldActive, 32));
            Menu.AddSeparator();
            Menu.Add("x", new Slider("Offset X", 0, -500, 500));
            Menu.Add("y", new Slider("Offset Y", 0, -500, 500));
            Menu.AddGroupLabel("BaseUlt Targets");
            foreach (var unit in EntityManager.Heroes.Enemies)
            {
                Menu.Add("target" + unit.ChampionName, new CheckBox(string.Format("{0} ({1})", unit.ChampionName, unit.Name)));
            }
            Core.Initialize(); //Referenz to Core-Start
            Game.OnUpdate += args1 => Core.OnUpdate(); //Updating Core
            Drawing.OnEndScene += args1 => Core.OnEndScene(); //Updating Core at End of Game
            //Teleport.OnTeleport += Core.OnTeleport; //Updating Core at Teleport BUGGY
        }
开发者ID:IDI4b0l0,项目名称:EloBuddy,代码行数:31,代码来源:Program.cs

示例8: Loading_OnLoadingComplete

        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            //Menu
            BaseUltMenu = MainMenu.AddMenu("BaseUlt-3x", "BUP");
            BaseUltMenu.Add("baseult", new CheckBox("BaseUlt"));
            BaseUltMenu.Add("showrecalls", new CheckBox("Show Recalls"));
            BaseUltMenu.Add("checkcollision", new CheckBox("Check Collision"));
            BaseUltMenu.AddSeparator();
            BaseUltMenu.Add("timeLimit", new Slider("FOW Time Limit (SEC)", 0, 0, 120));
            BaseUltMenu.AddSeparator();
            BaseUltMenu.Add("nobaseult", new KeyBind("No BaseUlt while", false, KeyBind.BindTypes.HoldActive, 32));
            BaseUltMenu.AddSeparator();
            BaseUltMenu.AddGroupLabel("BaseUlt-3x Targets");
            foreach (var unit in EntityManager.Heroes.Enemies)
            {
                BaseUltMenu.Add("target" + unit.ChampionName,
                    new CheckBox(string.Format("{0} ({1})", unit.ChampionName, unit.Name)));
            }

            BaseUltMenu.AddGroupLabel("BaseUlt-3x - By BestAkaliAfrica");
            BaseUltMenu.AddLabel("Based on Roach_ version of LunarBlue Addon");
            BaseUltMenu.AddLabel("FinnDev, MrOwl, Beaving, DanThePman, Gabe2901");

            Chat.Print("<font color = \"#6B9FE3\">BaseUlt-3x</font><font color = \"#E3AF6B\"> by BestAkaliAfrica</font>. You like ? Buy me a coffee :p");
            // Initialize the Addon
            OfficialAddon.Initialize();

            // Listen to the two main events for the Addon
            Game.OnUpdate += args1 => OfficialAddon.Game_OnUpdate();
            Drawing.OnPreReset += args1 => OfficialAddon.Drawing_OnPreReset(args1);
            Drawing.OnPostReset += args1 => OfficialAddon.Drawing_OnPostReset(args1);
            Drawing.OnDraw += args1 => OfficialAddon.Drawing_OnDraw(args1);
            Teleport.OnTeleport += OfficialAddon.Teleport_OnTeleport;
        }
开发者ID:xTeKillax,项目名称:EloBuddy,代码行数:34,代码来源:Program.cs

示例9: Misc

 static Misc()
 {
     // Initialize the menu values
     Menu = Config.Menu.AddSubMenu("Misc");
     _drawQ = Menu.Add("drawQ", new CheckBox("Draw Q"));
     _drawW = Menu.Add("drawW", new CheckBox("Draw W"));
     _drawE = Menu.Add("drawE", new CheckBox("Draw E"));
     _drawR = Menu.Add("drawR", new CheckBox("Draw R"));
     Menu.AddSeparator();
     _useLoveTaps = Menu.Add("LoveTaps", new CheckBox("Use Love Taps"));
     Menu.AddSeparator();
     _ksQ = Menu.Add("ksQ", new CheckBox("Smart KS with Q"));
     _unkillableQ = Menu.Add("unkillableQ", new CheckBox("Use Q for Unkillable Minions in Harass and Lasthit"));
     Menu.AddSeparator();
     _useHeal = Menu.Add("useHeal", new CheckBox("Use Heal Smart"));
     _useQSS = Menu.Add("useQSS", new CheckBox("Use QSS"));
     Menu.AddSeparator();
     for (int i = 0; i < EntityManager.Heroes.Allies.Count; i++)
     {
         _useHealOn[i] = Menu.Add("useHeal" + i, new CheckBox("Use Heal to save " + EntityManager.Heroes.Allies[i].ChampionName));
     }
     Menu.AddSeparator();
     for (int i = 0; i < EntityManager.Heroes.Enemies.Count; i++)
     {
         _useQOn[i] = Menu.Add("useQ" + i, new CheckBox("Use Q on" + EntityManager.Heroes.Enemies[i].ChampionName));
     }
     Menu.AddSeparator();
     _autolevelskills = Menu.Add("autolevelskills", new CheckBox("Autolevelskills"));
     _autoBuyStartingItems = Menu.Add("autoBuyStartingItems", new CheckBox("Autobuy Starting Items (SR only)"));
     Menu.AddSeparator();
     _useSkinHack = Menu.Add("useSkinHack", new CheckBox("Use Skinhack"));
     _skinId = Menu.Add("skinId", new Slider("Skin ID", 7, 1, 9));
 }
开发者ID:TopGunner,项目名称:EloBuddy,代码行数:33,代码来源:Config.cs

示例10: Modes

            static Modes()
            {
                Menu = MenuManager.Menu.AddSubMenu("Modes");

                Combo.Initialize();
                Menu.AddSeparator();
                Harass.Initialize();
                Menu.AddSeparator();
                LastHit.Initialize();
                Menu.AddSeparator();
                LaneClear.Initialize();
                Menu.AddSeparator();
                JungleClear.Initialize();
                Menu.AddSeparator();

                Menu = MenuManager.Menu.AddSubMenu("Condemn");
                CondemnMenu = Menu;
                Condemn.Initialize();

                Menu = MenuManager.Menu.AddSubMenu("Misc");
                Misc.Initialize();

                Menu = MenuManager.Menu.AddSubMenu("Activator");
                ItemUsage.Initialize();

                Menu = MenuManager.Menu.AddSubMenu("Gosu");
                Gosu.Initialize();
            }
开发者ID:mrarticuno,项目名称:EBHQ,代码行数:28,代码来源:MenuManager.cs

示例11: ConfigMenu

 public ConfigMenu()
 {
     m_Menu = MainMenu.AddMenu("Orbwalking", "Orbwalking.Root");
     m_Menu.AddGroupLabel("Hotkeys");
     m_Menu.Add("Orbwalking.Root.blLastHit", new KeyBind("Last Hit", false, KeyBind.BindTypes.HoldActive, 'X'));
     m_Menu.Add("Orbwalking.Root.blHarass", new KeyBind("Harass", false, KeyBind.BindTypes.HoldActive, 'C'));
     m_Menu.Add("Orbwalking.Root.blLaneClear",new KeyBind("Lane Clear", false, KeyBind.BindTypes.HoldActive, 'V'));
     m_Menu.Add("Orbwalking.Root.blCombo", new KeyBind("Combo", false, KeyBind.BindTypes.HoldActive, 32));
     m_Menu.AddSeparator();
     m_Menu.AddGroupLabel("Misc");
     m_Menu.Add("Orbwalking.Misc.blAttackStructures", new CheckBox("Attack Structures"));
     m_Menu.Add("Orbwalking.Misc.blFocusNormalWhileTurret", new CheckBox("Focus mins. not focused by turret"));
     m_Menu.Add("Orbwalking.Misc.blSupportMode", new CheckBox("Support Mode", false));
     m_Menu.Add("Orbwalking.Misc.blDontAttackChampWhileLaneClear", new CheckBox("Dont attack champions while Lane Clear", false));
     m_Menu.Add("Orbwalking.Misc.blDisableAA", new CheckBox("Disable AutoAttack", false));
     m_Menu.Add("Orbwalking.Misc.blDontMoveMouseOver", new CheckBox("Mouse over hero to stop move", false));
     m_Menu.Add("Orbwalking.Misc.blMagnetMelee", new CheckBox("Magnet Target (Only Melee)"));
     m_Menu.Add("Orbwalking.Misc.iStickRange", new Slider("Stick Range", 390, 0, 600));
     m_Menu.Add("Orbwalking.Misc.blDontMoveInRange", new CheckBox("Dont move if enemy in AA range", false));
     m_Menu.AddSeparator();
     m_Menu.Add("Orbwalking.Misc.blLegitMode", new CheckBox("Legit Mode", false));
     m_Menu.Add("Orbwalking.Misc.iLegitPercent", new Slider("Make Me Legit %", 20));
     m_Menu.AddSeparator();
     m_Menu.AddGroupLabel("Drawings");
     m_Menu.Add("Orbwalking.Drawings.SelfAACircle", new CheckBox("Self AA Circle"));
     m_Menu.Add("Orbwalking.Drawings.EnemyAACircle", new CheckBox("Enemy AA Circle", false));
     m_Menu.Add("Orbwalking.Drawings.LastHitMinion", new CheckBox("Last Hitable Minion", false));
     m_Menu.Add("Orbwalking.Drawings.HoldZone", new CheckBox("Hold Zone", false));
     m_Menu.Add("Orbwalking.Drawings.iLineWidth", new Slider("Line Width", 2, 1, 6));
     m_Menu.AddSeparator();
     m_Menu.AddGroupLabel("Extra Settings");
     m_Menu.Add("Orbwalking.Root.iExtraWindup", new Slider("Extra Windup Time", 0, 0, 200));
     m_Menu.Add("Orbwalking.Root.iMovementDelay", new Slider("Movement Delay", 0, 0, 1000));
     m_Menu.Add("Orbwalking.Root.iHoldPosition", new Slider("Hold Radius", 0, 0, 112));
 }
开发者ID:CONANLXF,项目名称:AIO,代码行数:35,代码来源:ConfigMenu.cs

示例12: OnLoad

 internal static void OnLoad()
 {
     DefMenu = Load.UtliMenu.AddSubMenu("Defence Items");
     DefMenu.AddGroupLabel("Defence Settings");
     DefMenu.Add("Zhonyas", new CheckBox("Use Zhonyas", false));
     DefMenu.Add("Zhonyash", new Slider("Use Zhonyas health [{0}%]", 35));
     DefMenu.Add("Zhonyasn", new Slider("Use Zhonyas if incoming Damage more than [{0}%]", 50));
     DefMenu.AddSeparator();
     DefMenu.Add("Seraph", new CheckBox("Use Seraph", false));
     DefMenu.Add("Seraphh", new Slider("Use Seraph health [{0}%]", 45));
     DefMenu.Add("Seraphn", new Slider("Use Seraph if incoming Damage more than [{0}%]", 45));
     DefMenu.AddSeparator();
     DefMenu.Add("FaceOfTheMountain", new CheckBox("Use Face Of The Mountain", false));
     DefMenu.Add("FaceOfTheMountainh", new Slider("Use FOTM health [{0}%]", 50));
     DefMenu.Add("FaceOfTheMountainn", new Slider("Use FOTM if incoming Damage more than [{0}%]", 50));
     DefMenu.AddSeparator();
     DefMenu.Add("Solari", new CheckBox("Use Solari", false));
     DefMenu.Add("Solarih", new Slider("Use Solari health [{0}%]", 30));
     DefMenu.Add("Solarin", new Slider("Use Solari if incoming Damage more than [{0}%]", 35));
     DefMenu.AddSeparator();
     DefMenu.Add("Randuin", new CheckBox("Use Randuin", false));
     DefMenu.Add("Randuinh", new Slider("Use Randuin On X Enemies", 2, 1, 5));
     DefMenu.AddSeparator();
     DefMenu.AddGroupLabel("Zhonya Danger Spells");
     DefMenu.Add("ZhonyasD", new CheckBox("Deny Dangers Spells", false));
     Common.DamageHandler.OnLoad();
     Zhonya.OnLoad();
     loaded = true;
 }
开发者ID:FireBuddy,项目名称:karthus,代码行数:29,代码来源:Defensive.cs

示例13: Misc

 static Misc()
 {
     // Initialize the menu values
     Menu = Config.Menu.AddSubMenu("Misc");
     _drawW = Menu.Add("drawW", new CheckBox("Draw W"));
     Menu.AddSeparator();
     _ksW = Menu.Add("ksW", new CheckBox("Smart KS with W"));
     _useAutoW = Menu.Add("useAutoW", new CheckBox("use W automatically if"));
     Menu.Add("autoWMana", new Slider("mana > ({0}%)", 80));
     _useAutoE = Menu.Add("useAutoE", new CheckBox("use E"));
     Menu.AddSeparator();
     _useHeal = Menu.Add("useHeal", new CheckBox("Use Heal Smart"));
     _useQSS = Menu.Add("useQSS", new CheckBox("Use QSS"));
     Menu.AddSeparator();
     for (int i = 0; i < EntityManager.Heroes.Allies.Count; i++)
     {
         _useHealOn[i] = Menu.Add("useHeal" + i, new CheckBox("Use Heal to save " + EntityManager.Heroes.Allies[i].ChampionName));
     }
     Menu.AddSeparator();
     _autolevelskills = Menu.Add("autolevelskills", new CheckBox("Autolevelskills"));
     _autoBuyStartingItems = Menu.Add("autoBuyStartingItems", new CheckBox("Autobuy Starting Items (SR only)"));
     Menu.AddSeparator();
     _useSkinHack = Menu.Add("useSkinHack", new CheckBox("Use Skinhack"));
     _skinId = Menu.Add("skinId", new Slider("Skin ID", 7, 1, 8));
 }
开发者ID:v4ever1luv,项目名称:kid,代码行数:25,代码来源:Config.cs

示例14: Modes

            static Modes()
            {
                // Initialize the menu
                Menu = Config.Menu.AddSubMenu("CancerMode");

                // Initialize all modes
                // Combo
                Combo.Initialize();
                Menu.AddSeparator();

                // Harass
                Harass.Initialize();
                Menu.AddSeparator();

                // Laneclear
                Laneclear.Initialize();
                Menu.AddSeparator();
                
                // Killsteal
                Killsteal.Initialize();
                Menu.AddSeparator();
                
                // Drawings
                Drawings.Initialize();
            }
开发者ID:BEEBEEISADOG,项目名称:CancerBuddy,代码行数:25,代码来源:Config.cs

示例15: Game_OnStart

        private static void Game_OnStart(EventArgs args)
        {
            if (!Player.ChampionName.Contains("Nasus")) return;

            Bootstrap.Init(null);

            Q = new Spell.Active(SpellSlot.Q, 150);
            W = new Spell.Targeted(SpellSlot.W, 600);
            E = new Spell.Skillshot(SpellSlot.E, 650, SkillShotType.Circular);
            R = new Spell.Active(SpellSlot.R, 175);

            NasusMenu = MainMenu.AddMenu("Nasus", "dogeMenu");
            NasusMenu.AddGroupLabel("Nasus The Real Doge");
            NasusMenu.AddSeparator();
            NasusMenu.AddLabel("Version" + " 1.0.0.0");
            NasusMenu.AddSeparator();
            NasusMenu.AddLabel("Made by impressivekayle");

            ComboMenu = NasusMenu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("nasus.combo.q", new CheckBox("Use Q"));
            ComboMenu.Add("nasus.combo.w", new CheckBox("Use W"));
            ComboMenu.Add("nasus.combo.e", new CheckBox("Use E"));
            ComboMenu.Add("nasus.combo.r", new CheckBox("Use R"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("nasus.combo.count.r", new Slider("Minimum Champions in range for R", 2, 1, 5));
            ComboMenu.Add("nasus.combo.minHP.r", new Slider("Minimum HP% for R", 55, 1, 100));

            HarassMenu = NasusMenu.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("nasus.harass.e", new CheckBox("Use E"));
            HarassMenu.Add("nasus.minmana.harass", new Slider("Minimum mana to E", 55, 1, 100));

            ClearMenu = NasusMenu.AddSubMenu("Clear", "Clear");
            ClearMenu.AddGroupLabel("Clear Settings");
            ClearMenu.AddLabel("Lane Clear");
            ClearMenu.Add("nasus.lclear.q", new CheckBox("Use Q"));
            ClearMenu.Add("nasus.lclear.e", new CheckBox("Use E"));
            ClearMenu.AddSeparator();
            ClearMenu.AddLabel("Jungle Clear");
            ClearMenu.Add("nasus.jclear.q", new CheckBox("Use Q"));
            ClearMenu.Add("nasus.jclear.e", new CheckBox("Use E"));

            LasthitMenu = NasusMenu.AddSubMenu("Lasthit");
            LasthitMenu.AddGroupLabel("Lasthit");
            LasthitMenu.Add("nasus.lhit.q", new CheckBox("Use Q"));
            LasthitMenu.Add("nasus.minmana.lhit", new Slider("Minimum mana to Q", 30, 1, 100));

            MiscMenu = NasusMenu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Miscellaneous");
            MiscMenu.AddLabel("Anti Gap Closer");
            MiscMenu.Add("nasus.enable.antigap", new CheckBox("Enable Anti GapCloser"));
            // MiscMenu.Add("nasus.ignite", new CheckBox("Use Ignite for KS"));

            Game.OnUpdate += Game_OnUpdate;
            Gapcloser.OnGapcloser += GapCloser;
        }
开发者ID:impressivekayle,项目名称:Elobuddy-Addons,代码行数:57,代码来源:Program.cs


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