示例#1
0
        private void createConfigs()
        {
            Config = new Menu("" + Player.ChampionName, "SigmaSeries - " + Player.ChampionName, true);
            var tsMenu = Config.AddSubMenu(new Menu("目标选择", "TargetSelector"));

            SimpleTs.AddToMenu(tsMenu);
            ComboConfig  = Config.AddSubMenu(new Menu("连招", "Combo"));
            HarassConfig = Config.AddSubMenu(new Menu("骚扰", "Harass"));
            FarmConfig   = Config.AddSubMenu(new Menu("清线", "Farm"));
            BonusConfig  = Config.AddSubMenu(new Menu("其他", "Extra"));

            ItemConfig = Config.AddSubMenu(new Menu("物品", "Item Configs"));

            SummonerConfig = Config.AddSubMenu(new Menu("召唤师技能", "Summoner Configs"));


            DrawConfig = Config.AddSubMenu(new Menu("显示", "Draw"));
            DrawConfig.AddItem(new MenuItem("QRange" + ChampName, "Q范围").SetValue(new Circle(false, System.Drawing.Color.Green)));
            DrawConfig.AddItem(new MenuItem("WRange" + ChampName, "W范围").SetValue(new Circle(false, System.Drawing.Color.Green)));
            DrawConfig.AddItem(new MenuItem("ERange" + ChampName, "E范围").SetValue(new Circle(false, System.Drawing.Color.Green)));
            DrawConfig.AddItem(new MenuItem("RRange" + ChampName, "R范围").SetValue(new Circle(false, System.Drawing.Color.Green)));

            ComboMenu(ComboConfig);
            HarassMenu(HarassConfig);
            FarmMenu(FarmConfig);
            BonusMenu(BonusConfig);
            DrawingMenu(DrawConfig);
            ItemMenu(ItemConfig);
            SummonerMenu(SummonerConfig);
            SystemMenu(SystemConfig);

            Config.AddToMainMenu();
        }
示例#2
0
文件: Thresh.cs 项目: geramz/PortAIO
        private static void LoadMenu()
        {
            Config = MainMenu.AddMenu("Thresh", "thresh_menu");

            SpellConfig = Config.AddSubMenu("Spell Settings", "SpellSettings");
            SpellConfig.Add("autoQ", new CheckBox("Auto Q Dash Enemy", true));
            SpellConfig.Add("dontQ2", new CheckBox("Don't Auto Q2", true));
            SpellConfig.Add("dQ2if", new Slider("Don't Q2 if Enemies > allies", 1, 0, 5));
            SpellConfig.Add("farmE", new CheckBox("Farm with E", true));
            SpellConfig.AddLabel("Q BlackList :");
            foreach (var hero in HeroManager.Enemies)
            {
                SpellConfig.Add("QList" + hero.NetworkId, new CheckBox("BlackList: " + hero.ChampionName, false));
            }

            SpellConfig.Add("FlayPush", new KeyBind("Flay Push Key", false, KeyBind.BindTypes.HoldActive, 'T'));
            SpellConfig.Add("FlayPull", new KeyBind("Flay Pull Key", false, KeyBind.BindTypes.HoldActive, 'H'));

            FleeConfig = Config.AddSubMenu("Flee Settings", "FleeSettings");
            FleeConfig.Add("flee", new KeyBind("Flee", false, KeyBind.BindTypes.HoldActive, 'Z'));
            FleeConfig.Add("autoEpush", new CheckBox("Auto E push", true));

            PredictConfig = Config.AddSubMenu("Predict Settings", "PredictSettings");
            PredictConfig.Add("PredictionMode", new ComboBox("Prediction Mode", 0, "Common", "OKTW", "SDK", "SPrediction"));
            PredictConfig.Add("HitChance", new ComboBox("Hit Chance", 0, "Very High", "High", "Medium"));

            BoxConfig = Config.AddSubMenu("Box Settings", "BoxSettings");
            BoxConfig.Add("BoxCount", new Slider("Box Count", 2, 1, 6));
            BoxConfig.Add("BoxMode", new ComboBox("Box Mode", 0, "Prediction", "Now"));

            SupportConfig = Config.AddSubMenu("Support Mode", "SupportMode");
            SupportConfig.Add("SupportMode", new CheckBox("Suppor tMode", true));
            SupportConfig.Add("SupportModeRange", new Slider("Support Mode Range", (int)Player.AttackRange + 200, (int)Player.AttackRange, 2000));
            SupportConfig.Add("AttackADC", new CheckBox("Attack ADC's Target [TEST]", true));


            DrawConfig = Config.AddSubMenu("Drawing Settings", "DrawingSettings");
            DrawConfig.Add("Drawwhenskillisready", new CheckBox("Draw when skill is ready", true));
            DrawConfig.Add("drawQ", new CheckBox("Draw Q Range", true));
            DrawConfig.Add("drawW", new CheckBox("Draw W Range", true));
            DrawConfig.Add("drawE", new CheckBox("Draw E Range", true));
            DrawConfig.Add("drawR", new CheckBox("Draw R Range", true));
            DrawConfig.Add("drawtg", new CheckBox("Draw Target", true));

            SmartKeyConfig = Config.AddSubMenu("Smart Cast", "SmartCast");
            SmartKeyConfig.Add("EnableFollow", new CheckBox("Enable Follow Options,Prss Q/W/E Auto Cast Spell", true));
            SmartKeyConfig.Add("SmartCastQ", new CheckBox("Smart Cast Q", true));
            SmartKeyConfig.Add("SmartCastW", new CheckBox("Smart Cast W", true));
            SmartKeyConfig.Add("SmartCastE", new CheckBox("Smart Cast E", true));

            TowerConfig = Config.AddSubMenu("Turret Settings", "TurretSettings");
            TowerConfig.Add("QEallyTurrettarget", new CheckBox("Q/E ally Turret’s target", true));
            TowerConfig.Add("QEtargetintoallyturret", new CheckBox("Q/E target into ally turret", true));
            TowerConfig.Add("DontQ2inenemyturret", new CheckBox("Don't Q2 in enemy turret", true));
        }
示例#3
0
    private void AddOneConfig(DrawConfig config)
    {
        int x = (int)config.m_Size.x;
        int y = (int)config.m_Size.y;

        int idx = m_DrawVertices.Count;

        //横线
        for (int i = 0; i <= y; i++)
        {
            AddHLine(x, i, config.m_HLineWidthHalf, config.m_VLineWidthHalf, config.m_ClockDir);
        }

        //竖线
        for (int i = 0; i <= x; i++)
        {
            AddVLine(y, i, config.m_VLineWidthHalf, config.m_HLineWidthHalf, config.m_ClockDir);
        }

        for (int i = idx, imax = m_DrawVertices.Count; i < imax; i++)
        {
            switch (config.m_Plane)
            {
            case Plane.XY:
            {
                m_DrawVertices[i] = config.m_StartPos + m_DrawVertices[i];
            }
            break;

            case Plane.XZ:
            {
                m_DrawVertices[i] = new Vector3(m_DrawVertices[i].x, 0, m_DrawVertices[i].y);
                m_DrawVertices[i] = config.m_StartPos + m_DrawVertices[i];
            }
            break;

            case Plane.ZY:
            {
                m_DrawVertices[i] = new Vector3(0, m_DrawVertices[i].y, m_DrawVertices[i].x);
                m_DrawVertices[i] = config.m_StartPos + m_DrawVertices[i];
            }
            break;
            }
        }
    }
示例#4
0
 public void InitConfig()
 {
     m_Left = new DrawConfig()
     {
         m_StartPos       = GameApp.Inst.m_LeftSideWallStartPos + new Vector3(0.01f, 0, 0),
         m_Size           = GameApp.SizeXYZ2XY(GameApp.Inst.m_LeftSideWallSize, Enum_Wall.Left),
         m_ClockDir       = true,
         m_Plane          = Plane.ZY,
         m_HLineWidthHalf = 0.01f,
         m_VLineWidthHalf = 0.04f,
     };
     m_Right = new DrawConfig()
     {
         m_StartPos       = GameApp.Inst.m_RightSideWallStartPos + new Vector3(-0.01f, 0, 0),
         m_Size           = GameApp.SizeXYZ2XY(GameApp.Inst.m_RightSideWallSize, Enum_Wall.Right),
         m_ClockDir       = false,
         m_Plane          = Plane.ZY,
         m_HLineWidthHalf = 0.01f,
         m_VLineWidthHalf = 0.04f,
     };
     m_Wall = new DrawConfig()
     {
         m_StartPos       = GameApp.Inst.m_WallStartPos + new Vector3(0, 0, -0.01f),
         m_Size           = GameApp.SizeXYZ2XY(GameApp.Inst.m_WallSize, Enum_Wall.Wall),
         m_ClockDir       = true,
         m_Plane          = Plane.XY,
         m_HLineWidthHalf = 0.01f,
         m_VLineWidthHalf = 0.01f,
     };
     m_Floor = new DrawConfig()
     {
         m_StartPos       = GameApp.Inst.m_FloorWallStartPos + new Vector3(0, 0.01f, 0),
         m_Size           = GameApp.SizeXYZ2XY(GameApp.Inst.m_FloorWallSize, Enum_Wall.Floor),
         m_ClockDir       = true,
         m_Plane          = Plane.XZ,
         m_HLineWidthHalf = 0.02f,
         m_VLineWidthHalf = 0.01f,
     };
 }