コード例 #1
0
        public PluginMenu()
        {
            RootMenu = MenuManager.CreateRootMenu("TADestruction")
                       .SetHeroImage(HeroId.npc_dota_hero_templar_assassin)
                       .SetTooltip("V1.2 BETA");

            PluginStatus = RootMenu.CreateSwitcher("On/Off");
            ComboKey     = RootMenu.CreateHoldKey("Combo Key", Key.None);
            ComboItems   = RootMenu.CreateItemToggler("Items", Items);
            HarassMenu   = RootMenu.CreateMenu("Harass Settings");
            HarassMode   = HarassMenu.CreateSelector("Harass Mode", new string[2] {
                "Closest Harass Position", " To Mouse"
            });
            HarassKey = HarassMenu.CreateHoldKey("Harass Key", Key.None);
        }