Пример #1
0
        public PUC()
        {
            Game.PrintChat("<font color=\"#00BFFF\">====== 版本: v 0.15====== </font>");
            Game.PrintChat("<font color=\"#00BFFF\">ㄧ剑魔ㄧ德莱文ㄧ伊泽瑞尔ㄧ纳尔ㄧ金克斯ㄧ路西安ㄧ发条ㄧ锤石ㄧ</font>");

            Player = ObjectManager.Player;
            Menu   = new Menu("多英雄合集", Player.ChampionName + "UltimateCarry", true);

            var infoMenu = new Menu("Primes 咨询台", "Primes_Info");

            PrimesInfo.AddtoMenu(infoMenu);

            var sidebarMenu = new Menu("Primes 边栏", "Primes_SideBar");

            SideBar.AddtoMenu(sidebarMenu);

            var trackerMenu = new Menu("Primes 跟踪器", "Primes_Tracker");

            Tracker.AddtoMenu(trackerMenu);

            var tsMenu = new Menu("Primes 目标选择", "Primes_TS");

            TargetSelector.AddtoMenu(tsMenu);

            var orbwalkMenu = new Menu("Primes 走砍", "Primes_Orbwalker");

            Orbwalker.AddtoMenu(orbwalkMenu);

            var activatorMenu = new Menu("Primes 活化剂", "Primes_Activator");

            Activator.AddtoMenu(activatorMenu);

            var autolevelMenu = new Menu("Primes 自动加点", "Primes_AutoLevel");

            AutoLevel.AddtoMenu(autolevelMenu);
            var loadbaseult = false;

            switch (Player.ChampionName)
            {
            case "Ashe":
                loadbaseult = true;
                break;

            case "Draven":
                loadbaseult = true;
                break;

            case "Ezreal":
                loadbaseult = true;
                break;

            case "jinx":
                loadbaseult = true;
                break;
            }
            if (loadbaseult)
            {
                var baseUltMenu = new Menu("Primes 基地大招", "Primes_BaseUlt");
                BaseUlt.AddtoMenu(baseUltMenu);
            }

            //if(Utility.Map.GetMap()._MapType == Utility.Map.MapType.SummonersRift ||
            //	Utility.Map.GetMap()._MapType == Utility.Map.MapType.TwistedTreeline)
            //{
            //	var tarzanMenu = new Menu("Primes Tarzan", "Primes_Tarzan");
            //	Jungle.AddtoMenu(tarzanMenu);
            //}

            LoadChampionPlugin();

            Menu.AddToMainMenu();

            Drawing.OnDraw += Drawing_OnDraw;
        }