Exemplo n.º 1
0
        public static void AddToMenu(Menu menu)
        {
            if (!SupportedDictionary.ContainsKey(ObjectManager.Player.ChampionName) ||
                (SupportedDictionary[ObjectManager.Player.ChampionName].RequiresImprovedRecall &&
                 !ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Recall).Name.Contains("Improved")))
            {
                return;
            }

            Data = SupportedDictionary[ObjectManager.Player.ChampionName];

            Menu = new Menu("Stealth Recall", "StealthRecall");
            Menu.AddItem(new MenuItem("Enabled", "Enabled").SetValue(true));
            Menu.AddItem(new MenuItem("Key", "Key").SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Press)));
            menu.AddSubMenu(Menu);
        }
Exemplo n.º 2
0
        public static void AddToMenu(Menu menu)
        {
            if (!SupportedDictionary.ContainsKey(ObjectManager.Player.ChampionName) ||
                (SupportedDictionary[ObjectManager.Player.ChampionName].RequiresImprovedRecall &&
                 !ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Recall).Name.Contains("Improved")))
            {
                return;
            }

            Data = SupportedDictionary[ObjectManager.Player.ChampionName];

            Menu = new Menu("Stealth Recall", "StealthRecall");
            Menu.AddItem(new MenuItem("Enabled", "Enabled").SetValue(true));
            Menu.AddItem(new MenuItem("Key", "Key").SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Press)));
            menu.AddSubMenu(Menu);
        }