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


C# Menu.Add方法代码示例

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


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

示例1: Init

        public static void Init(Menu mainMenu)
        {
            MenuLocal = mainMenu.AddSubMenu("Lane", "Lane");
            {
                MenuLocal.Add("Lane.LaneQuick", new KeyBind("Fast Lane Clear Mode:", false, KeyBind.BindTypes.PressToggle, 'T'));
                MenuLocal.Add("Lane.UseQ", new ComboBox("Q Last Hit:", 1, "Off", "On"));

                string[] strW = new string[6];
                {
                    strW[0] = "Off";
                    for (var i = 1; i < 6; i++)
                    {
                        strW[i] = "If need to AA count >= " + (i + 3);
                    }
                    MenuLocal.Add("Lane.UseW", new ComboBox("W:", 4, strW));
                }

                MenuLocal.Add("Lane.UseE", new ComboBox("E:", 1, "Off", "On: Last hit"));
                MenuLocal.Add("Lane.Item", new ComboBox("Items:", 1, "Off", "On"));
                MenuLocal.Add("Lane.MinMana.Alone", new Slider("Min. Mana: I'm Alone %", 30, 0, 100));
                MenuLocal.Add("Lane.MinMana.Enemy", new Slider("Min. Mana: I'm NOT Alone (Enemy Close) %", 60));
            }

            Game.OnUpdate += OnUpdate;
        }
开发者ID:CONANLXF,项目名称:AIO,代码行数:25,代码来源:ModeLane.cs

示例2: CreateMenu

        /// <summary>
        ///     Creates the menu.
        /// </summary>
        public void CreateMenu()
        {
            buffMenu = this.Menu.AddSubMenu("Buff Stealing Settings", "BuffStealSettings");
            AddSpellsToMenu(buffMenu, "BuffSteal");
            buffMenu.Add("StealBlueBuff", new CheckBox("Steal Blue Buff"));
            buffMenu.Add("StealRedBuff", new CheckBox("Steal Red Buff"));
            buffMenu.Add("StealAllyBuffs", new CheckBox("Steal Ally Buffs", false));

            objectiveMenu = this.Menu.AddSubMenu("Objective Stealing Settings", "ObjectiveStealSettings");
            AddSpellsToMenu(objectiveMenu, "ObjectiveSteal");
            objectiveMenu.Add("StealBaron", new CheckBox("Steal Baron"));
            objectiveMenu.Add("StealDragon", new CheckBox("Steal Dragon"));
            objectiveMenu.Add("SmartObjectiveSteal", new CheckBox("Smart Objective Steal"));
            objectiveMenu.Add("StealObjectiveKeyBind", new KeyBind("Steal Objectives", false, KeyBind.BindTypes.HoldActive, 90));

            ksMenu = this.Menu.AddSubMenu("Kill Stealing Settings", "KillStealingSettings");
            ksMenu.AddGroupLabel("KS Champs : ");
            HeroManager.Enemies.ForEach(x => ksMenu.Add("KS" + x.ChampionName, new CheckBox("KS : " + x.ChampionName)));
            AddSpellsToMenu(ksMenu, "KS");
            ksMenu.Add("DontStealOnCombo", new CheckBox("Dont Steal if Combo'ing"));

            miscMenu = this.Menu.AddSubMenu("Miscellaneous Settings", "MiscSettings");
            miscMenu.Add("ETALimit", new Slider("Missile Arrival Time Limit (MS)", 3000, 0, 15000));
            miscMenu.Add("DistanceLimit", new Slider("Distance Limit", 5000, 0, 15000));
            miscMenu.Add("StealFOW", new CheckBox("Steal in FOW", false));
            miscMenu.Add("DrawADPS", new CheckBox("Draw Average DPS"));
        }
开发者ID:CainWolf,项目名称:PortAIO,代码行数:30,代码来源:Config.cs

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

示例4: Init

        public static void Init(Menu nParentMenu)
        {
            MenuCastSettings = nParentMenu.AddSubMenu("Spell Cast:", "MenuSettings.CastDelay");
            {
                string[] strQ = new string[1000/250];
                for (float i = 250; i <= 1000; i += 250)
                {
                    strQ[(int) (i/250 - 1)] = (i/1000) + " sec. ";
                }
                MenuCastSettings.Add("Settings.SpellCast.VisibleDelay", new ComboBox("Cast Delay: Instatly Visible Enemy", 2, strQ));
                MenuCastSettings.Add("Settings.SpellCast.Default", new CheckBox("Load Recommended Settings"))
                    .OnValueChange += (sender, args) =>
                    {
                        if (args.NewValue)
                        {
                            LoadDefaultCastDelaySettings();
                        }
                    };
            }

            MenuHitchanceSettings = nParentMenu.AddSubMenu("Hitchance:", "MenuSettings.Hitchance");
            {
                string[] nHitchanceList = new[] { "Medium", "High", "VeryHigh" };

                MenuHitchanceSettings.Add("MenuSettings.Hitchance.Q", new ComboBox("Q Hitchance:", 1, nHitchanceList));
                MenuHitchanceSettings.Add("MenuSettings.Hitchance.W", new ComboBox("W Hitchance:", 1, nHitchanceList));
                MenuHitchanceSettings.Add("MenuSettings.Hitchance.E", new ComboBox("E Hitchance:", 1, nHitchanceList));
                MenuHitchanceSettings.Add("MenuSettings.Hitchance.R", new ComboBox("R Hitchance:", 1, nHitchanceList));
            }
        }
开发者ID:yMeliodasNTD,项目名称:PortAIO,代码行数:30,代码来源:CommonSettings.cs

示例5: Generate

        public static void Generate()
        {
            Variables.Menu = MainMenu.AddMenu("iLucian", "com.ilucian");

            comboOptions = Variables.Menu.AddSubMenu(":: iLucian - Combo Options", "com.ilucian.combo");
            comboOptions.Add("com.ilucian.combo.q", new CheckBox("Use Q", true));
            comboOptions.Add("com.ilucian.combo.qExtended", new CheckBox("Use Extended Q", true));
            comboOptions.Add("com.ilucian.combo.w", new CheckBox("Use W", true));
            comboOptions.Add("com.ilucian.combo.e", new CheckBox("Use E", true));
            comboOptions.Add("com.ilucian.combo.eMode", new ComboBox("E Mode", 0, "Kite", "Side", "Cursor", "Enemy"));

            harassOptions = Variables.Menu.AddSubMenu(":: iLucian - Harass Options", "com.ilucian.harass");
            harassOptions.Add("com.ilucian.harass.q", new CheckBox("Use Q", true));
            harassOptions.Add("com.ilucian.harass.qExtended", new CheckBox("Use Extended Q", true));
            harassOptions.Add("com.ilucian.harass.w", new CheckBox("Use W", true));

            laneclearOptions = Variables.Menu.AddSubMenu(":: iLucian - Laneclear Options", "com.ilucian.laneclear");
            laneclearOptions.Add("com.ilucian.laneclear.q", new CheckBox("Use Q", true));
            laneclearOptions.Add("com.ilucian.laneclear.qMinions", new Slider("Cast Q on x minions", 3, 1, 10));

            miscOptions = Variables.Menu.AddSubMenu(":: iLucian - Misc Options", "com.ilucian.misc");
            miscOptions.Add("com.ilucian.misc.usePrediction", new CheckBox("Use W Pred", true));
            miscOptions.Add("com.ilucian.misc.gapcloser", new CheckBox("Use E For Gapcloser", true));
            miscOptions.Add("com.ilucian.misc.eqKs", new CheckBox("EQ - Killsteal", true));
        }
开发者ID:Xelamats,项目名称:PortAIO,代码行数:25,代码来源:MenuGenerator.cs

示例6: Init

        public static void Init(Menu mainMenu)
        {
            MenuLocal = mainMenu.AddSubMenu("Lane", "Lane");
            {
                string[] strQ = new string[6];
                {
                    strQ[0] = "Off";
                    strQ[1] = "Just for out of AA range";
                    for (var i = 2; i < 6; i++)
                    {
                        strQ[i] = "Minion Count >= " + i;
                    }
                    MenuLocal.Add("Lane.UseQ", new ComboBox("Q:", 1, strQ));
                    MenuLocal.Add("Lane.UseQ.Mode", new ComboBox("Q: Cast Mode:", 1, "Cast for Hit", "Cast for Kill"));
                }

                string[] strW = new string[6];
                {
                    strW[0] = "Off";
                    for (var i = 1; i < 6; i++)
                    {
                        strW[i] = "If need to AA count >= " + (i + 3);
                    }
                    MenuLocal.Add("Lane.UseW", new ComboBox("W:", 1, strW));
                }

                MenuLocal.Add("Lane.UseE", new ComboBox("E:", 1, "Off", "On: Last hit", "On: Health Prediction", "Both"));

                MenuLocal.Add("Lane.Item", new ComboBox("Items:", 1, "Off", "On"));
            }

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

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

示例8: Load

        public void Load()
        {
            _mainMenu = MainMenu.AddMenu("The Cheater", "thecheater");
            var detectionType = _mainMenu.Add("detection", new ComboBox("Detection", 0, "Preferred", "Safe", "AntiHumanizer"));
            detectionType.OnValueChange += (sender, args) =>
            {
                foreach (var detector in _detectors)
                {
                    detector.Value.ForEach(item => item.ApplySetting((DetectorSetting)args.NewValue));
                }
            };
            _mainMenu.Add("enabled", new CheckBox("Enabled"));
            _mainMenu.Add("drawing", new CheckBox("Drawing"));

            var posX = _mainMenu.Add("positionx", new Slider("Position X", Drawing.Width - 270, 0, Drawing.Width - 20));
            var posY = _mainMenu.Add("positiony", new Slider("Position Y", Drawing.Height / 2, 0, Drawing.Height - 20));

            posX.OnValueChange += (sender, args) => _screenPos.X = args.NewValue;
            posY.OnValueChange += (sender, args) => _screenPos.Y = args.NewValue;

            _screenPos.X = posX.Cast<Slider>().CurrentValue;
            _screenPos.Y = posY.Cast<Slider>().CurrentValue;

            Obj_AI_Base.OnNewPath += OnNewPath;
            Drawing.OnDraw += Draw;
        }
开发者ID:CONANLXF,项目名称:AIO,代码行数:26,代码来源:TheCheater.cs

示例9: LoadMenu

        public static void LoadMenu()
        {
            Menu = MainMenu.AddMenu("iTwitch 2.0", "com.itwitch");

            comboOptions = Menu.AddSubMenu("iTwitch 2.0 - Combo", "com.itwitch.combo");
            comboOptions.Add("com.itwitch.combo.useW", new CheckBox("Use W", true));
            comboOptions.Add("com.itwitch.combo.useEKillable", new CheckBox("Use E Killable", true));

            harassOptions = Menu.AddSubMenu("iTwitch 2.0 - Harass", "com.itwitch.harass");
            harassOptions.Add("com.itwitch.harass.useW", new CheckBox("Use W", true));
            harassOptions.Add("com.itwitch.harass.useEKillable", new CheckBox("Use E", true));

            miscOptions = Menu.AddSubMenu("iTwitch 2.0 - Misc", "com.itwitch.misc");
            miscOptions.Add("com.itwitch.misc.autoYo", new CheckBox("Youmuus with R", true));
            miscOptions.Add("com.itwitch.misc.noWTurret", new CheckBox("Don't W Under Tower", true));
            miscOptions.Add("com.itwitch.misc.noWAA", new Slider("No W if x aa can kill", 2, 0, 10));
            miscOptions.Add("com.itwitch.misc.saveManaE", new CheckBox("Save Mana for E", true));
            miscOptions.Add("com.itwitch.misc.recall", new KeyBind("Stealth Recall", false, KeyBind.BindTypes.HoldActive, 'T'));

            drawOptions = Menu.AddSubMenu("iTwitch 2.0 - Drawing", "com.itwitch.drawing");
            drawOptions.Add("com.itwitch.drawing.drawERange", new CheckBox("Draw E Range", true));
            drawOptions.Add("com.itwitch.drawing.drawRRange", new CheckBox("Draw R Range", true));
            drawOptions.Add("com.itwitch.drawing.drawQTime", new CheckBox("Draw Q Time", true));
            drawOptions.Add("com.itwitch.drawing.drawEStacks", new CheckBox("Draw E Stacks", true));
            drawOptions.Add("com.itwitch.drawing.drawEStackT", new CheckBox("Draw E Stack Time", true));
            drawOptions.Add("com.itwitch.drawing.drawRTime", new CheckBox("Draw R Time", true));
            drawOptions.Add("com.itwitch.drawing.eDamage", new CheckBox("Draw E Damage on Enemies", true));
        }
开发者ID:yashine59fr,项目名称:PortAIO-1,代码行数:28,代码来源:Twitch.cs

示例10: ComboMenu

 public override bool ComboMenu(Menu config)
 {
     config.Add("Combo.UseQ", new ComboBox("Use Q", 1, "Off", "Tumble to Mouse Cursor", "Just Complete 3rd Silver Buff Mark", "Marksman Settings"));
     config.Add("UseEC", new ComboBox("Use E", 1, "Off", "On", "Just Selected Target"));
     config.Add("FocusW", new CheckBox("Force Focus Marked Enemy"));
     return true;
 }
开发者ID:CONANLXF,项目名称:AIO,代码行数:7,代码来源:Vayne.cs

示例11: EarlyEvade

        public EarlyEvade()
        {
            this.Load();

            EE = root.AddSubMenu("Early Evade", "EarlyEvade");
            EE.Add("Enabled", new CheckBox("Enabled"));
            EE.Add("drawline", new CheckBox("Draw Line"));
            EE.Add("drawtext", new CheckBox("Draw Text"));

            foreach (var e in HeroManager.Enemies)
            {
                foreach (var eList in this.EarlyList)
                {
                    if (eList.ChampionName == e.ChampionName)
                    {
                        EE.Add(eList.ChampionName + eList.SpellName, new CheckBox(eList.ChampionName + eList.SpellName));
                    }

                    if (e.ChampionName == "Vayne")
                    {
                        EE.Add("VayneE", new CheckBox("Vayne E"));
                    }
                }
            }

            Drawing.OnDraw += Drawing_OnDraw;
        }
开发者ID:yashine59fr,项目名称:PortAIO-1,代码行数:27,代码来源:EarlyEvade.cs

示例12: Init

        public static void Init(Menu ParentMenu)
        {
            MenuLocal = ParentMenu.AddSubMenu("Flee", "Flee");
            {
                MenuLocal.Add("Flee.UseW", new CheckBox("W:"));
                MenuLocal.Add("Flee.UseR", new CheckBox("R:"));
                MenuLocal.Add("Flee.DrawMouse", new CheckBox("Show Mouse Cursor Position:"));
            }

            Game.OnUpdate += OnUpdate;
            Drawing.OnDraw += delegate(EventArgs args)
            {
                if (!Modes.ModeDraw.MenuLocal["Draw.Enable"].Cast<CheckBox>().CurrentValue)
                {
                    return;
                }

                if (!PortAIO.OrbwalkerManager.isFleeActive)
                {
                    return;
                }

                if (MenuLocal["Flee.DrawMouse"].Cast<CheckBox>().CurrentValue)
                {
                    Render.Circle.DrawCircle(Game.CursorPos, 150f, System.Drawing.Color.Red);
                }
            };
        }
开发者ID:yashine59fr,项目名称:PortAIO-1,代码行数:28,代码来源:ModeFlee.cs

示例13: Load

        public static void Load()
        {
            ks = Menu.AddSubMenu("KillSteal", "KillSteal");
            ks.Add("SpellsKS", new CheckBox("KS Spells"));
            ks.Add("ComboSmite", new CheckBox("Smite"));
            ks.Add("ComboIgnite", new CheckBox("Ignite"));

            jngl = Menu.AddSubMenu("Jungle", "Jungle");
            jngl.Add("jnglQ", new Slider("Use Javelin Mana %", 15, 0, 100));
            jngl.Add("jnglHeal", new Slider("Auto Heal", 15, 0, 95));

            heal = Menu.AddSubMenu("Heal", "Heal Manager");
            heal.Add("allyHeal", new Slider("Heal Allies Hp <= %", 45, 0, 80));
            heal.Add("SelfHeal", new Slider("Self Heal Hp <= %", 80, 0, 90));
            heal.Add("ManaHeal", new Slider("Mana <= %", 20, 0, 100));

            misc = Menu.AddSubMenu("Misc", "Misc");
            misc.Add("Gapcloser", new CheckBox("Gapcloser"));
            misc.Add("manaW", new Slider("Use W Mana %", 15, 0, 100));

            draw = Menu.AddSubMenu("Draw", "Draw");
            draw.Add("dind", new CheckBox("Draw damage indicator"));
            draw.Add("EngageDraw", new CheckBox("Engage Range"));
            draw.Add("fleeDraw", new CheckBox("Draw Flee Spots"));

            flee = Menu.AddSubMenu("Flee", "Flee");
            flee.Add("FleeMouse", new KeyBind("Flee (BETA)", false, KeyBind.BindTypes.HoldActive, 'A'));
        }
开发者ID:yMeliodasNTD,项目名称:PortAIO,代码行数:28,代码来源:MenuConfig.cs

示例14: DrawingMenu

 public override bool DrawingMenu(Menu config)
 {
     config.Add("DrawQ", new CheckBox("Q range"));//.SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255))));
     config.Add("DrawW", new CheckBox("W range"));//.SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255))));
     config.Add("DrawE", new CheckBox("E range"));//.SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255))));
     return true;
 }
开发者ID:yashine59fr,项目名称:PortAIO,代码行数:7,代码来源:Gnar.cs

示例15: LoadOKTW

        public static void LoadOKTW()
        {
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 980);
            W = new LeagueSharp.Common.Spell(SpellSlot.W, 1000);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, 1200);
            R = new LeagueSharp.Common.Spell(SpellSlot.R, 1800);

            Q.SetSkillshot(0.25f, 50f, 2000f, true, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.25f, 120f, 1400f, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(1.2f, 120f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            qMenu = Config.AddSubMenu("Q Config");
            qMenu.Add("autoQ", new CheckBox("Auto Q", true));
            qMenu.Add("harrasQ", new CheckBox("Harass Q", true));

            eMenu = Config.AddSubMenu("E Config");
            eMenu.Add("autoE", new CheckBox("Auto E", true));
            eMenu.Add("HarrasE", new CheckBox("Harass E", true));
            eMenu.Add("AGC", new CheckBox("AntiGapcloserE", true));

            wMenu = Config.AddSubMenu("W Config");
            wMenu.Add("autoW", new CheckBox("Auto W", true));
            wMenu.Add("harasW", new CheckBox("Harass W on max range", true));

            rMenu = Config.AddSubMenu("R Config");
            rMenu.Add("autoR", new CheckBox("Auto R", true));
            rMenu.Add("RmaxHp", new Slider("Target max % HP", 50, 0, 100));
            rMenu.Add("comboStack", new Slider("Max combo stack R", 2, 0, 10));
            rMenu.Add("harasStack", new Slider("Max haras stack R", 1, 0, 10));
            rMenu.Add("Rcc", new CheckBox("R cc", true));
            rMenu.Add("Rslow", new CheckBox("R slow", true));
            rMenu.Add("Raoe", new CheckBox("R aoe", true));
            rMenu.Add("Raa", new CheckBox("R only out off AA range", false));

            drawMenu = Config.AddSubMenu("Drawings");
            drawMenu.Add("ComboInfo", new CheckBox("R killable info", true));
            drawMenu.Add("qRange", new CheckBox("Q range", false));
            drawMenu.Add("wRange", new CheckBox("W range", false));
            drawMenu.Add("eRange", new CheckBox("E range", false));
            drawMenu.Add("rRange", new CheckBox("R range", false));
            drawMenu.Add("onlyRdy", new CheckBox("Draw only ready spells", true));

            miscMenu = Config.AddSubMenu("Misc Config");
            miscMenu.Add("sheen", new CheckBox("Sheen logic", true));
            miscMenu.Add("AApriority", new CheckBox("AA priority over spell", true));

            farmMenu = Config.AddSubMenu("Farm Config");
            farmMenu.Add("farmW", new CheckBox("LaneClear W", true));
            farmMenu.Add("farmE", new CheckBox("LaneClear E", true));
            farmMenu.Add("LCminions", new Slider("LaneClear minimum minions", 2, 0, 10));
            farmMenu.Add("Mana", new Slider("LaneClear Mana", 80, 0, 100));
            farmMenu.Add("jungleW", new CheckBox("Jungle clear W", true));
            farmMenu.Add("jungleE", new CheckBox("Jungle clear E", true));

            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            LSEvents.BeforeAttack += BeforeAttack;
            LSEvents.AfterAttack += afterAttack;
            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
        }
开发者ID:yashine59fr,项目名称:PortAIO-1,代码行数:60,代码来源:KogMaw.cs


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