示例#1
0
        /// <summary>
        ///     Config Initialization
        /// </summary>
        private void InitConfig()
        {
            Config = new Menu("Support: " + Player.ChampionName, Player.ChampionName, true);
            Config.AddSubMenu(new Menu("璧扮爫", "Orbwalking"));
            SimpleTs.AddToMenu(Config.AddSubMenu(new Menu("鐩爣閫夋嫨", "Target Selector")));

            ComboConfig     = Config.AddSubMenu(new Menu("杩炴嫑", "Combo"));
            HarassConfig    = Config.AddSubMenu(new Menu("楠氭壈", "Harass"));
            ManaConfig      = Config.AddSubMenu(new Menu("娉曞姏鍊奸檺鍒跺櫒", "Mana Limiter"));
            MiscConfig      = Config.AddSubMenu(new Menu("鏉傞」", "Misc"));
            InterruptConfig = Config.AddSubMenu(new Menu("涓柇", "Interrupt"));
            DrawingConfig   = Config.AddSubMenu(new Menu("鑼冨洿", "Drawings"));
            Config.AddItem(new MenuItem("visit", "璁块棶璁哄潧").SetValue(false));

            // mana
            ManaConfig.AddSlider("HarassMana", "楠氭壈 娉曞姏 %", 1, 1, 100);

            // misc
            MiscConfig.AddBool("UsePackets", "浣跨敤灏佸寘", true);
            MiscConfig.AddList("AttackMinions", "鏀诲嚮鐨勫皬鍏点劎", new[] { "Smart", "Never", "Always" });
            MiscConfig.AddBool("AttackChampions", "鏀诲嚮鐨勮嫳闆勩劎", true);

            // drawing
            DrawingConfig.AddItem(
                new MenuItem("Target" + ChampionName, "鐩爣").SetValue(new Circle(true,
                                                                                 Color.DodgerBlue)));
            DrawingConfig.AddItem(
                new MenuItem("QRange" + ChampionName, "Q 鑼冨洿").SetValue(new Circle(false,
                                                                                   Color.FromArgb(150, Color.DodgerBlue))));
            DrawingConfig.AddItem(
                new MenuItem("WRange" + ChampionName, "W 鑼冨洿").SetValue(new Circle(false,
                                                                                   Color.FromArgb(150, Color.DodgerBlue))));
            DrawingConfig.AddItem(
                new MenuItem("ERange" + ChampionName, "E 鑼冨洿").SetValue(new Circle(false,
                                                                                   Color.FromArgb(150, Color.DodgerBlue))));
            DrawingConfig.AddItem(
                new MenuItem("RRange" + ChampionName, "R 鑼冨洿").SetValue(new Circle(false,
                                                                                   Color.FromArgb(150, Color.DodgerBlue))));

            // by wuwei
            Config.AddSubMenu(new Menu("鐒$偤姹夊寲", "by wuwei"));
            Config.SubMenu("by wuwei").AddItem(new MenuItem("qunhao", "姹夊寲缇わ細386289593"));
            Config.SubMenu("by wuwei").AddItem(new MenuItem("qunhao2", "濞冨▋缇わ細13497795"));

            // plugins
            ComboMenu(ComboConfig);
            HarassMenu(HarassConfig);
            ManaMenu(ManaConfig);
            MiscMenu(MiscConfig);
            InterruptMenu(InterruptConfig);
            DrawingMenu(DrawingConfig);

            Config.AddToMainMenu();
        }
示例#2
0
        /// <summary>
        ///     Config Initialization
        /// </summary>
        private void InitConfig()
        {
            Config = new Menu("ㄧ無為汉化ㄧ: " + Player.ChampionName, Player.ChampionName, true);
            Config.AddSubMenu(new Menu("走砍", "Orbwalking"));
            SimpleTs.AddToMenu(Config.AddSubMenu(new Menu("目标选择", "Target Selector")));

            ComboConfig     = Config.AddSubMenu(new Menu("连招", "Combo"));
            HarassConfig    = Config.AddSubMenu(new Menu("骚扰", "Harass"));
            ManaConfig      = Config.AddSubMenu(new Menu("蓝量控制", "Mana Limiter"));
            MiscConfig      = Config.AddSubMenu(new Menu("杂项", "Misc"));
            InterruptConfig = Config.AddSubMenu(new Menu("打断", "Interrupt"));
            DrawingConfig   = Config.AddSubMenu(new Menu("绘制", "Drawings"));
            Config.AddItem(new MenuItem("visit", "范围论坛").SetValue(false));
            Config.AddItem(new MenuItem("qun", "点击加入L#汉化群ㄧ").SetValue(false));

            // mana
            ManaConfig.AddSlider("HarassMana", "蓝量控制 %", 1, 1, 100);

            // misc
            MiscConfig.AddBool("UsePackets", "使用封包", true);
            MiscConfig.AddList("AttackMinions", "攻击小兵", new[] { "智能", "从不", "总是" });
            MiscConfig.AddBool("AttackChampions", "攻击英雄", true);

            // drawing
            DrawingConfig.AddItem(
                new MenuItem("Target" + ChampionName, "目标").SetValue(new Circle(true,
                                                                                Color.DodgerBlue)));
            DrawingConfig.AddItem(
                new MenuItem("QRange" + ChampionName, "Q 范围").SetValue(new Circle(false,
                                                                                  Color.FromArgb(150, Color.DodgerBlue))));
            DrawingConfig.AddItem(
                new MenuItem("WRange" + ChampionName, "W 范围").SetValue(new Circle(false,
                                                                                  Color.FromArgb(150, Color.DodgerBlue))));
            DrawingConfig.AddItem(
                new MenuItem("ERange" + ChampionName, "E 范围").SetValue(new Circle(false,
                                                                                  Color.FromArgb(150, Color.DodgerBlue))));
            DrawingConfig.AddItem(
                new MenuItem("RRange" + ChampionName, "R 范围").SetValue(new Circle(false,
                                                                                  Color.FromArgb(150, Color.DodgerBlue))));

            // plugins
            ComboMenu(ComboConfig);
            HarassMenu(HarassConfig);
            ManaMenu(ManaConfig);
            MiscMenu(MiscConfig);
            InterruptMenu(InterruptConfig);
            DrawingMenu(DrawingConfig);

            Config.AddToMainMenu();
        }
示例#3
0
        /// <summary>
        ///     Config Initialization
        /// </summary>
        private void InitConfig()
        {
            Config = new Menu("Support: " + Player.ChampionName, Player.ChampionName, true);
            Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
            SimpleTs.AddToMenu(Config.AddSubMenu(new Menu("Target Selector", "Target Selector")));

            ComboConfig     = Config.AddSubMenu(new Menu("Combo", "Combo"));
            HarassConfig    = Config.AddSubMenu(new Menu("Harass", "Harass"));
            ManaConfig      = Config.AddSubMenu(new Menu("Mana Limiter", "Mana Limiter"));
            MiscConfig      = Config.AddSubMenu(new Menu("Misc", "Misc"));
            InterruptConfig = Config.AddSubMenu(new Menu("Interrupt", "Interrupt"));
            DrawingConfig   = Config.AddSubMenu(new Menu("Drawings", "Drawings"));
            Config.AddItem(new MenuItem("visit", "Visit Forum").SetValue(false));

            // mana
            ManaConfig.AddSlider("HarassMana", "Harass Mana %", 1, 1, 100);

            // misc
            MiscConfig.AddBool("UsePackets", "Use Packets?", true);
            MiscConfig.AddList("AttackMinions", "Attack Minions?", new[] { "Smart", "Never", "Always" });
            MiscConfig.AddBool("AttackChampions", "Attack Champions?", true);

            // drawing
            DrawingConfig.AddItem(
                new MenuItem("Target" + ChampionName, "Target").SetValue(new Circle(true,
                                                                                    Color.DodgerBlue)));
            DrawingConfig.AddItem(
                new MenuItem("QRange" + ChampionName, "Q Range").SetValue(new Circle(false,
                                                                                     Color.FromArgb(150, Color.DodgerBlue))));
            DrawingConfig.AddItem(
                new MenuItem("WRange" + ChampionName, "W Range").SetValue(new Circle(false,
                                                                                     Color.FromArgb(150, Color.DodgerBlue))));
            DrawingConfig.AddItem(
                new MenuItem("ERange" + ChampionName, "E Range").SetValue(new Circle(false,
                                                                                     Color.FromArgb(150, Color.DodgerBlue))));
            DrawingConfig.AddItem(
                new MenuItem("RRange" + ChampionName, "R Range").SetValue(new Circle(false,
                                                                                     Color.FromArgb(150, Color.DodgerBlue))));

            // plugins
            ComboMenu(ComboConfig);
            HarassMenu(HarassConfig);
            ManaMenu(ManaConfig);
            MiscMenu(MiscConfig);
            InterruptMenu(InterruptConfig);
            DrawingMenu(DrawingConfig);

            Config.AddToMainMenu();
        }
示例#4
0
文件: PluginBase.cs 项目: xioa123/CN
        /// <summary>
        ///     Config Initialization
        /// </summary>
        private void InitConfig()
        {
            Config = new Menu("【無為汉化】自动挂机: " + Player.ChampionName, Player.ChampionName, true);
            Config.AddSubMenu(new Menu("走砍", "Orbwalking"));
            TargetSelector.AddToMenu(Config.AddSubMenu(new Menu("目标选择器", "Target Selector")));

            ComboConfig     = Config.AddSubMenu(new Menu("连招", "Combo"));
            HarassConfig    = Config.AddSubMenu(new Menu("骚扰", "Harass"));
            ManaConfig      = Config.AddSubMenu(new Menu("蓝量限制", "Mana Limiter"));
            MiscConfig      = Config.AddSubMenu(new Menu("杂项", "Misc"));
            InterruptConfig = Config.AddSubMenu(new Menu("打断技能", "Interrupt"));
            DrawingConfig   = Config.AddSubMenu(new Menu("绘制", "Drawings"));

            // mana
            ManaConfig.AddSlider("HarassMana", "最低血量 %", 1, 1, 100);

            // misc
            MiscConfig.AddList("AttackMinions", "攻击小兵?", new[] { "智能", "不", "总是" });
            MiscConfig.AddBool("AttackChampions", "攻击英雄?", true);

            // drawing
            DrawingConfig.AddItem(
                new MenuItem("Target" + ChampionName, "目标").SetValue(new Circle(true, Color.DodgerBlue)));
            DrawingConfig.AddItem(
                new MenuItem("QRange" + ChampionName, "Q 范围").SetValue(
                    new Circle(false, Color.FromArgb(150, Color.DodgerBlue))));
            DrawingConfig.AddItem(
                new MenuItem("WRange" + ChampionName, "W 范围").SetValue(
                    new Circle(false, Color.FromArgb(150, Color.DodgerBlue))));
            DrawingConfig.AddItem(
                new MenuItem("ERange" + ChampionName, "E 范围").SetValue(
                    new Circle(false, Color.FromArgb(150, Color.DodgerBlue))));
            DrawingConfig.AddItem(
                new MenuItem("RRange" + ChampionName, "R 范围").SetValue(
                    new Circle(false, Color.FromArgb(150, Color.DodgerBlue))));

            // plugins
            ComboMenu(ComboConfig);
            HarassMenu(HarassConfig);
            ManaMenu(ManaConfig);
            MiscMenu(MiscConfig);
            InterruptMenu(InterruptConfig);
            DrawingMenu(DrawingConfig);

            Config.AddToMainMenu();
        }