コード例 #1
0
                static Draw()
                {
                    DrawMenu.AddGroupLabel("技能线圈设置 :");
                    _drawReady    = DrawMenu.Add("drawOnlyWhenReady", new CheckBox("显示无冷却技能线圈 ?"));
                    _drawHealth   = DrawMenu.Add("damageIndicatorDraw", new CheckBox("伤害显示 ?"));
                    _drawPercent  = DrawMenu.Add("percentageIndicatorDraw", new CheckBox("伤害百分比显示 ?"));
                    _drawStatiscs = DrawMenu.Add("statiscsIndicatorDraw", new CheckBox("显示伤害数据 ?"));
                    DrawMenu.AddSeparator(1);
                    _drawQ = DrawMenu.Add("qDraw", new CheckBox("显示Q距离 ?"));
                    _drawW = DrawMenu.Add("wDraw", new CheckBox("显示W距离 ?"));
                    _drawE = DrawMenu.Add("eDraw", new CheckBox("显示E距离 ?"));
                    _drawR = DrawMenu.Add("rDraw", new CheckBox("显示R距离 ?"));

                    _healthColor = new ColorConfig(DrawMenu, "healthColorConfig", Color.Orange, "Color Damage Indicator:");
                    _qColor      = new ColorConfig(DrawMenu, "qColorConfig", Color.Blue, "Color Q:");
                    _wColor      = new ColorConfig(DrawMenu, "wColorConfig", Color.Red, "Color W:");
                    _eColor      = new ColorConfig(DrawMenu, "eColorConfig", Color.DeepPink, "Color E:");
                    _minrColor   = new ColorConfig(DrawMenu, "rminColorConfig", Color.Yellow, "Color Minimun range R:");
                    _maxrColor   = new ColorConfig(DrawMenu, "rmaxColorConfig", Color.Purple, "Color Maximun range R:");
                }
コード例 #2
0
ファイル: Config.cs プロジェクト: BEEBEEISADOG/EB
                static Draw()
                {
                    DrawMenu.AddGroupLabel("Spell drawings Settings :");
                    _drawReady    = DrawMenu.Add("drawOnlyWhenReady", new CheckBox("Draw the spells only if they are ready ?"));
                    _drawHealth   = DrawMenu.Add("damageIndicatorDraw", new CheckBox("Draw damage indicator ?"));
                    _drawPercent  = DrawMenu.Add("percentageIndicatorDraw", new CheckBox("Draw damage percentage ?"));
                    _drawStatiscs = DrawMenu.Add("statiscsIndicatorDraw", new CheckBox("Draw damage statistics ?"));
                    DrawMenu.AddSeparator(1);
                    _drawQ = DrawMenu.Add("qDraw", new CheckBox("Draw Q spell range ?"));
                    _drawW = DrawMenu.Add("wDraw", new CheckBox("Draw W spell range ?"));
                    _drawE = DrawMenu.Add("eDraw", new CheckBox("Draw E spell range ?"));
                    _drawR = DrawMenu.Add("rDraw", new CheckBox("Draw R spell range ?"));

                    _healthColor = new ColorConfig(DrawMenu, "healthColorConfig", Color.Orange, "Color Damage Indicator:");
                    _qColor      = new ColorConfig(DrawMenu, "qColorConfig", Color.Blue, "Color Q:");
                    _wColor      = new ColorConfig(DrawMenu, "wColorConfig", Color.Red, "Color W:");
                    _eColor      = new ColorConfig(DrawMenu, "eColorConfig", Color.DeepPink, "Color E:");
                    _minrColor   = new ColorConfig(DrawMenu, "rminColorConfig", Color.Yellow, "Color Minimun range R:");
                    _maxrColor   = new ColorConfig(DrawMenu, "rmaxColorConfig", Color.Purple, "Color Maximun range R:");
                }