コード例 #1
0
        public ManaBarMenu(Menu.Items.Menu overlayMenu)
        {
            var manaBarMenu = overlayMenu.CreateMenu("Mana Bar");

            ManaBarItem      = manaBarMenu.CreateSwitcher("Enable");
            ManaBarValueItem = manaBarMenu.CreateSwitcher("Value", false);
        }
コード例 #2
0
        public DamageCalculationMenu(Menu.Items.Menu menu)
        {
            var damageCalculationMenu = menu.CreateMenu("Damage Calculation");

            HpBarItem = damageCalculationMenu.CreateSwitcher("Hp Bar");
            ValueItem = damageCalculationMenu.CreateSwitcher("Value", false);
        }
コード例 #3
0
        public UltimateBarMenu(Menu.Items.Menu topPanelMenu)
        {
            var ultimateBarMenu = topPanelMenu.CreateMenu("Ultimate Bar");

            UltimateBarAllyItem  = ultimateBarMenu.CreateSwitcher("Ally");
            UltimateBarEnemyItem = ultimateBarMenu.CreateSwitcher("Enemy");
        }
コード例 #4
0
        public BladeMailMenu(Menu.Items.Menu menu)
        {
            var bladeMailMenu = menu.CreateMenu("Blade Mail").SetAbilityTexture(AbilityId.item_blade_mail);

            BladeMailItem  = bladeMailMenu.CreateSwitcher("Cancel Combo", false).SetTooltip("Cancel Combo if there is enemy Blade Mail");
            EulControlItem = bladeMailMenu.CreateSwitcher("Eul Control").SetTooltip("Use Eul if there is BladeMail with ULT");
        }
コード例 #5
0
        public TownPortalScrollMenu(Menu.Items.Menu overlayMenu)
        {
            var townPortalScrollMenu = overlayMenu.CreateMenu("Town Portal Scroll");

            AllyItem  = townPortalScrollMenu.CreateSwitcher("Ally");
            EnemyItem = townPortalScrollMenu.CreateSwitcher("Enemy");
        }
コード例 #6
0
        public BlinkDaggerMenu(Menu.Items.Menu menu)
        {
            var blinkDaggerMenu = menu.CreateMenu("Blink Dagger").SetAbilityTexture(AbilityId.item_blink);

            BlinkActivationItem    = blinkDaggerMenu.CreateSlider("Blink Activation Distance Mouse: ", 1000, 0, 1200);
            BlinkDistanceEnemyItem = blinkDaggerMenu.CreateSlider("Blink Distance From Enemy:", 300, 0, 500);
        }
コード例 #7
0
        public DrawingMenu(Menu.Items.Menu menu)
        {
            var drawingMenu = menu.CreateMenu("Drawing");

            TextPanelMenu         = new TextPanelMenu(drawingMenu);
            DamageCalculationMenu = new DamageCalculationMenu(drawingMenu);
        }
コード例 #8
0
        public AutoComboMenu(Menu.Items.Menu menu)
        {
            var autoComboMenu = menu.CreateMenu("Auto Combo");

            EnableItem           = autoComboMenu.CreateSwitcher("Enable");
            DisableWhenComboItem = autoComboMenu.CreateSwitcher("Disable When Combo");
            OwnerMinHealthItem   = autoComboMenu.CreateSlider("Owner Min Health % To Auto Combo:", 0, 0, 70);
            SpellsSelection      = autoComboMenu.CreateSpellToggler("Spells:", new Dictionary <AbilityId, bool>
            {
                { AbilityId.skywrath_mage_arcane_bolt, true },
                { AbilityId.skywrath_mage_concussive_shot, true },
                { AbilityId.skywrath_mage_ancient_seal, true },
                { AbilityId.skywrath_mage_mystic_flare, true }
            });

            ItemsSelection = autoComboMenu.CreateItemToggler("Items:", new Dictionary <AbilityId, bool>
            {
                { AbilityId.item_sheepstick, true },
                { AbilityId.item_orchid, true },
                { AbilityId.item_bloodthorn, true },
                { AbilityId.item_nullifier, true },
                { AbilityId.item_rod_of_atos, true },
                { AbilityId.item_ethereal_blade, true },
                { AbilityId.item_veil_of_discord, true },
                { AbilityId.item_dagon_5, true },
                { AbilityId.item_shivas_guard, true }
            });

            MinHealthToUltItem = autoComboMenu.CreateSlider("Target Min Health % To Ult:", 0, 0, 70);
        }
コード例 #9
0
        public WithMuteMenu(Menu.Items.Menu menu)
        {
            var withMuteMenu = menu.CreateMenu("With Mute");

            ToggleHotkeyItem = withMuteMenu.CreateToggleKey("Toggle Hotkey", Key.None);
            ComboHotkeyItem  = withMuteMenu.CreateToggleKey("Combo Hotkey", Key.None);
        }
コード例 #10
0
        public MoreMenu(Menu.Items.Menu menu)
        {
            var moreMenu = menu.CreateMenu("More");

            AutoComboMenu           = new AutoComboMenu(moreMenu);
            SmartArcaneBoltMenu     = new SmartArcaneBoltMenu(moreMenu);
            SmartConcussiveShotMenu = new SmartConcussiveShotMenu(moreMenu);
        }
コード例 #11
0
ファイル: RangeMenu.cs プロジェクト: ihatevim/Divine.Plugins
        public RangeMenu(Menu.Items.Menu showMeMoreMenu)
        {
            var rangeMenu = showMeMoreMenu.CreateMenu("Range");

            CustomRangeMenu  = new CustomRangeMenu(rangeMenu);
            CustomRange2Menu = new CustomRange2Menu(rangeMenu);
            CustomRange3Menu = new CustomRange3Menu(rangeMenu);
        }
コード例 #12
0
        public CheckHandOfMidasMenu(Menu.Items.Menu showMeMoreMenu)
        {
            var checkHandOfMidasMenu = showMeMoreMenu.CreateMenu("Check Hand Of Midas").SetAbilityTexture(AbilityId.item_hand_of_midas, MenuAbilityTextureType.Item);

            EnableItem      = checkHandOfMidasMenu.CreateSwitcher("Enable");
            SideMessageItem = checkHandOfMidasMenu.CreateSwitcher("Side Message");
            PlaySoundItem   = checkHandOfMidasMenu.CreateSwitcher("Play Sound");
        }
コード例 #13
0
ファイル: FarmMenu.cs プロジェクト: ihatevim/Divine.Plugins
        public FarmMenu(Menu.Items.Menu menu)
        {
            var farmMenu = menu.CreateMenu("Farm");

            FarmHotkeyItem = farmMenu.CreateHoldKey("Farm Hotkey");
            FarmItem       = farmMenu.CreateSelector("Farm:", new[] { "Arcane Bolt & Attack", "Attack" });
            HeroHarrasItem = farmMenu.CreateSelector("Hero Harras:", new[] { "Attack", "Arcane Bolt & Attack", "Disable" });
        }
コード例 #14
0
        public SmartConcussiveShotMenu(Menu.Items.Menu menu)
        {
            var smartConcussiveShotMenu = menu.CreateMenu("Smart Concussive Shot").SetAbilityTexture(AbilityId.skywrath_mage_concussive_shot);

            AntiFailItem      = smartConcussiveShotMenu.CreateSwitcher("Anti Fail");
            UseOnlyTargetItem = smartConcussiveShotMenu.CreateSwitcher("Use Only Target").SetTooltip("This only works with Combo");
            UseInRadiusItem   = smartConcussiveShotMenu.CreateSlider("Use In Radius", 1400, 800, 1600).SetTooltip("This only works with Combo");
        }
コード例 #15
0
        public SpellsMenu(Menu.Items.Menu menu)
        {
            var spellsMenu = menu.CreateMenu("Spells");

            SpellsSelection = spellsMenu.CreateSpellToggler("Use:", new()
            {
                { AbilityId.skywrath_mage_arcane_bolt, true },
                { AbilityId.skywrath_mage_concussive_shot, true },
コード例 #16
0
        public CheckRuneMenu(Menu.Items.Menu showMeMoreMenu)
        {
            var checkRuneMenu = showMeMoreMenu.CreateMenu("Check Rune").SetTexture("rune_regen", MenuTextureType.Ability);

            EnableItem      = checkRuneMenu.CreateSwitcher("Enable");
            SideMessageItem = checkRuneMenu.CreateSwitcher("Side Message");
            PlaySoundItem   = checkRuneMenu.CreateSwitcher("Play Sound");
        }
コード例 #17
0
ファイル: RoshanMenu.cs プロジェクト: ihatevim/Divine.Plugins
        public RoshanMenu(Menu.Items.Menu showMeMoreMenu)
        {
            var roshanMenu = showMeMoreMenu.CreateMenu("Roshan").SetTexture("npc_dota_hero_roshan", MenuTextureType.Unit);

            PanelItem       = roshanMenu.CreateSwitcher("Panel");
            AegisItem       = roshanMenu.CreateSwitcher("Aegis").SetAbilityTexture(AbilityId.item_aegis, MenuAbilityTextureType.Item);
            SideMessageItem = roshanMenu.CreateSwitcher("Side Message");
            PlaySoundItem   = roshanMenu.CreateSwitcher("Play Sound");
        }
コード例 #18
0
        public TargetSelectorMenu(Menu.Items.Menu menu)
        {
            var targetSelectorMenu = menu.CreateMenu("Target Selector");

            TargetEffectsMenu = new TargetEffectsMenu(targetSelectorMenu);

            TargetSelectorItem = targetSelectorMenu.CreateSelector("Select:", new[] { "Near Mouse", "Lowest Health" });
            TargetLockItem     = targetSelectorMenu.CreateSwitcher("Target Lock");
        }
コード例 #19
0
        public DisableMenu(Menu.Items.Menu menu)
        {
            var disableMenu = menu.CreateMenu("Disable").SetAbilityTexture(AbilityId.item_sheepstick);

            EnableItem         = disableMenu.CreateSwitcher("Enable");
            AbilitiesSelection = disableMenu.CreateAbilityToggler("Use:", new()
            {
                { AbilityId.item_sheepstick, true },
                { AbilityId.item_orchid, true },
コード例 #20
0
        public TopPanelMenu(Menu.Items.Menu overlayMenu)
        {
            var topPanelMenu = overlayMenu.CreateMenu("Top Panel");

            VisibleStatusMenu = new VisibleStatusMenu(topPanelMenu);
            UltimateBarMenu   = new UltimateBarMenu(topPanelMenu);

            HealthManaBarItem = topPanelMenu.CreateSwitcher("Health and Mana Bar");
        }
コード例 #21
0
        public LinkenBreakerMenu(Menu.Items.Menu menu)
        {
            var linkenBreakerMenu = menu.CreateMenu("Linken Breaker").SetAbilityTexture(AbilityId.item_sphere);

            linkenBreakerMenu.CreateText("Linkens Sphere:");

            PriorityLinkensItem = linkenBreakerMenu.CreateAbilityToggler("Priority1", "Priority:", new()
            {
                { AbilityId.item_force_staff, true },
                { AbilityId.item_cyclone, true },
コード例 #22
0
        public NetworthPanelMenu(Menu.Items.Menu overlayMenu)
        {
            var networthPanelMenu = overlayMenu.CreateMenu("Networth Panel");

            EnableItem    = networthPanelMenu.CreateSwitcher("Enable", false);
            SizeItem      = networthPanelMenu.CreateSlider("Size:", 0, -20, 150);
            MoveItem      = networthPanelMenu.CreateSwitcher("Move", false);
            PositionXItem = networthPanelMenu.CreateSlider("Position X:", (int)(HUDInfo.ScreenSize.X - 800), 0, 10000);
            PositionYItem = networthPanelMenu.CreateSlider("Position Y:", (int)(HUDInfo.ScreenSize.Y - 240), 0, 10000);
        }
コード例 #23
0
        public TextPanelMenu(Menu.Items.Menu menu)
        {
            var textPanelMenu = menu.CreateMenu("Text Panel");

            ComboPanelItem     = textPanelMenu.CreateSwitcher("Combo Panel");
            UnitComboPanelItem = textPanelMenu.CreateSwitcher("Unit Combo Panel");
            MoveItem           = textPanelMenu.CreateSwitcher("Move", false);
            PositionX          = textPanelMenu.CreateSlider("Position X:", (int)RendererManager.ScreenSize.X - 200, 0, 10000);
            PositionY          = textPanelMenu.CreateSlider("Position Y:", (int)RendererManager.ScreenSize.Y - 310, 0, 10000);
        }
コード例 #24
0
        public ItemsMenu(Menu.Items.Menu overlayMenu)
        {
            var itemsMenu = overlayMenu.CreateMenu("Items");

            AllyOverlayItem  = itemsMenu.CreateSwitcher("Ally", false);
            EnemyOverlayItem = itemsMenu.CreateSwitcher("Enemy", true);
            ExtraSizeItem    = itemsMenu.CreateSlider("Extra Size:", 0, -10, 10);
            ExtraPosXItem    = itemsMenu.CreateSlider("Extra Pos X:", 0, -150, 150);
            ExtraPosYItem    = itemsMenu.CreateSlider("Extra Pos Y:", 0, -150, 150);
        }
コード例 #25
0
        public CustomRange2Menu(Menu.Items.Menu rangeMenu)
        {
            var customRange2Menu = rangeMenu.CreateMenu("Custom Range 2");

            EnableItem = customRange2Menu.CreateSwitcher("Enable", false);
            RangeItem  = customRange2Menu.CreateSlider("Range: ------------------------------------------", 600, 0, 5000);
            RedItem    = customRange2Menu.CreateSlider("Red:", 255, 0, 255);
            GreenItem  = customRange2Menu.CreateSlider("Green:", 0, 0, 255);
            BlueItem   = customRange2Menu.CreateSlider("Blue:", 0, 0, 255);
        }
コード例 #26
0
        public BloodseekerRuptureMenu(Menu.Items.Menu moreInformationMenu)
        {
            var bloodseekerRuptureMenu = moreInformationMenu.CreateMenu("Bloodseeker Rupture").SetAbilityTexture(AbilityId.bloodseeker_rupture);

            EnableItem   = bloodseekerRuptureMenu.CreateSwitcher("Enable");
            AutoStopItem = bloodseekerRuptureMenu.CreateSwitcher("Auto Stop");
            RedItem      = bloodseekerRuptureMenu.CreateSlider("Red:", 255, 0, 255);
            GreenItem    = bloodseekerRuptureMenu.CreateSlider("Green:", 0, 0, 255);
            BlueItem     = bloodseekerRuptureMenu.CreateSlider("Blue:", 0, 0, 255);
            AlphaItem    = bloodseekerRuptureMenu.CreateSlider("Alpha:", 40, 0, 255);
        }
コード例 #27
0
        public MysticFlareMenu(Menu.Items.Menu menu)
        {
            var mysticFlareMenu = menu.CreateMenu("Mystic Flare").SetAbilityTexture(AbilityId.skywrath_mage_mystic_flare);

            MinHealthToUltItem = mysticFlareMenu.CreateSlider("Target Min Health % To Ult:", 0, 0, 70);

            mysticFlareMenu.CreateText("MysticFlareMenu1", "");

            BadUltItem = mysticFlareMenu.CreateSwitcher("Bad Ult", false).SetTooltip("It is not recommended to enable this. If you do not have these items (RodofAtos, Hex, Ethereal) then this function is activated");
            BadUltMovementSpeedItem = mysticFlareMenu.CreateSlider("Bad Ult Movement Speed:", 500, 240, 500).SetTooltip("If the enemy has less Movement Speed from this value, then immediately ULT");
        }
コード例 #28
0
        public RadiusMenu(Menu.Items.Menu menu)
        {
            var radiusMenu = menu.CreateMenu("Radius");

            ArcaneBoltItem              = radiusMenu.CreateSwitcher("Arcane Bolt");
            ConcussiveShotItem          = radiusMenu.CreateSwitcher("Concussive Shot");
            AncientSealItem             = radiusMenu.CreateSwitcher("Ancient Seal");
            MysticFlareItem             = radiusMenu.CreateSwitcher("Mystic Flare");
            TargetHitConcussiveShotItem = radiusMenu.CreateSwitcher("Target Hit Concussive Shot");
            BlinkDaggerItem             = radiusMenu.CreateSwitcher("Blink Dagger", false);
        }
コード例 #29
0
        public SpellsMenu(Menu.Items.Menu overlayMenu)
        {
            var spellsMenu = overlayMenu.CreateMenu("Spells");

            AllyOverlayItem  = spellsMenu.CreateSwitcher("Ally", false);
            EnemyOverlayItem = spellsMenu.CreateSwitcher("Enemy");
            ModeItem         = spellsMenu.CreateSelector("Mode:", new[] { "Default", "Without Texture", "Low" });
            ExtraSizeItem    = spellsMenu.CreateSlider("Extra Size:", 0, -10, 10);
            ExtraPosXItem    = spellsMenu.CreateSlider("Extra Pos X:", 0, -150, 150);
            ExtraPosYItem    = spellsMenu.CreateSlider("Extra Pos Y:", 0, -150, 150);
        }
コード例 #30
0
        public VisibleStatusMenu(Menu.Items.Menu topPanelMenu)
        {
            var visibleStatusMenu = topPanelMenu.CreateMenu("Visible Status");

            VisibleStatusAllyItem  = visibleStatusMenu.CreateSwitcher("Ally", false);
            VisibleStatusEnemyItem = visibleStatusMenu.CreateSwitcher("Enemy", false);
            visibleStatusMenu.CreateText("");
            EnemyNotVisibleTimeItem = visibleStatusMenu.CreateSwitcher("Enemy Not Visible Time", false);
            SizeItem  = visibleStatusMenu.CreateSlider("Size:", 20, 5, 50);
            RedItem   = visibleStatusMenu.CreateSlider("Red:", 255, 0, 255);
            GreenItem = visibleStatusMenu.CreateSlider("Green:", 255, 0, 255);
            BlueItem  = visibleStatusMenu.CreateSlider("Blue:", 0, 0, 255);
        }