Ejemplo n.º 1
0
        public override void AddToMenu(MenuWrapper.SubMenu menu)
        {
            var subMenu = menu.AddSubMenu("Ignite");
            Enabled = subMenu.AddLinkedBool("Enabled");

            subMenu = subMenu.AddSubMenu("Don't use when these spells are ready");
            Q = subMenu.AddLinkedBool(ObjectManager.Player.ChampionName + " Q", false);
            W = subMenu.AddLinkedBool(ObjectManager.Player.ChampionName + " W", false);
            E = subMenu.AddLinkedBool(ObjectManager.Player.ChampionName + " E", false);
            R = subMenu.AddLinkedBool(ObjectManager.Player.ChampionName + " R", false);
        }
Ejemplo n.º 2
0
        static Config()
        {
            Menu = new MenuWrapper("[Hellsing] Avoid", false, false);

            var subMenu = Menu.MainMenu.AddSubMenu("Avoidable objects");
            foreach (var obj in ObjectDatabase.AvoidObjects)
            {
                obj.MenuState = subMenu.AddLinkedBool(obj.DisplayName);
            }

            subMenu = Menu.MainMenu.AddSubMenu("Drawings");
            drawRangesLink = subMenu.AddLinkedBool("Draw avoidable ranges");

            disableKeyLink = Menu.MainMenu.AddLinkedKeyBind("Don't avoid while pressing", 'A', KeyBindType.Press);
        }