Exemple #1
0
        static void InitSimpleMenu()
        {
            MenuLocal.AddItem(new MenuItem("Jungle.Simple.Q.Big", "Q Big Mobs:").SetValue(new StringList(new[] { "Off", "On" }, 1))).SetFontStyle(FontStyle.Regular, PlayerSpells.Q.MenuColor());
            MenuLocal.AddItem(new MenuItem("Jungle.Simple.Q.Small", "Q Small Mobs:").SetValue(new StringList(new[] { "Off", "On: If Killable" }, 1))).SetFontStyle(FontStyle.Regular, PlayerSpells.Q.MenuColor());

            MenuLocal.AddItem(new MenuItem("Jungle.Simple.E", "E:").SetValue(new StringList(new[] { "Off", "On: Big Mobs", "On: Big Mobs [Just can stun]" }, 1))).SetFontStyle(FontStyle.Regular, PlayerSpells.E.MenuColor());

            MenuMinMana = new Menu("Min. Mana Control", "Menu.MinMana");

            MenuMinMana.AddItem(new MenuItem("MinMana.Jungle", "Min. Mana %:").SetValue(new Slider(20, 100, 0))).SetFontStyle(FontStyle.Regular, Color.LightGreen);

            MenuMinMana.AddItem(new MenuItem("MinMana.DontCheckEnemyBuff", "Don't Check Min. Mana -> If Taking:").SetValue(new StringList(new[] { "Off", "Ally Buff", "Enemy Buff", "Both" }, 2))).SetFontStyle(FontStyle.Regular, Color.Wheat);
            MenuMinMana.AddItem(new MenuItem("MinMana.DontCheckBlueBuff", "Don't Check Min. Mana -> If Have Blue Buff:").SetValue(true)).SetFontStyle(FontStyle.Regular, Color.Wheat);

            MenuLocal.AddItem(new MenuItem("MinMana.Default", "Load Recommended Settings").SetValue(true))
            .SetFontStyle(FontStyle.Regular, Color.GreenYellow)
            .ValueChanged +=
                (sender, args) =>
            {
                if (args.GetNewValue <bool>() == true)
                {
                    LoadDefaultSettings();
                }
            };

            MenuLocal.AddSubMenu(MenuMinMana);
        }
Exemple #2
0
        static void InitSimpleMenu()
        {
            string[] strQ = new string[5];
            {
                strQ[0] = "Off";
                strQ[1] = "Big Mobs";
                for (var i = 2; i < 5; i++)
                {
                    strQ[i] = "Mob C**t >= " + (i + 2);
                }
                MenuLocal.AddItem(new MenuItem("Jungle.Q", "Q:").SetValue(new StringList(strQ, 4))).SetFontStyle(FontStyle.Regular, PlayerSpells.W.MenuColor());
            }

            MenuLocal.AddItem(new MenuItem("Jungle.W", "W:").SetValue(new StringList(new[] { "Off", "On", "On: Big Mobs" }, 2))).SetFontStyle(FontStyle.Regular, PlayerSpells.E.MenuColor());

            MenuMinMana = new Menu("Min. Mana Control", "Menu.MinMana");

            MenuMinMana.AddItem(new MenuItem("MinMana.Jungle", "Min. Mana %:").SetValue(new Slider(20, 100, 0))).SetFontStyle(FontStyle.Regular, Color.LightGreen);

            MenuMinMana.AddItem(new MenuItem("MinMana.DontCheckEnemyBuff", "Don't Check Min. Mana -> If Taking:").SetValue(new StringList(new[] { "Off", "Ally Buff", "Enemy Buff", "Both" }, 2))).SetFontStyle(FontStyle.Regular, Color.Wheat);
            MenuMinMana.AddItem(new MenuItem("MinMana.DontCheckBlueBuff", "Don't Check Min. Mana -> If Have Blue Buff:").SetValue(true)).SetFontStyle(FontStyle.Regular, Color.Wheat);

            MenuLocal.AddItem(new MenuItem("MinMana.Default", "Load Recommended Settings").SetValue(true))
            .SetFontStyle(FontStyle.Regular, Color.GreenYellow)
            .ValueChanged += (sender, args) =>
            {
                if (args.GetNewValue <bool>() == true)
                {
                    LoadDefaultSettings();
                }
            };

            MenuLocal.AddSubMenu(MenuMinMana);
        }