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


C# Menu.AddSubMenu方法代码示例

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


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

示例1: Initialize

        public static void Initialize()
        {
            Menu = MainMenu.AddMenu("ElVladimir:Reborn", "menu");

            comboMenu = Menu.AddSubMenu("Combo", "Combo");
            comboMenu.Add("ElVladimir.Combo.Q", new CheckBox("Use Q"));
            comboMenu.Add("ElVladimir.Combo.W", new CheckBox("Use W", false));
            comboMenu.Add("ElVladimir.Combo.E", new CheckBox("Use E"));
            comboMenu.Add("ElVladimir.Combo.R", new CheckBox("Use R"));
            comboMenu.Add("ElVladimir.Combo.SmartUlt", new CheckBox("Use Smartult"));
            comboMenu.Add("ElVladimir.Combo.Count.R", new Slider("R when >= target", 2, 2, 5));
            comboMenu.Add("ElVladimir.Combo.R.Killable", new CheckBox("Use R only when killable"));
            comboMenu.Add("ElVladimir.Combo.Ignite", new CheckBox("Use ignite"));

            harassMenu = Menu.AddSubMenu("Harass", "Harass");
            harassMenu.Add("ElVladimir.Harass.Q", new CheckBox("Use Q"));
            harassMenu.Add("ElVladimir.Harass.E", new CheckBox("Use E"));

            clearMenu = Menu.AddSubMenu("Waveclear", "Waveclear");
            clearMenu.Add("ElVladimir.WaveClear.Q", new CheckBox("Use Q"));
            clearMenu.Add("ElVladimir.WaveClear.E", new CheckBox("Use E"));
            clearMenu.Add("ElVladimir.JungleClear.Q", new CheckBox("Use Q in jungle"));
            clearMenu.Add("ElVladimir.JungleClear.E", new CheckBox("Use E in jungle"));
            clearMenu.Add("ElVladimir.WaveClear.Health.E", new Slider("Minimum health for E", 20));

            miscMenu = Menu.AddSubMenu("Misc", "Misc");
            miscMenu.Add("ElVladimir.Draw.off", new CheckBox("Turn drawings off", false));
            miscMenu.Add("ElVladimir.Draw.Q", new CheckBox("Draw Q"));
            miscMenu.Add("ElVladimir.Draw.W", new CheckBox("Draw W"));
            miscMenu.Add("ElVladimir.Draw.E", new CheckBox("Draw E"));
            miscMenu.Add("ElVladimir.Draw.R", new CheckBox("Draw R"));
            miscMenu.Add("ElVladimir.Draw.Text", new CheckBox("Draw Text"));

            Console.WriteLine("Menu Loaded");
        }
开发者ID:yashine59fr,项目名称:PortAIO-1,代码行数:35,代码来源:ElVladimirMenu.cs

示例2: InitializeMenu

        public static void InitializeMenu()
        {
            MenuPrincipal = MainMenu.AddMenu("Hoola Riven", "hoola");
            ComboMenu = MenuPrincipal.AddSubMenu("Combo Settings");
            ComboMenu.Add("Burst",
                new KeyBind("Burst", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));
            ComboMenu.Add("FastHarass",
                new KeyBind("Fast Harass", false, KeyBind.BindTypes.HoldActive, "Y".ToCharArray()[0]));
            ComboMenu.Add("AlwaysR",
                new KeyBind("Always Use R (Toggle)", false, KeyBind.BindTypes.PressToggle, "H".ToCharArray()[0]));
            ComboMenu.Add("UseHoola",
                new KeyBind("Use Hoola Combo Logic (Toggle)", true, KeyBind.BindTypes.PressToggle, "L".ToCharArray()[0]));
            ComboMenu.Add("ComboW", new CheckBox("Always use W"));
            ComboMenu.Add("RKillable", new CheckBox("Use R when the target is killable"));

            LaneClear = MenuPrincipal.AddSubMenu("Clear Settings");
            LaneClear.Add("LaneQ", new CheckBox("Use Q"));
            LaneClear.Add("LaneW", new Slider("Use W in X minions", 5, 0, 5));
            LaneClear.Add("LaneE", new CheckBox("Use E"));

            MiscMenu = MenuPrincipal.AddSubMenu("Misc Settings");
            MiscMenu.Add("youmuu", new CheckBox("Use Youmuus when E"));
            MiscMenu.Add("FirstHydra", new CheckBox("Flash burst Hydra before W"));
            MiscMenu.Add("Qstrange", new CheckBox("Strange Q"));
            MiscMenu.Add("Winterrupt", new CheckBox("W to interrupt spells"));
            MiscMenu.Add("AutoW", new Slider("Auto W when x enemies", 5, 0, 5));
            MiscMenu.Add("RMaxDam", new CheckBox("Use second R for max damage"));
            MiscMenu.Add("killstealw", new CheckBox("KillSteal with W"));
            MiscMenu.Add("killstealr", new CheckBox("KillSteal with second R"));
            MiscMenu.Add("AutoShield", new CheckBox("Auto E Shield"));
            MiscMenu.Add("Shield", new CheckBox("Auto E in lasthit mode"));
            MiscMenu.Add("KeepQ", new CheckBox("Keep Q alive"));
            MiscMenu.Add("QD", new Slider("First and second Q Delay", Game.Ping));
            MiscMenu.Add("QLD", new Slider("Third Q Delay", Game.Ping));
        }
开发者ID:roaxtreil,项目名称:EBRepo,代码行数:35,代码来源:HoolaMenu.cs

示例3: setupMenu

        static void setupMenu()
        {
            BaseMenu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
            BaseMenu.Add("enable", new CheckBox("Enable Autochat"));

            GreetingMenu = BaseMenu.AddSubMenu("Greeting Message", "greetingmessage");
            GreetingMenu.Add("sayGreeting", new CheckBox("Say Greeting"));
            GreetingMenu.Add("sayGreetingAllChat", new CheckBox("Say Greeting In All Chat"));
            GreetingMenu.AddSeparator();
            GreetingMenu.Add("sayGreetingDelayMin", new Slider("Min Greeting Delay", 3, 1, 5));
            GreetingMenu.Add("sayGreetingDelayMax", new Slider("Max Greeting Delay", 6, 5, 10));

            OptionsMenu = BaseMenu.AddSubMenu("Message Options", "messageoptions");
            OptionsMenu.Add("sayCongratulate", new CheckBox("Congratulate"));
            OptionsMenu.Add("sayMotivate", new CheckBox("Motivate"));
            OptionsMenu.Add("sayApology", new CheckBox("Apologize"));
            OptionsMenu.Add("saySympathy", new CheckBox("Sympathetic"));
            OptionsMenu.Add("sayHonor", new CheckBox("Honor Opponents"));
            OptionsMenu.AddSeparator();
            OptionsMenu.Add("sayMessageDelayMin", new Slider("Min Message Delay", 2, 1, 3));
            OptionsMenu.Add("sayMessageDelayMax", new Slider("Max Message Delay", 6, 3, 10));
            OptionsMenu.Add("sayMessageInterval", new Slider("Minimum Interval between messages", 180, 1, 600));

            EndGameMenu = BaseMenu.AddSubMenu("EndGame Message", "endgamemessage");
            EndGameMenu.Add("sayEndGame", new CheckBox("Say EndGame Message"));
            EndGameMenu.Add("sayEndGameAllChat", new CheckBox("Say EndGame Message In All Chat"));
        }
开发者ID:ScharfM,项目名称:EloBuddy,代码行数:27,代码来源:Program.cs

示例4: Game_OnStart

        private static void Game_OnStart(EventArgs args)
        {
            QSS = new Item(ItemId.Quicksilver_Sash);
            if (Game.MapId == GameMapId.CrystalScar) { Mercurial = new Item(ItemId.Dervish_Blade); }
            else { Mercurial = new Item(ItemId.Mercurial_Scimitar); }

            Menu = MainMenu.AddMenu("Auto QSS", "autoqss");
            CC = Menu.AddSubMenu("QSS Manager", "qsmg");
            Ult = Menu.AddSubMenu("Ults Manager", "ults");

            Menu.Add("keybind", new KeyBind("Auto QSS", false, KeyBind.BindTypes.PressToggle, 'L'));
            Menu.Add("drawk", new CheckBox("Draw Keybind"));
            Menu.Add("buffduration", new Slider("Min duration to QSS", 0, 0, 4));
            Menu.Add("minbuff", new Slider("Min buffs to QSS", 1, 1, 4));

            Menu.AddLabel("(You can increase / decrease the min buffs without pressing shift)");
            Menu.AddSeparator();
            var a = Menu.Add("increase", new KeyBind("Increase the min buffs to QSS", false, KeyBind.BindTypes.HoldActive, 'J'));
            var b = Menu.Add("decrease", new KeyBind("Decrease the min buffs to QSS", false, KeyBind.BindTypes.HoldActive, 'N'));
            a.OnValueChange += delegate
            (ValueBase<bool> sender, ValueBase<bool>.ValueChangeArgs Aargs)
            {
                if (Aargs.NewValue)
                {
                    Menu["minbuff"].Cast<Slider>().CurrentValue++;
                }
            };
            b.OnValueChange += delegate
            (ValueBase<bool> sender, ValueBase<bool>.ValueChangeArgs Aargs)
            {
                if (Aargs.NewValue)
                {
                    Menu["minbuff"].Cast<Slider>().CurrentValue--;
                }
            };
            CC.AddGroupLabel("Auto QSS if :");
            CC.Add("Taunt", new CheckBox("Taunt"));
            CC.Add("Stun", new CheckBox("Stun"));
            CC.Add("Snare", new CheckBox("Snare"));
            CC.Add("Polymorph", new CheckBox("Polymorph"));
            CC.Add("Blind", new CheckBox("Blind", false));
            CC.Add("Fear", new CheckBox("Fear"));
            CC.Add("Charm", new CheckBox("Charm"));
            CC.Add("Suppression", new CheckBox("Suppression"));
            CC.Add("Silence", new CheckBox("Silence", false));
            CC.Add("CCDelay", new Slider("Delay for CC", 400, 0, 2000));

            Ult.AddGroupLabel("Ults");
            Ult.Add("ZedUlt", new CheckBox("Zed Ult"));
            Ult.Add("VladUlt", new CheckBox("Vlad Ult"));
            Ult.Add("FizzUlt", new CheckBox("Fizz Ult"));
            Ult.Add("MordUlt", new CheckBox("Mordekaiser Ult"));
            Ult.Add("PoppyUlt", new CheckBox("Poppy Ult"));
            Ult.Add("UltDelay", new Slider("Delay for Ults", 1000, 0, 3000));


            Obj_AI_Base.OnBuffGain += OnBuffGain;
            Obj_AI_Base.OnBuffLose += OnBuffLose;
            Drawing.OnDraw += Game_OnDraw;
        }
开发者ID:alvothefirst,项目名称:EloBuddy,代码行数:60,代码来源:AutoQSS.cs

示例5: Loading_OnLoadingComplete

        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            Hacks.AntiAFK = true;
            Bootstrap.Init(null);
            myMana = ObjectManager.Player.Mana;
            _Flash = new Spell.Active(SpellSlot.Summoner1, 425);
            _Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear);
            _W = new Spell.Skillshot(SpellSlot.W, 550, SkillShotType.Linear);
            _E = new Spell.Skillshot(SpellSlot.E, 290, SkillShotType.Circular);
            _R = new Spell.Targeted(SpellSlot.R, 675);

            Menu = MainMenu.AddMenu("The Shadow", "theshadow");
            Menu.AddGroupLabel("The Shadow");
            Menu.AddLabel("By Buddy");
            Menu.AddSeparator();
            Menu.AddLabel("VERS=0.2BETA RELEASE 1");

            ComboMenu = Menu.AddSubMenu("Combo Menu", "combomenu");

            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useQ", new CheckBox("Use Q"));
            ComboMenu.Add("useW", new CheckBox("Use W"));
            ComboMenu.Add("useE", new CheckBox("Use E"));
            ComboMenu.Add("useR", new CheckBox("Use R"));

            DrawMenu = Menu.AddSubMenu("Drawings Menu", "drawingsmenu");

            DrawMenu.AddGroupLabel("Drawings Menu");
            DrawMenu.Add("drawQ", new CheckBox("Draw Q"));
            DrawMenu.Add("drawW", new CheckBox("Draw W"));
            DrawMenu.Add("drawE", new CheckBox("Draw E"));
            DrawMenu.Add("drawR", new CheckBox("Draw R"));
            DrawMenu.Add("drawText", new CheckBox("Draw Text"));
            DrawMenu.Add("drawFlash", new CheckBox("Draw Flash"));

            HarassMenu = Menu.AddSubMenu("Harass Menu", "harassmenu");

            HarassMenu.AddGroupLabel("Harass Menu");
            HarassMenu.Add("hUseQ", new CheckBox("Use Q"));
            HarassMenu.Add("hUseW", new CheckBox("Use W"));
            HarassMenu.Add("hUseE", new CheckBox("Use E"));
            
            FarmMenu = Menu.AddSubMenu("Farm Menu", "farmmenu");

            FarmMenu.AddLabel("Wave Clear");
            FarmMenu.Add("fwUseQ", new CheckBox("Use Q"));
            FarmMenu.Add("fwUseE", new CheckBox("Use E"));

            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("Last Hit");
            FarmMenu.Add("flUseQ", new CheckBox("Use Q"));
            FarmMenu.Add("flUseE", new CheckBox("Use E"));
            
            Game.OnTick += Game_OnTick;
            Drawing.OnDraw += Draw.OnDraw;

            Chat.Print("<font color='#00FF00'>The Shadow by Buddy Loaded</font>");
            Chat.Print("<font color='#00FF00'>VERS=</font><font color='#ffffff'>0.2BETA RELEASE 1</font>");
        }
开发者ID:HeheheM,项目名称:EloBuddy-2,代码行数:60,代码来源:Program.cs

示例6: Load

        public static void Load()
        {
            Menu = MainMenu.AddMenu("Swiftly Teemo", "Teemo");

            comboMenu = Menu.AddSubMenu("Combo", "ComboMenu");
            comboMenu.Add("KillStealSummoner", new CheckBox("KillSecure Ignite", true));
            comboMenu.Add("TowerCheck", new CheckBox("Don't Combo Under Turret", true));

            laneMenu = Menu.AddSubMenu("Lane", "LaneMenu");
            laneMenu.Add("LaneQ", new CheckBox("Last Hit Q AA", true));

            drawMenu = Menu.AddSubMenu("Draw", "Draw");
            drawMenu.Add("dind", new CheckBox("Damage Indicator", true));
            drawMenu.Add("EngageDraw", new CheckBox("Draw Engage", true));
            drawMenu.Add("DrawR", new CheckBox("Draw R Prediction"));

            Menu.Add("Flee", new KeyBind("Flee", false, KeyBind.BindTypes.HoldActive, 'Z'));

            KillStealSummoner = getCheckBoxItem(comboMenu, "KillStealSummoner");
            TowerCheck = getCheckBoxItem(comboMenu, "TowerCheck");
            LaneQ = getCheckBoxItem(laneMenu, "LaneQ");
            Dind = getCheckBoxItem(drawMenu, "dind");
            EngageDraw = getCheckBoxItem(drawMenu, "EngageDraw");
            Flee = getKeyBindItem(Menu, "Flee");
            DrawR = getCheckBoxItem(drawMenu, "DrawR");
        }
开发者ID:yashine59fr,项目名称:PortAIO,代码行数:26,代码来源:MenuConfig.cs

示例7: Initialize

        public static void Initialize()
        {
            Menu = MainMenu.AddMenu("ElSinged", "menu");

            cMenu = Menu.AddSubMenu("Combo", "Combo");
            cMenu.Add("ElSinged.Combo.Q", new CheckBox("Use Q"));
            cMenu.Add("ElSinged.Combo.W", new CheckBox("Use W"));
            cMenu.Add("ElSinged.Combo.E", new CheckBox("Use E"));
            cMenu.Add("ElSinged.Combo.R", new CheckBox("Use R"));
            cMenu.Add("ElSinged.Combo.R.Count", new Slider("Use R enemies >= ", 2, 1, 5));
            cMenu.Add("ElSinged.Combo.Ignite", new CheckBox("Use Ignite"));

            hMenu = Menu.AddSubMenu("Harass", "Harass");
            hMenu.Add("ElSinged.Harass.Q", new CheckBox("Use Q"));
            hMenu.Add("ElSinged.Harass.W", new CheckBox("Use W"));
            hMenu.Add("ElSinged.Harass.E", new CheckBox("Use E"));

            lcMenu = Menu.AddSubMenu("Laneclear", "Laneclear");
            lcMenu.Add("ElSinged.Laneclear.Q", new CheckBox("Use Q"));
            lcMenu.Add("ElSinged.Laneclear.E", new CheckBox("Use E"));

            miscMenu = Menu.AddSubMenu("Drawings", "Misc");
            miscMenu.Add("ElSinged.Draw.off", new CheckBox("Turn drawings off", false));
            miscMenu.Add("ElSinged.Draw.Q", new CheckBox("Draw Q")); //.SetValue(new Circle()));
            miscMenu.Add("ElSinged.Draw.W", new CheckBox("Draw W")); //.SetValue(new Circle()));
            miscMenu.Add("ElSinged.Draw.E", new CheckBox("Draw E")); //.SetValue(new Circle()));
            miscMenu.Add("DontOffQ", new CheckBox("Do not turn off Q", false));
            miscMenu.Add("ElSinged.Misc.QRange", new Slider("Q Search Range", 1000, 1000, 6000)); //.SetValue(new Circle()));

            Console.WriteLine("Menu Loaded");
        }
开发者ID:yMeliodasNTD,项目名称:PortAIO,代码行数:31,代码来源:ElSingedMenu.cs

示例8: Loading_OnLoadingComplete

        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Annie")
                return;

            Q = new Spell.Targeted(SpellSlot.Q, 625);
            W = new Spell.Skillshot(SpellSlot.W, 625, SkillShotType.Cone, 250, int.MaxValue, 210);
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Skillshot(SpellSlot.R, 600, SkillShotType.Circular, 50, int.MaxValue, 250);

            #region Menu
            Menu = MainMenu.AddMenu("AnnieAnnie", "annieannie");
            Menu.AddGroupLabel("AnnieAnnie X" + Version);
            Menu.AddSeparator();
            Menu.AddLabel("Made By Triexplys");

            SkillMenu = Menu.AddSubMenu("Skills", "Skills");
            SkillMenu.AddGroupLabel("Skills");
            SkillMenu.AddLabel("Combo");
            SkillMenu.Add("Qcombo", new CheckBox("Use Q on Combo"));
            SkillMenu.Add("Wcombo", new CheckBox("Use W on Combo"));
            SkillMenu.Add("Ecombo", new CheckBox("Use E on Combo"));
            SkillMenu.Add("Rcombo", new CheckBox("Use R on Combo"));
            SkillMenu.AddLabel("Harass");
            SkillMenu.Add("Qharass", new CheckBox("Use Q on Harass"));
            SkillMenu.Add("Wharass", new CheckBox("Use W on Harass"));
            SkillMenu.Add("manaLane", new Slider("Mana % To Use Q", 30));
            SkillMenu.Add("manaLane", new Slider("Mana % To Use W", 30));
            SkillMenu.AddLabel("LastHit");
            SkillMenu.Add("Qlast", new CheckBox("Use Q on LastHit"));
            SkillMenu.Add("manaLast", new Slider("Mana % To Use Q", 30));
            SkillMenu.AddLabel("LaneClear");
            SkillMenu.Add("Qlane", new CheckBox("Use Q on LaneClear"));
            SkillMenu.Add("Wlane", new CheckBox("Use W on LaneClear"));
            SkillMenu.Add("manaLane", new Slider("Mana % To Use Q", 30));
            SkillMenu.Add("manaLane", new Slider("Mana % To Use W", 30));

            MiscMenu = Menu.AddSubMenu("Misc", "Misc");
            MiscMenu.AddGroupLabel("Misc");
            MiscMenu.AddLabel("KillSteal");
            MiscMenu.Add("Qks", new CheckBox("Use Q KillSteal"));
            MiscMenu.Add("Rks", new CheckBox("Use R KillSteal"));
            MiscMenu.AddLabel("Ult Manager");
            MiscMenu.Add("Rks", new CheckBox("Use R KillSteal"));

            DrawMenu = Menu.AddSubMenu("Draw", "Draw");
            DrawMenu.AddGroupLabel("Draw");
            DrawMenu.AddLabel("Draw");
            DrawMenu.Add("Qdraw", new CheckBox("Draw Q"));
            DrawMenu.Add("Wdraw", new CheckBox("Draw W"));
            DrawMenu.Add("Edraw", new CheckBox("Draw E"));
            DrawMenu.Add("Rdraw", new CheckBox("Draw R"));
            DrawMenu.Add("drawWhenReady", new CheckBox("Draw When SKills Are Ready"));
            #endregion Menu

            Game.OnTick += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
            Orbwalker.OnPreAttack += Orbwalker_OnPreAttack;

        }
开发者ID:fkoc1992,项目名称:Triexplys,代码行数:60,代码来源:Program.cs

示例9: Game_OnGameStart

        public static void Game_OnGameStart(EventArgs args)
        {
            Chat.Print("<font color='#1D84B4'>LTTS-Kassadin: </font> <font color ='#FFFFFF'>Loading...</font> ");
            Chat.Print("<font color='#1D84B4'>LTTS-Kassadin: </font> <font color ='#FFFFFF'>Loading complete.</font> ");

            if(MyPlayer.ChampionName != "Kassadin")
            {
                Chat.Print("<font color='#1D84B4'>LTTS-Kassadin:</font> <font color ='#FFFFFF'> This champion is not supported.</font>");
            }

            Q = new Spell.Targeted(SpellSlot.Q, 650);
            W = new Spell.Active(SpellSlot.W, 200);
            E = new Spell.Skillshot(SpellSlot.E, 700, SkillShotType.Cone, 250, int.MaxValue, 80);
            R = new Spell.Skillshot(SpellSlot.R, 500, SkillShotType.Circular, 250, int.MaxValue, 150);

            Menu = MainMenu.AddMenu("LTTS Kassadin", "MainMenuLTS");
            Menu.AddGroupLabel("LTTS Kassadin - Version " + Version);
            Menu.AddLabel("This is my first addon, any bugs please report for me. Enjoy it.");

            DrawMenu = Menu.AddSubMenu("Draws Menu", "DrawMenuLTS");
            DrawMenu.Add("DrawQ", new CheckBox("Draw Q Range", false));
            DrawMenu.Add("DrawW", new CheckBox("Draw W Range", false));
            DrawMenu.Add("DrawE", new CheckBox("Draw E Range", false));
            DrawMenu.Add("DrawR", new CheckBox("Draw R Range", false));

            FarmMenu = Menu.AddSubMenu("Farm Menu", "FarmMenuLTS");
            FarmMenu.AddGroupLabel("LaneClear");
            FarmMenu.Add("UseQLC", new CheckBox("Use Q", true));
            FarmMenu.Add("UseWLC", new CheckBox("Use W", true));
            FarmMenu.Add("UseELC", new CheckBox("Use E", true));
            FarmMenu.AddGroupLabel("LastHit");
            FarmMenu.Add("UseQLH", new CheckBox("Use Q", true));
            FarmMenu.Add("UseWLH", new CheckBox("Use W", true));
            FarmMenu.Add("UseELH", new CheckBox("Use E", true));
        }
开发者ID:Lottsz,项目名称:LTTS-Lotts,代码行数:35,代码来源:Program.cs

示例10: Load

        public static void Load()
        {
            fMenu = MainMenu.AddMenu("FeederBuddy", "feederbuddy");

            fMenu.AddGroupLabel("FeederBuddy - Darakath");
            fMenu.AddLabel("A lot of code is taken from blacky's BlackFeeder :^)");
            fMenu.AddSeparator();
            fMenu.Add("FeedingActivated", new CheckBox("Feeding Activated"));
            fMenu.Add("FeedingMode", new Slider("FeedMode: (0-Mid, 1-Bot, 2-Top, 3-Random)", 0, 0, 3));

            feMenu = fMenu.AddSubMenu("Feeding", "feedingmenu");
            feMenu.AddLabel("Feeding Options");
            feMenu.Add("SpellsActivated", new CheckBox("Spells Activated"));
            feMenu.Add("MessagesActivated", new CheckBox("Messages Activated"));
            feMenu.Add("LaughActivated", new CheckBox("Laugh Activated"));
            feMenu.Add("ItemsActivated", new CheckBox("Items Activated"));
            feMenu.Add("AttacksDisabled", new CheckBox("Disable auto attacks"));

            miscMenu = fMenu.AddSubMenu("Misc", "MiscMenu");
            miscMenu.AddLabel("Miscellaneous Options");
            miscMenu.Add("SurrenderActivated", new CheckBox("Auto Surrender Activated"));

            Entry.Menu = fMenu;
            Entry.FeedMenu = feMenu;
            Entry.MiscMenu = miscMenu;
        }
开发者ID:Enochen,项目名称:EloBuddy,代码行数:26,代码来源:InitializeMenu.cs

示例11: StartMenu

        public static void StartMenu()
        {
            Brand = MainMenu.AddMenu("Branddy", "branddy");
            Brand.AddLabel("Brand add-on by selluvia");
            Brand.AddLabel("Version 0.1 Beta");

            ComboMenu = Brand.AddSubMenu("Combo", "combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useQ", new CheckBox("Use Q"));
            ComboMenu.Add("useW", new CheckBox("Use W"));
            ComboMenu.Add("useE", new CheckBox("Use E"));
            ComboMenu.Add("useR", new CheckBox("Use R"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("smartQ", new CheckBox("Use Smart Q"));

            HarassMenu = Brand.AddSubMenu("Harass", "harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("UseWharass", new CheckBox("Use W"));
            HarassMenu.Add("UseEharass", new CheckBox("Use E"));
            HarassMenu.Add("manam", new Slider("Min. mana to harass", 40, 0, 100));

            KS = Brand.AddSubMenu("KS Options", "ks");
            KS.AddGroupLabel("KillSteal Settings");
            KS.Add("useigniteks", new CheckBox("Use Ignite"));
            KS.Add("useqks", new CheckBox("Use Q"));
            KS.Add("usewks", new CheckBox("Use W"));
            KS.Add("userks", new CheckBox("Use R"));

            Draw = Brand.AddSubMenu("Drawing", "draw");
            Draw.AddGroupLabel("Drawing Settings");
            Draw.Add("drawQ", new CheckBox("Draw Q", true));
            Draw.Add("drawW", new CheckBox("Draw W", true));
            Draw.Add("drawE", new CheckBox("Draw E", true));
            Draw.Add("drawR", new CheckBox("Draw R", true));
        }
开发者ID:selluvia,项目名称:EloBuddyAddons,代码行数:35,代码来源:Menu.cs

示例12: SpellTester

        public SpellTester()
        {
            menu = new Menu("Spell Tester", "DummySpellTester", true);

            selectSpellMenu = new Menu("Select Spell", "SelectSpellMenu");
            menu.AddSubMenu(selectSpellMenu);

            Menu setSpellPositionMenu = new Menu("Set Spell Position", "SetPositionMenu");
            setSpellPositionMenu.AddItem(new MenuItem("SetDummySpellStartPosition", "Set Start Position").SetValue(false));
            setSpellPositionMenu.AddItem(new MenuItem("SetDummySpellEndPosition", "Set End Position").SetValue(false));
            setSpellPositionMenu.Item("SetDummySpellStartPosition").ValueChanged += OnSpellStartChange;
            setSpellPositionMenu.Item("SetDummySpellEndPosition").ValueChanged += OnSpellEndChange;

            menu.AddSubMenu(setSpellPositionMenu);

            Menu fireDummySpellMenu = new Menu("Fire Dummy Spell", "FireDummySpellMenu");
            fireDummySpellMenu.AddItem(new MenuItem("FireDummySpell", "Fire Dummy Spell Key").SetValue(new KeyBind('O', KeyBindType.Press)));

            fireDummySpellMenu.AddItem(new MenuItem("SpellInterval", "Spell Interval").SetValue(new Slider(2500, 0, 5000)));

            menu.AddSubMenu(fireDummySpellMenu);

            menu.AddToMainMenu();

            LoadSpellDictionary();

            Game.OnUpdate += Game_OnGameUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
        }
开发者ID:hup3s,项目名称:Elobuddy-Addons,代码行数:29,代码来源:SpellTester.cs

示例13: 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

示例14: Initialize

        public static void Initialize()
        {
            // Addon Menu
            ProtectorLeonaMenu = MainMenu.AddMenu("ProtectorLeona", "ProtectorLeona");
            ProtectorLeonaMenu.AddGroupLabel("Protector Leona");
            ProtectorLeonaMenu.AddLabel("Çevirmen TRAdana");

            // Combo Menu
            ComboMenu = ProtectorLeonaMenu.AddSubMenu("Kombo", "ComboFeatures");
            ComboMenu.AddGroupLabel("Kombo Ayarları");
            ComboMenu.AddLabel("Büyüler");
            ComboMenu.Add("Qcombo", new CheckBox("Kullan Q"));
            ComboMenu.Add("Wcombo", new CheckBox("Kullan W"));
            ComboMenu.Add("Ecombo", new CheckBox("Kullan E"));
            ComboMenu.Add("Rcombo", new CheckBox("Kullan R"));
            ComboMenu.AddSeparator(1);
            ComboMenu.Add("Rlimit", new Slider("Düşmana R kullanmak için gerekli sayı", 2, 1, 5));

            // Harass Menu
            HarassMenu = ProtectorLeonaMenu.AddSubMenu("Dürtme", "HarassFeatures");
            HarassMenu.AddGroupLabel("Dürtme Ayarları");
            HarassMenu.AddLabel("Büyüler");
            HarassMenu.Add("Qharass", new CheckBox("Kullan Q"));
            HarassMenu.Add("Eharass", new CheckBox("Kullan E"));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Mharass", new Slider("Dürtme için en az mana %", 25));

            // Drawing Menu
            DrawingMenu = ProtectorLeonaMenu.AddSubMenu("Gösterge", "DrawingFeatures");
            DrawingMenu.AddGroupLabel("Gösterge Ayarları");
            DrawingMenu.Add("Udraw", new CheckBox("Gösterme Modu"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Büyüler");
            DrawingMenu.Add("Qdraw", new CheckBox("Göster Q", false));
            DrawingMenu.Add("Wdraw", new CheckBox("Göster W", false));
            DrawingMenu.Add("Edraw", new CheckBox("Göster E"));
            DrawingMenu.Add("Rdraw", new CheckBox("Göster R"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Skin Değiştirici");
            DrawingMenu.Add("Udesign", new CheckBox("Skin Değiştirici", false));
            DrawingMenu.Add("Sdesign", new Slider("Skin Numarası: ", 4, 0, 8));

            // Setting Menu
            SettingMenu = ProtectorLeonaMenu.AddSubMenu("Ayarlar", "Settings");
            SettingMenu.AddGroupLabel("Ayarlar");
            SettingMenu.AddLabel("Otomatik Level Yükseltme");
            SettingMenu.Add("Ulevel", new CheckBox("Otomatik Level Yükseltme"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Otomatik Atak Modu");
            SettingMenu.Add("Aattack", new CheckBox("AA Kullan"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Interrupter");
            SettingMenu.Add("Uinterrupt", new CheckBox("Interrupt Mode"));
            SettingMenu.Add("Qinterrupt", new CheckBox("İnterrupt için Q"));
            SettingMenu.Add("Rinterrupt", new CheckBox("İnterrupt için R"));
            SettingMenu.AddLabel("Gap Closer");
            SettingMenu.Add("Ugapc", new CheckBox("Gap Closer Mode"));
            SettingMenu.Add("Qgapc", new CheckBox("Gapcloser için  Q"));
        }
开发者ID:,项目名称:,代码行数:59,代码来源:

示例15: MenuDesigner

        static MenuDesigner()
        {
            // Black Swan Akali :: Main Menu
            AkaliUI = MainMenu.AddMenu(MenuName, MenuName.ToLower());
            AkaliUI.AddGroupLabel("As balance dictates.");
            AkaliUI.AddSeparator();
            AkaliUI.AddLabel("Geliştirici    :   Enelx");
            AkaliUI.AddLabel("Versiyon          :   1.1.0.0");
            AkaliUI.AddLabel("Çeviri TRAdana");

            // Black Swan Akali :: Combo Menu
            ComboUI = AkaliUI.AddSubMenu("Kombo");
            ComboUI.AddGroupLabel("Kombo :: Büyüleri");
            ComboUI.Add("ComboQ", new CheckBox("Kullan Q"));
            ComboUI.Add("ComboW", new CheckBox("Kullan W"));
            ComboUI.Add("ComboE", new CheckBox("Kullan E"));
            ComboUI.Add("ComboR", new CheckBox("Kullan R"));

            // Black Swan Akali :: Harass Menu
            HarassUI = AkaliUI.AddSubMenu("Harass");
            HarassUI.AddGroupLabel("Dürtme :: Büyüleri");
            HarassUI.Add("HarassQ", new CheckBox("Kullan Q"));

            // Black Swan Akali :: Clear Menu
            ClearUI = AkaliUI.AddSubMenu("Clear");
            ClearUI.AddGroupLabel("SonVuruş :: Büyüleri");
            ClearUI.Add("LastQ", new CheckBox("Kullan Q"));
            ClearUI.Add("LastE", new CheckBox("Kullan E", false));
            ClearUI.AddSeparator();
            ClearUI.AddGroupLabel("LaneTemizleme :: Büyüleri / Ayarları");
            ClearUI.Add("ClearQ", new CheckBox("Kullan Q"));
            ClearUI.Add("ClearE", new CheckBox("Kullan E"));
            ClearUI.Add("ClearEmin", new Slider("E için en az minyon", 2, 1, 6));
            ClearUI.Add("ClearMana", new Slider("en az enerji  %", 25, 0, 100));
            ClearUI.AddSeparator();
            ClearUI.AddGroupLabel("Jungle Clear :: Spells / Settings");
            ClearUI.Add("JungleQ", new CheckBox("Kullan Q"));
            ClearUI.Add("JungleE", new CheckBox("Kullan E"));
            ClearUI.Add("JungleMana", new Slider("en az enerji. %", 10, 0, 100));

            // Black Swan Akali :: Killsteal Menu
            KsUI = AkaliUI.AddSubMenu("Kill Çalma");
            KsUI.AddGroupLabel("Kill Çalma :: Büyüleri");
            KsUI.Add("KsQ", new CheckBox("Kullan Q"));
            KsUI.Add("KsR", new CheckBox("Kullan R"));

            // Black Swan Akali :: Misc Menu
            MiscUI = AkaliUI.AddSubMenu("Misc");
            MiscUI.AddGroupLabel("Ek :: Ayarlar");
            MiscUI.Add("GapR", new CheckBox("AntiGapcloser için R"));
            MiscUI.Add("FleeW", new CheckBox("Kaçarken W Kullan"));
            MiscUI.AddSeparator();
            MiscUI.AddGroupLabel("Ek :: İtemler");
            MiscUI.Add("UseItems", new CheckBox("Use Agressive Items"));
            MiscUI.AddSeparator();
            MiscUI.AddGroupLabel("Ek :: Gösterge");
            MiscUI.Add("DrawQ", new CheckBox("Göster Q"));
            MiscUI.Add("DrawR", new CheckBox("Göster R"));
        }
开发者ID:,项目名称:,代码行数:59,代码来源:


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