• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Orbwalking.Orbwalker类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



Orbwalking.Orbwalker类属于LeagueSharp.Common命名空间,在下文中一共展示了Orbwalking.Orbwalker类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: Game_OnGameLoad

        private static void Game_OnGameLoad(EventArgs args)
        {
            EQDrawList = new List<Vector3>();
            Player = ObjectManager.Player;
            if (Player.ChampionName != ChampionName) return;
            Q = new Spell(SpellSlot.Q, 700f);
            Q.SetSkillshot(0.5f, 70f, float.MaxValue, false, SkillshotType.SkillshotLine);

            W = new Spell(SpellSlot.W, 300f);

            E = new Spell(SpellSlot.E, 830f);
            E.SetSkillshot(0.5f, 70f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            Config = new Menu("J4Helper", "J4Helper", true);
            //Orbwalker
            Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
            Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking"));

            //Misc
            Config.AddSubMenu(new Menu("Keys", "Keys"));
            Config.SubMenu("Keys")
                .AddItem(
                    new MenuItem("EQMouse", "EQ to Mouse").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press)));
            Config.AddToMainMenu();
            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Game.PrintChat("J4Helper Loaded.");
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
        }
开发者ID:AlrikSharp,项目名称:LeagueSharp,代码行数:28,代码来源:J4.cs


示例2: OnMenu

        public override void OnMenu()
        {
            menu.AddToMainMenu();

            menu.SubMenu(name).SubMenu("Combo").AddItem(new MenuItem("ComboQ", "UseQ", true).SetValue(true));
            menu.SubMenu(name).SubMenu("Combo").AddItem(new MenuItem("ComboW", "UseW", true).SetValue(false));
            menu.SubMenu(name).SubMenu("Combo").AddItem(new MenuItem("ComboE", "UseE", true).SetValue(true));
            menu.SubMenu(name).SubMenu("Combo").AddItem(new MenuItem("ComboR", "UseR", true).SetValue(true));

            menu.SubMenu(name).SubMenu("Harass").AddItem(new MenuItem("HarassQ", "UseQ", true).SetValue(true));
            menu.SubMenu(name).SubMenu("Harass").AddItem(new MenuItem("HarassE", "UseE", true).SetValue(true));

            menu.SubMenu(name).SubMenu("LaneClear").AddItem(new MenuItem("LaneClearQ", "UseQ", true).SetValue(false));
            menu.SubMenu(name).SubMenu("LaneClear").AddItem(new MenuItem("LaneClearE", "UseE", true).SetValue(false));

            menu.SubMenu(name).SubMenu("JungleClear").AddItem(new MenuItem("JungleClearQ", "UseQ", true).SetValue(true));
            menu.SubMenu(name).SubMenu("JungleClear").AddItem(new MenuItem("JungleClearE", "UseE", true).SetValue(true));

            menu.SubMenu(name).SubMenu("Creadits : kywooo");

            var movingMenu = new Menu("OrbWalker", "orbWalker", true);
            moving = new Orbwalking.Orbwalker(movingMenu);
            menu.SubMenu(name).AddSubMenu(movingMenu);

            var TargetMenu = new Menu("TargetSelector", "targetselector", true);
            TargetSelector.AddToMenu(TargetMenu);
            menu.SubMenu(name).AddSubMenu(TargetMenu);
        }
开发者ID:VlitaminSharp,项目名称:Vlitamin,代码行数:28,代码来源:Tristana.cs


示例3: OnGameLoad

        private static void OnGameLoad(EventArgs e)
        {
            if (Player.ChampionName != "Kalista")
            {
                return;
            }

            Q = new Spell(SpellSlot.Q, 1130);
            W = new Spell(SpellSlot.W, 5200);
            E = new Spell(SpellSlot.E, 1000);
            R = new Spell(SpellSlot.R, 1400f);

            Q.SetSkillshot(0.25f, 30f, 1700f, true, SkillshotType.SkillshotLine);

            Text = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Arial", Height = 35, Width = 12, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.Default });
            root = new Menu("HastaKalistaBaby", "hkalista", true);
            draw = new Menu("Drawings Settings", "drawing");
            Orbwalker = new Orbwalking.Orbwalker(root.SubMenu("Orbwalker Settings"));

            MenuManager.Create();
            DamageIndicator.Init(Damage.GetEdamage);
            ee = new EarlyEvade();
            AutoLevel.Init();
            Game.OnUpdate += OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Base.OnProcessSpellCast += Helper.OnProcessSpellCast;
            Spellbook.OnCastSpell += Helper.OnCastSpell;

        }
开发者ID:Faqer,项目名称:Leaguesharp-2,代码行数:29,代码来源:Program.cs


示例4: Load

        internal static void Load()
        {
            //Menu principal
            Menu = new Menu("[Fenix] AIO", "By: Maskov", true);
            Orbwalker = new Orbwalking.Orbwalker(Menu.AddSubMenu(new Menu(Player.ChampionName + ": Orbwalker", "Orbwalker")));
            TargetSelector.AddToMenu(Menu.AddSubMenu(new Menu(Player.ChampionName + ": Target Selector", "Target Selector")));
            Menu.AddSubMenu(new Menu(Player.ChampionName + ": Drawings", "Drawings"));
            Menu.SubMenu("Drawings").AddItem(new MenuItem("drawingTarget", "AA Target").SetValue(true));

            Menu.AddToMainMenu();
            //Menu - FIM

            Utilidades.Autolevelup.Load();
            Utilidades.SharedExperience.Load();
            Utilidades.HbTracker.Load();
            Utilidades.MActivator.Load();
            Utilidades.Evade.Evade.Load();

            if (Player.ChampionName == "Vayne")
            {
                Champions.Vayne.Load();
            }
            if (Player.ChampionName == "Kalista")
            {
                Champions.Kalista.Load();
            }
        }
开发者ID:Maskov,项目名称:LeagueSharp,代码行数:27,代码来源:FenixMain.cs


示例5: CreateMenu

        public void CreateMenu()
        {
            Config = new Menu("Vicroious Blitzcrank", "menu", true).SetFontStyle(System.Drawing.FontStyle.Regular, SharpDX.Color.GreenYellow);
            Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking"));

            Config.SubMenu("Q option").AddItem(new MenuItem("minGrab", "Min range grab", true).SetValue(new Slider(450, 125, (int)Q.Range)));
            Config.SubMenu("Q option").AddItem(new MenuItem("maxGrab", "Max range grab", true).SetValue(new Slider((int)Q.Range, 125, (int)Q.Range)));
            Config.SubMenu("Q option").AddItem(new MenuItem("qTur", "Auto Q under turret", true).SetValue(false));

            foreach (var enemy in ObjectManager.Get<Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team))
                Config.SubMenu("Q option").SubMenu("Grab").AddItem(new MenuItem("grab" + enemy.ChampionName, enemy.ChampionName).SetValue(true));

            Config.SubMenu("R option").AddItem(new MenuItem("rCount", "Auto R if enemies in range", true).SetValue(new Slider(3, 0, 5)));
            Config.SubMenu("R option").AddItem(new MenuItem("afterGrab", "Auto R after grab", true).SetValue(true));
            Config.SubMenu("R option").AddItem(new MenuItem("afterAA", "Auto R befor AA", true).SetValue(true));
            Config.SubMenu("R option").AddItem(new MenuItem("inter", "OnPossibleToInterrupt", true)).SetValue(true);
            Config.SubMenu("R option").AddItem(new MenuItem("Gap", "OnEnemyGapcloser", true)).SetValue(true);

            Config.SubMenu("Draw").AddItem(new MenuItem("qRange", "Q range", true).SetValue(false));
            Config.SubMenu("Draw").AddItem(new MenuItem("rRange", "R range", true).SetValue(false));
            Config.SubMenu("Draw").AddItem(new MenuItem("onlyRdy", "Draw when skill rdy", true).SetValue(true));

            Config.AddItem(new MenuItem("autoW", "Auto W", true).SetValue(true));
            Config.AddItem(new MenuItem("autoE", "Auto E", true).SetValue(true));

            Config.AddToMainMenu();

            Game.OnUpdate += Game_OnGameUpdate;
            Orbwalking.BeforeAttack += BeforeAttack;
            Orbwalking.AfterAttack += afterAttack;
            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
        }
开发者ID:VictoriousSupport,项目名称:VictoriousSeries,代码行数:35,代码来源:Blitzcrank.cs


示例6: Game_OnGameLoad

        static void Game_OnGameLoad(EventArgs args)
        {
            if (Player.ChampionName != "Heimerdinger")
            {
                return;
            }

            Q = new Spell(SpellSlot.Q, 50);
            W = new Spell(SpellSlot.W, 1075);
            E = new Spell(SpellSlot.E, 920);
            R = new Spell(SpellSlot.R);

            W.SetSkillshot(.25f, 40, 2500, true, SkillshotType.SkillshotLine);
            E.SetSkillshot(.25f, 120, 1000, false, SkillshotType.SkillshotCircle);

            Config = new Menu("HeisenDonger", "HeisenDonger", true);

            var targetSelectorMenu = new Menu("Target Selector", "Target Selector");
            TargetSelector.AddToMenu(targetSelectorMenu);
            Config.AddSubMenu(targetSelectorMenu);

            Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
            Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking"));
            Config.AddSubMenu(new Menu("Logic+Spacebar=win :^)", "kappa"));
            Config.AddToMainMenu();   //who needs a menu when you're busy memeing :^)

            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
            Game.OnUpdate += Game_OnUpdate;
        }
开发者ID:blm95,项目名称:LeagueSharp2,代码行数:30,代码来源:Program.cs


示例7: LoadAssembly

        public void LoadAssembly()
        {
            //Initilize Menus
            Menus.HumanizerMenu _HumanizerMenu = new Menus.HumanizerMenu();
            Menus.MinonsMenu _MinonsMenu = new Menus.MinonsMenu();
            Menus.ItemsMenu _ItemsMenu = new Menus.ItemsMenu();
            Menus.TrinketMenu _TrinketMenu = new Menus.TrinketMenu();
            Menus.LevelMenu _LevelMenu = new Menus.LevelMenu();
            Menus.ChampionMenu _ChampMenu = new Menus.ChampionMenu();

            //Load Data
            _Champion.Player = ObjectManager.Player;
            //Load Menus into SMenu
            _HumanizerMenu.Load();
            _MinonsMenu.Load();
            _ItemsMenu.Load();
            _TrinketMenu.Load();
            _LevelMenu.Load();
            _ChampMenu.Load();
            //_Assembly.CheckVersion();

            //Load Menus + Events
            //Add Orbwalker to menu
            //SMenu.AddSubMenu(new Menu(".Orbwalker", ".Orbwalker"));
            CommonOrbwalker = new Orbwalking.Orbwalker(SMenu.SubMenu(".CommonOrbwalker"));

            //Add SMenu to main menu
            SMenu.AddToMainMenu();
        }
开发者ID:KallenStadtfeldGeass,项目名称:KallenSharp,代码行数:29,代码来源:Loader.cs


示例8: Load

 public static void Load()
 {
     _MainMenu = new Menu("FreshBooster (" + ObjectManager.Player.ChampionName + ")", "FreshBooster", true).SetFontStyle(System.Drawing.FontStyle.Regular, SharpDX.Color.Aqua);
     _MainMenu.AddToMainMenu();
     Menu orbwalkerMenu = new Menu("OrbWalker", "OrbWalker");
     _OrbWalker = new Orbwalking.Orbwalker(orbwalkerMenu);
     _MainMenu.AddSubMenu(orbwalkerMenu);
     var targetSelectorMenu = new Menu("Target Selector", "TargetSelector");
     TargetSelector.AddToMenu(targetSelectorMenu);
     _MainMenu.AddSubMenu(targetSelectorMenu);
     Type t = Type.GetType("FreshBooster.Champion." + ObjectManager.Player.ChampionName);
     if (t != null)
     {
         //Object obj = Activator.CreateInstance(t);
         var target = t.GetConstructor(Type.EmptyTypes);
         var dynamic = new DynamicMethod(string.Empty, t, new Type[0], target.DeclaringType);
         var il = dynamic.GetILGenerator();
         il.DeclareLocal(target.DeclaringType);
         il.Emit(OpCodes.Newobj, target);
         il.Emit(OpCodes.Stloc_0);
         il.Emit(OpCodes.Ldloc_0);
         il.Emit(OpCodes.Ret);
         var method = (Func<object>)dynamic.CreateDelegate(typeof(Func<object>));
         method();
     }
     else
     {
         Game.PrintChat("Can't Load FreshBooster. Please send Message to KorFresh, Error Code 99");
     }
 }
开发者ID:NaviFly,项目名称:LeagueSharp,代码行数:30,代码来源:Loader.cs


示例9: Game_OnGameLoad

        private static void Game_OnGameLoad(EventArgs args)
        {
            

            Q = new Spell(SpellSlot.Q, 340);
            W = new Spell(SpellSlot.W, 800);
            E = new Spell(SpellSlot.E, 500);
            R = new Spell(SpellSlot.R, 550);


            Config = new Menu("Kindred - Yin Yang", "Kindred - Yin Yang", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu(":: Orbwalker Settings"));
                Config.AddItem(new MenuItem("language.supx", "Language").SetValue(new StringList(new[] { "English", "Korean", "Türkçe", "Portuguese","French" }, 0)));
                Language.MenuInit();
                Config.AddToMainMenu();
            }
            Game.PrintChat("<font color='#ff3232'>Kindred - Yin Yang: </font> <font color='#d4d4d4'>If you like this assembly feel free to upvote on Assembly DB</font>");
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
            Game.OnUpdate += Game_OnGameUpdate;
            GameObject.OnCreate += GameObject_OnCreate;
            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Base.OnDoCast += OnDoCast;
        }
开发者ID:Sthephanfelix,项目名称:LeagueSharp-4,代码行数:25,代码来源:Program.cs


示例10: MenuWrapper

        /// <summary>
        /// Initializes a new instance of the <see cref="MenuWrapper"/> class.
        /// </summary>
        /// <param name="menuName">Name of the menu.</param>
        /// <param name="addTargetSelector">if set to <c>true</c> [add target selector].</param>
        /// <param name="addOrbwalker">if set to <c>true</c> [add orbwalker].</param>
        public MenuWrapper(string menuName, bool addTargetSelector = true, bool addOrbwalker = true)
        {
            // Create menu
            _menu = new Menu(menuName, Regex.Replace(menuName.ToLower(), @"\s+", ""), true);

            if (addTargetSelector)
            {
                // Target selector
                _targetSelectorMenu = new Menu("Target Selector", "ts");
                TargetSelector.AddToMenu(_targetSelectorMenu);
                _menu.AddSubMenu(_targetSelectorMenu);
            }

            if (addOrbwalker)
            {
                // Orbwalker
                _orbwalkerMenu = new Menu("Orbwalker", "orbwalker");
                _orbwalker = new Orbwalking.Orbwalker(_orbwalkerMenu);
                _menu.AddSubMenu(_orbwalkerMenu);
            }

            // Create main menu wrapper
            _mainMenu = new SubMenu(_menu);

            // Finalize menu
            _menu.AddToMainMenu();
        }
开发者ID:ChewyMoon,项目名称:LeagueSharp.Common,代码行数:33,代码来源:MenuWrapper.cs


示例11: OnGameLoad

        private static void OnGameLoad(EventArgs args)
        {
            if (ObjectManager.Player.ChampionName != ChampionName)
            {
                return;
            }

            Q = new Spell(SpellSlot.Q, 650f);
            W = new Spell(SpellSlot.W, 900f);
            E = new Spell(SpellSlot.E, 525f);
            R = new Spell(SpellSlot.R, 900f);

            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);

            Config = new Menu(ChampionName, ChampionName, true);
              var targetSelectorMenu = new Menu("Target Selector", "Target Selector");
                TargetSelector.AddToMenu(targetSelectorMenu);
                Config.AddSubMenu(targetSelectorMenu);
                Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
                  Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking"));
              Config.AddSubMenu(new Menu("Combo", "Combo"));
                Config.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "Use Q").SetValue(true));
                Config.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true));
                Config.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E").SetValue(true));
                Config.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R").SetValue(true));
                Config.SubMenu("Combo")
                 .AddItem(new MenuItem("ComboActive", "Combo!").SetValue(new KeyBind(32, KeyBindType.Press)));
              Config.AddToMainMenu();

              Game.OnUpdate += OnGameUpdate;
        }
开发者ID:testasript,项目名称:test,代码行数:34,代码来源:Program.cs


示例12: Game_OnGameLoad

        private static void Game_OnGameLoad(EventArgs args)
        {
            Player = ObjectManager.Player;
            if (Player.BaseSkinName != ChampionName) return;

            Q = new Spell(SpellSlot.Q, float.MaxValue);
            W = new Spell(SpellSlot.W, 1500f);
            E = new Spell(SpellSlot.E, 900f);
            R = new Spell(SpellSlot.R, 2500f);
            R1 = new Spell(SpellSlot.R, 2500f);

            W.SetSkillshot(0.6f, 70f, 3300f, true, SkillshotType.SkillshotLine);
            E.SetSkillshot(1.2f, 1f, 1750f, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(0.7f, 140f, 1500f, false, SkillshotType.SkillshotLine);
            R1.SetSkillshot(0.7f, 200f, 1500f, false, SkillshotType.SkillshotCircle);

            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);
            SpellList.Add(R1);
            Config = new Menu(ChampionName, ChampionName, true);
            var targetSelectorMenu = new Menu("Target Selector", "Target Selector");
            TargetSelector.AddToMenu(targetSelectorMenu);
            Config.AddSubMenu(targetSelectorMenu);
            Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
            Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking"));
            Config.AddToMainMenu();
            #region E
                Config.SubMenu("E Config").AddItem(new MenuItem("autoE", "Auto E").SetValue(true));
                Config.SubMenu("E Config").AddItem(new MenuItem("comboE", "Auto E in Combo BETA").SetValue(true));
                Config.SubMenu("E Config").AddItem(new MenuItem("AGC", "AntiGapcloserE").SetValue(true));
                Config.SubMenu("E Config").AddItem(new MenuItem("opsE", "OnProcessSpellCastE").SetValue(true));
                Config.SubMenu("E Config").AddItem(new MenuItem("telE", "Auto E teleport").SetValue(true));
            #endregion
            #region R
                Config.SubMenu("R Config").AddItem(new MenuItem("autoR", "Auto R").SetValue(true));
                Config.SubMenu("R Config").AddItem(new MenuItem("hitchanceR", "VeryHighHitChanceR").SetValue(true));
                Config.SubMenu("R Config").AddItem(new MenuItem("useR", "Semi-manual cast R key").SetValue(new KeyBind('t', KeyBindType.Press))); //32 == space

            #endregion
            Config.SubMenu("Draw").AddItem(new MenuItem("noti", "Show notification").SetValue(false));
            Config.SubMenu("Draw").AddItem(new MenuItem("wRange", "W range").SetValue(false));
            Config.SubMenu("Draw").AddItem(new MenuItem("onlyRdy", "Draw when skill rdy").SetValue(true));
            Config.SubMenu("Draw").AddItem(new MenuItem("orb", "Orbwalker target").SetValue(true));
            Config.SubMenu("Draw").AddItem(new MenuItem("wTarget", "W Target").SetValue(true));
            Config.SubMenu("Draw").AddItem(new MenuItem("semi", "Semi-manual R target").SetValue(false));

            Config.AddItem(new MenuItem("pots", "Use pots").SetValue(true));
            Config.AddItem(new MenuItem("Hit", "Hit Chance W").SetValue(new Slider(2, 3, 0)));
            Config.AddItem(new MenuItem("debug", "Debug").SetValue(false));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnGameUpdate += Game_OnGameUpdate;
            Orbwalking.BeforeAttack += BeforeAttack;
            Orbwalking.AfterAttack += afterAttack;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
            Game.PrintChat("<font color=\"#ff00d8\">J</font>inx full automatic AI ver 2.7 <font color=\"#000000\">by sebastiank1</font> - <font color=\"#00BFFF\">Loaded</font>");
        }
开发者ID:qktlfflzk,项目名称:Backup5.4,代码行数:60,代码来源:Program.cs


示例13: Ahri

        public Ahri()
        {
            if (ObjectManager.Player.ChampionName != "Ahri")
                return;

            (_menu = new Menu("AhriSharp", "AhriSharp", true)).AddToMainMenu();

            var targetSelectorMenu = new Menu("Target Selector", "TargetSelector");
            TargetSelector.AddToMenu(targetSelectorMenu);
            _menu.AddSubMenu(targetSelectorMenu);

            _orbwalker = new Orbwalking.Orbwalker(_menu.AddSubMenu(new Menu("Orbwalking", "Orbwalking")));

            var comboMenu = _menu.AddSubMenu(new Menu("Combo", "Combo"));
            comboMenu.AddItem(new MenuItem("comboQ", "Use Q").SetValue(true));
            comboMenu.AddItem(new MenuItem("comboW", "Use W").SetValue(true));
            comboMenu.AddItem(new MenuItem("comboE", "Use E").SetValue(true));
            comboMenu.AddItem(new MenuItem("comboR", "Use R").SetValue(true));
            comboMenu.AddItem(new MenuItem("comboROnlyUserInitiate", "Use R only if user initiated").SetValue(false));

            var harassMenu = _menu.AddSubMenu(new Menu("Harass", "Harass"));
            harassMenu.AddItem(new MenuItem("harassQ", "Use Q").SetValue(true));
            harassMenu.AddItem(new MenuItem("harassE", "Use E").SetValue(true));
            harassMenu.AddItem(new MenuItem("harassPercent", "Skills until Mana %").SetValue(new Slider(20)));

            var farmMenu = _menu.AddSubMenu(new Menu("Lane Clear", "LaneClear"));
            farmMenu.AddItem(new MenuItem("farmQ", "Use Q").SetValue(true));
            farmMenu.AddItem(new MenuItem("farmW", "Use W").SetValue(false));
            farmMenu.AddItem(new MenuItem("farmPercent", "Skills until Mana %").SetValue(new Slider(20)));
            farmMenu.AddItem(new MenuItem("farmStartAtLevel", "Only AA until Level").SetValue(new Slider(8, 1, 18)));

            var drawMenu = _menu.AddSubMenu(new Menu("Drawing", "Drawing"));
            drawMenu.AddItem(new MenuItem("drawQE", "Draw Q, E range").SetValue(new Circle(true, System.Drawing.Color.FromArgb(125, 0, 255, 0))));
            drawMenu.AddItem(new MenuItem("drawW", "Draw W range").SetValue(new Circle(false, System.Drawing.Color.FromArgb(125, 0, 0, 255))));
            var dmgAfterComboItem = new MenuItem("DamageAfterCombo", "Draw Combo Damage").SetValue(true); //copied from esk0r Syndra
            drawMenu.AddItem(dmgAfterComboItem);

            var miscMenu = _menu.AddSubMenu(new Menu("Misc", "Misc"));
            miscMenu.AddItem(new MenuItem("packetCast", "Packet Cast").SetValue(true));

            _itemDFG = Utility.Map.GetMap().Type == Utility.Map.MapType.TwistedTreeline ? new Items.Item(3188, 750) : new Items.Item(3128, 750);

            _spellQ = new Spell(SpellSlot.Q, 990);
            _spellW = new Spell(SpellSlot.W, 795 - 95);
            _spellE = new Spell(SpellSlot.E, 1000 - 10);
            _spellR = new Spell(SpellSlot.R, 1000 - 100);

            _spellQ.SetSkillshot(.215f, 100, 1600f, false, SkillshotType.SkillshotLine);
            _spellW.SetSkillshot(.71f, _spellW.Range, float.MaxValue, false, SkillshotType.SkillshotLine);
            _spellE.SetSkillshot(.23f, 60, 1500f, true, SkillshotType.SkillshotLine);

            Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage;
            Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue<bool>();
            dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue<bool>(); };

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate += Game_OnUpdate;

            Game.PrintChat("<font color=\"#1eff00\">AhriSharp by Beaving</font> - <font color=\"#00BFFF\">Loaded</font>");
        }
开发者ID:deltinho4,项目名称:LeagueSharp,代码行数:60,代码来源:Ahri.cs


示例14: Game_OnGameLoad

 private static void Game_OnGameLoad(EventArgs args)
 {
     if (ObjectManager.Player.ChampionName != "Lucian")
       return;
     _q = new Spell(SpellSlot.Q, 700);
     _q2 = new Spell(SpellSlot.Q, 1200);
     _w = new Spell(SpellSlot.W, 700);
     _w2 = new Spell(SpellSlot.W, 1100);
     _q2.SetSkillshot(0.25f, 70, 3000, false, SkillshotType.SkillshotLine);
     _w.SetSkillshot(0.25f, 70, 1500, false, SkillshotType.SkillshotLine);
     _w2.SetSkillshot(0.25f, 70, 1500, true, SkillshotType.SkillshotLine);
     _config = new Menu("Lucian", "Lucian", true);
     _orbwalker = new Orbwalking.Orbwalker(_config.SubMenu("Orbwalking"));
     var targetSelectorMenu = new Menu("Target Selector", "Target Selector");
     TargetSelector.AddToMenu(targetSelectorMenu);
     _config.AddSubMenu(targetSelectorMenu);
     _config.AddItem(new MenuItem("qexk", "Q ex in combo only if killable").SetValue(true));
     _config.AddItem(new MenuItem("qexk2", "Q ex in combo only selected champion in harass menu").SetValue(true));
     foreach (var hero in HeroManager.Enemies)
       {
         _config.SubMenu("Harass").AddItem(new MenuItem("auto" + hero.ChampionName, hero.ChampionName).SetValue(select.Contains(hero.ChampionName)));
       }
     _config.SubMenu("Harass").AddItem(new MenuItem("manah", "%mana").SetValue(new Slider(33, 100, 0)));
     _config.AddToMainMenu();
     Obj_AI_Base.OnProcessSpellCast += oncast;
     Orbwalking.AfterAttack += Orbwalking_AfterAttack;
     Game.OnUpdate += Game_OnUpdate;
 }
开发者ID:rexyrexy,项目名称:LeagueSharp,代码行数:28,代码来源:Program.cs


示例15: CommonForceUltimate

        public CommonForceUltimate(ZedMenu zedMenu, ZedSpells zedSpells, Orbwalking.Orbwalker orbwalker)
        {
            player = ObjectManager.Player;

            this.zedMenu = zedMenu;
            r = zedSpells.R;
            zedOrbwalker = orbwalker;

            mouseImage1 = new Render.Sprite(Resources.mouse1, new Vector2(0, 0));
            mouseImage1.Scale = new Vector2(0.50f, 0.50f);
            mouseImage1.Add();

            mouseImage2 = new Render.Sprite(Resources.mouse2, new Vector2(0, 0));
            mouseImage2.Scale = new Vector2(0.50f, 0.50f);
            mouseImage2.Add();

            denyMouseImage = new Render.Sprite(Resources.denymouse, new Vector2(0, 0));
            denyMouseImage.Scale = new Vector2(0.50f, 0.50f);
            denyMouseImage.Add();
            denyMouseImage.Visible = false;

            Text.Add();
            Text.Visible = false;

            Game.OnWndProc += CheckMouseButtons;
            Game.OnUpdate += ShowAnimation;
        }
开发者ID:47110572,项目名称:LeagueSharp-9,代码行数:27,代码来源:ForceUltimate.cs


示例16: Game_OnGameLoad

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

            _w = new Spell(SpellSlot.W, wRange);
            _w.SetSkillshot(0.25f, 120f, 1400f, false, SkillshotType.SkillshotCircle);
            _e = new Spell(SpellSlot.E, eRange);

            _config = new Menu("Twitch", "Twitch", true);

            _orbwalker = new Orbwalking.Orbwalker(_config.SubMenu("Orbwalking"));

            var targetSelectorMenu = new Menu("Target Selector", "Target Selector");
            TargetSelector.AddToMenu(targetSelectorMenu);
            _config.AddSubMenu(targetSelectorMenu);

            _config.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true));
            _config.SubMenu("Combo").AddItem(new MenuItem("ghost", "Use Ghostblade").SetValue(true));
            _config.SubMenu("Combo").AddItem(new MenuItem("botrk", "Use Botrk").SetValue(true));

            _config.SubMenu("Drawings").AddItem(new MenuItem("ultDraw", "Draw ult range").SetValue(true));
            _config.SubMenu("Drawings").AddItem(new MenuItem("EDamage", "E Damage").SetValue(new Circle(true, Color.White)));
            _config.SubMenu("Drawings").AddItem(new MenuItem("stealthColor", "Stealth indicator").SetValue(new Circle(true, Color.Purple)));

            _config.AddToMainMenu();

            CustomDamageIndicator.Initialize(GetEDamage);
            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Base.OnProcessSpellCast += OnSpellProcess;
            Obj_AI_Base.OnDamage += OnDamage;
        }
开发者ID:Aferii,项目名称:LeagueSharp,代码行数:33,代码来源:Program.cs


示例17: Init

        public static void Init(Yasuo yas)
        {
            Yas = yas;

            Config = new Menu("YasuoPro", "YasuoPro", true);

            Menu OWMenu = Config.AddSubMenu("Orbwalking");
            Orbwalker = new Orbwalking.Orbwalker(OWMenu);

            Menu Combo = Config.AddSubMenu("Combo");
            YasuoMenu.Combo.Attach(Combo);

            Menu Harass = Config.AddSubMenu("Harass");
            YasuoMenu.Harass.Attach(Harass);

            Menu Evade = Config.AddSubMenu("Evade");
            YasuoMenu.Evade.Attach(Evade);

            Menu Killsteal = Config.AddSubMenu("Killsteal");
            YasuoMenu.Killsteal.Attach(Killsteal);

            Menu Farming = Config.AddSubMenu("LastHitting");
            YasuoMenu.Farm.Attach(Farming);

            Menu Waveclear = Config.AddSubMenu("Waveclear");
            YasuoMenu.Waveclear.Attach(Waveclear);

            Menu Misc = Config.AddSubMenu("Misc");
            YasuoMenu.Misc.Attach(Misc);

            Menu Drawings = Config.AddSubMenu("Drawings");
            YasuoMenu.Drawings.Attach(Drawings);

            Config.AddToMainMenu();
        }
开发者ID:ewnavilae,项目名称:LeagueSharp,代码行数:35,代码来源:YasuoMenu.cs


示例18: loadMenu

 public static void loadMenu()
 {
     menu = new Menu("AwesomeBlitz", "AwesomeBlitz", true);
           var orbWalkerMenu = new Menu("Orbwalker", "Orbwalker");
     orb = new Orbwalking.Orbwalker(orbWalkerMenu);
     var TargetSelectorMenu = new Menu("TargetSelector", "TargetSelector");
          var comboMenu = new Menu("Combo", "Combo");
     {
               comboMenu.AddItem(new MenuItem("useQ", "Use Q").SetValue(true));
             comboMenu.AddItem(new MenuItem("useE", "Use E").SetValue(true));
           comboMenu.AddItem(new MenuItem("useR", "Use R").SetValue(true));
           comboMenu.AddItem(new MenuItem("dontuseR", "Dont Use R if target will dead").SetValue(true));
     }
            var DrawMenu = new Menu("Combo", "Combo");
     {
         DrawMenu.AddItem(new MenuItem("QD", "Q draw").SetValue(true));
        DrawMenu.AddItem(new MenuItem("RD", "R draw").SetValue(true));
     }
     TargetSelector.AddToMenu(TargetSelectorMenu);
     menu.AddSubMenu(orbWalkerMenu); //ORBWALKER
     menu.AddSubMenu(TargetSelectorMenu);
     menu.AddSubMenu(comboMenu);
        menu.AddSubMenu(DrawMenu);
       menu.AddToMainMenu();
 }
开发者ID:1550441149,项目名称:zeroRepository,代码行数:25,代码来源:Program.cs


示例19: Game_OnGameLoad

        private static void Game_OnGameLoad(EventArgs args)
        {
            Player = ObjectManager.Player;
            if (ObjectManager.Player.BaseSkinName != Champion) return;

            Q = new Spell(SpellSlot.Q, 770);
            W = new Spell(SpellSlot.W, 525);
            E = new Spell(SpellSlot.E, 800);
            R = new Spell(SpellSlot.R, 650);

            IgniteSlot = Player.GetSpellSlot("SummonerDot");

            Q.SetSkillshot(0.25f, 70f, 1450f, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.5f, 175f, int.MaxValue, false, SkillshotType.SkillshotCircle);

            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);

            Config = new Menu(Champion, "StonedJarvan", true);


            var targetSelectorMenu = new Menu("Target Selector", "Target Selector");
            TargetSelector.AddToMenu(targetSelectorMenu);
            Config.AddSubMenu(targetSelectorMenu);

            Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
            Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking"));

            Config.AddSubMenu(new Menu("Combo", "Combo"));
            Config.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "Use Q")).SetValue(true);
            Config.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W")).SetValue(true);
            Config.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E")).SetValue(true);
            Config.SubMenu("Combo").AddItem(new MenuItem("UseEQCombo", "Use EQ")).SetValue(true);
            Config.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R")).SetValue(true);
            Config.SubMenu("Combo").AddItem(new MenuItem("ActiveCombo", "Combo!").SetValue(new KeyBind(32, KeyBindType.Press)));

            Config.AddSubMenu(new Menu("Drawings", "Drawings"));
            Config.SubMenu("Drawings").AddItem(new MenuItem("DrawQ", "Draw Q")).SetValue(true);
            Config.SubMenu("Drawings").AddItem(new MenuItem("DrawW", "Draw W")).SetValue(true);
            Config.SubMenu("Drawings").AddItem(new MenuItem("DrawE", "Draw E")).SetValue(true);
            Config.SubMenu("Drawings").AddItem(new MenuItem("DrawR", "Draw R")).SetValue(true);
            Config.SubMenu("Drawings").AddItem(new MenuItem("CircleLag", "Lag Free Circles").SetValue(true));
            Config.SubMenu("Drawings").AddItem(new MenuItem("CircleThickness", "Circles Thickness").SetValue(new Slider(1, 10, 1)));

            Config.AddSubMenu(new Menu("Misc", "Misc"));
            Config.SubMenu("Misc").AddItem(new MenuItem("EQmouse", "EQ To Mouse").SetValue(new KeyBind("G".ToCharArray()[0], KeyBindType.Press)));
            Config.SubMenu("Misc").AddItem(new MenuItem("Ignite", "Use Ignite").SetValue(true));

            Config.AddToMainMenu();

            Game.OnGameUpdate += OnGameUpdate;
            Drawing.OnDraw += OnDraw;

            //Obj_AI_Hero.OnCreate += OnCreateObj;
            //Obj_AI_Hero.OnDelete += OnDeleteObj;

            Game.PrintChat("<font color='#FF00BF'>Stoned Jarvan Loaded By</font> <font color='#FF0000'>The</font><font color='#FFFF00'>Kush</font><font color='#40FF00'>Style</font>");
        }
开发者ID:qktlfflzk,项目名称:Backup5.4,代码行数:60,代码来源:JarvanIV.cs


示例20: CreateMenu


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Common.PredictionInput类代码示例发布时间:2022-05-26
下一篇:
C# Common.Orbwalking类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap