本文整理汇总了C#中LeagueSharp.Common.Menu.AddDrawMenu方法的典型用法代码示例。如果您正苦于以下问题:C# Menu.AddDrawMenu方法的具体用法?C# Menu.AddDrawMenu怎么用?C# Menu.AddDrawMenu使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LeagueSharp.Common.Menu
的用法示例。
在下文中一共展示了Menu.AddDrawMenu方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: OnLoad
public void OnLoad(Menu menu)
{
var cName = ObjectManager.Player.ChampionName;
var comboMenu = new Menu(cName + " - Combo", "dzaio.lux.combo");
comboMenu.AddModeMenu(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E, SpellSlot.R }, new[] { true, true, true, true });
comboMenu.AddManaManager(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E, SpellSlot.R }, new[] { 30, 35, 20, 5 });
var skillOptionMenu = new Menu("Skill Options", "dzaio.lux.combo.skilloptions");
skillOptionMenu.AddItem(new MenuItem("dzaio.lux.combo.skilloptions.eafterr", "Detonate E After R").SetValue(true));
comboMenu.AddSubMenu(skillOptionMenu);
menu.AddSubMenu(comboMenu);
var harrassMenu = new Menu(cName + " - Harrass", "dzaio.lux.harrass");
harrassMenu.AddModeMenu(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.E }, new[] { true, false });
harrassMenu.AddManaManager(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.E }, new[] { 30, 20 });
menu.AddSubMenu(harrassMenu);
var farmMenu = new Menu(cName + " - Farm", "dzaio.lux.farm");
farmMenu.AddModeMenu(Mode.Laneclear, new[] { SpellSlot.E }, new[] { false });
farmMenu.AddManaManager(Mode.Laneclear, new[] { SpellSlot.E }, new[] { 35 });
menu.AddSubMenu(farmMenu);
var miscMenu = new Menu(cName + " - Misc", "dzaio.lux.misc");
{
miscMenu.AddItem(new MenuItem("dzaio.lux.misc.antigapcloserq", "Q AntiGapcloser").SetValue(true));
}
miscMenu.AddHitChanceSelector();
menu.AddSubMenu(miscMenu);
var drawMenu = new Menu(cName + " - Draw", "dzaio.lux.draw");
drawMenu.AddDrawMenu(_spells,Color.LightCoral);
menu.AddSubMenu(drawMenu);
}
示例2: OnLoad
public void OnLoad(Menu menu)
{
if (!DZAIO.IsDebug)
{
Game.PrintChat("Vel'Koz is still WIP. :)");
return;
}
var cName = ObjectManager.Player.ChampionName;
var comboMenu = new Menu(cName + " - Combo", "dzaio.velkoz.combo");
comboMenu.AddModeMenu(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E, SpellSlot.R }, new[] { true, true, true, true });
comboMenu.AddManaManager(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E, SpellSlot.R }, new[] { 30, 35, 20, 5 });
var skillOptionMenu = new Menu("Skill Options", "dzaio.velkoz.combo.skilloptions");
comboMenu.AddSubMenu(skillOptionMenu);
menu.AddSubMenu(comboMenu);
var harrassMenu = new Menu(cName + " - Harrass", "dzaio.velkoz.harass");
harrassMenu.AddModeMenu(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E }, new[] { true, true, false });
harrassMenu.AddManaManager(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E }, new[] { 30, 35, 20 });
menu.AddSubMenu(harrassMenu);
var farmMenu = new Menu(cName + " - Farm", "dzaio.velkoz.farm");
farmMenu.AddModeMenu(Mode.Farm, new[] { SpellSlot.E }, new[] { false });
farmMenu.AddManaManager(Mode.Farm, new[] { SpellSlot.E }, new[] { 35 });
menu.AddSubMenu(farmMenu);
var miscMenu = new Menu(cName + " - Misc", "dzaio.velkoz.misc");
{
}
miscMenu.AddHitChanceSelector();
menu.AddSubMenu(miscMenu);
var drawMenu = new Menu(cName + " - Drawings", "dzaio.velkoz.drawing");
drawMenu.AddDrawMenu(_spells, Color.Aquamarine);
menu.AddSubMenu(drawMenu);
}
示例3: OnLoad
public void OnLoad(Menu menu)
{
var cName = ObjectManager.Player.ChampionName;
var comboMenu = new Menu(cName + " - Combo", "dzaio.graves.combo");
comboMenu.AddModeMenu(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E, SpellSlot.R }, new[] { true, true, true, true });
comboMenu.AddManaManager(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E, SpellSlot.R }, new[] { 30, 35, 20, 5 });
var comboOptions = new Menu("Skills Options", "dzaio.graves.combo.skilloptions");
{
comboOptions.AddItem(new MenuItem("dzaio.graves.combo.minwenemiesc", "Only W if hit x enemies").SetValue(new Slider(2, 1, 5)));
comboOptions.AddItem(new MenuItem("dzaio.graves.combo.emaxrange", "E Distance").SetValue(new Slider(350, 1, 425)));
comboOptions.AddItem(new MenuItem("dzaio.graves.combo.ecancel", "Use E to cancel Q & R animation").SetValue(true));
}
comboMenu.AddSubMenu(comboOptions);
menu.AddSubMenu(comboMenu);
var harrassMenu = new Menu(cName + " - Harrass", "dzaio.graves.harass");
harrassMenu.AddModeMenu(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.W }, new[] { true, true });
harrassMenu.AddManaManager(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.W }, new[] { 30, 35 });
harrassMenu.AddItem(new MenuItem("dzaio.graves.harass.minwenemiesh", "Only W if hit x enemies").SetValue(new Slider(2, 1, 5)));
menu.AddSubMenu(harrassMenu);
var farmMenu = new Menu(cName + " - Farm", "dzaio.graves.farm");
farmMenu.AddModeMenu(Mode.Farm, new[] { SpellSlot.Q }, new[] { true });
farmMenu.AddManaManager(Mode.Farm, new[] { SpellSlot.Q }, new[] { 40 });
menu.AddSubMenu(farmMenu);
var miscMenu = new Menu(cName + " - Misc", "GravesMisc");
{
miscMenu.AddItem(new MenuItem("dzaio.graves.misc.antigpw", "W AntiGapcloser").SetValue(true));
miscMenu.AddItem(new MenuItem("dzaio.graves.misc.antigpe", "E AntiGapcloser").SetValue(true));
miscMenu.AddItem(new MenuItem("dzaio.graves.misc.manualr", "Manual R").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press)));
}
miscMenu.AddHitChanceSelector();
menu.AddSubMenu(miscMenu);
var drawMenu = new Menu(cName + " - Drawings", "dzaio.graves.drawings");
drawMenu.AddDrawMenu(_spells, Color.LightSalmon);
menu.AddSubMenu(drawMenu);
}
示例4: OnLoad
public void OnLoad(Menu menu)
{
var cName = ObjectManager.Player.ChampionName;
var comboMenu = new Menu(cName + " - Combo", "dzaio.zilean.combo");
comboMenu.AddModeMenu(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E, SpellSlot.R }, new[] { true, true, true, true });
comboMenu.AddManaManager(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E, SpellSlot.R }, new[] { 30, 35, 20, 5 });
menu.AddSubMenu(comboMenu);
var harrassMenu = new Menu(cName + " - Harrass", "dzaio.zilean.harass");
harrassMenu.AddModeMenu(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.W }, new[] { true, true });
harrassMenu.AddManaManager(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E }, new[] { 30, 35, 20 });
menu.AddSubMenu(harrassMenu);
var farmMenu = new Menu(cName + " - Farm", "dzaio.zilean.farm");
farmMenu.AddModeMenu(Mode.Farm, new[] { SpellSlot.Q }, new[] { true });
farmMenu.AddManaManager(Mode.Farm, new[] { SpellSlot.Q }, new[] { 40 });
menu.AddSubMenu(farmMenu);
var miscMenu = new Menu(cName + " - Misc", "dzaio.zilean.misc");
{
miscMenu.AddItem(new MenuItem("dzaio.champion.zilean.antigpe", "E AntiGapcloser").SetValue(true));
miscMenu.AddItem(new MenuItem("dzaio.champion.zilean.autoult", "Auto Ult").SetValue(true));
miscMenu.AddItem(new MenuItem("dzaio.champion.zilean.autoult.mana", "Auto Ult Mana %").SetValue(new Slider(10)));
}
var drawMenu = new Menu(cName + " - Drawings", "dzaio.champion.zilean.drawings");
drawMenu.AddDrawMenu(_spells,Color.LightCoral);
menu.AddNoUltiMenu(true);
menu.AddSubMenu(drawMenu);
}
示例5: OnLoad
public void OnLoad(Menu menu)
{
var cName = ObjectManager.Player.ChampionName;
var comboMenu = new Menu(cName + " - Combo", "dzaio.caitlyn.combo");
comboMenu.AddModeMenu(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E, SpellSlot.R }, new[] { true, true, true, true });
comboMenu.AddManaManager(Mode.Combo, new[] { SpellSlot.Q,SpellSlot.W, SpellSlot.E, SpellSlot.R }, new[] { 30, 30, 30, 5 });
var skillOptionMenu = new Menu("Skill Options", "dzaio.caitlyn.combo.skilloptions");
skillOptionMenu.AddItem(new MenuItem("dzaio.caitlyin.combo.skilloptions.impq", "Cast Q Only Immobile/Dashing/Impaired").SetValue(false));
comboMenu.AddSubMenu(skillOptionMenu);
menu.AddSubMenu(comboMenu);
var harrassMenu = new Menu(cName + " - Harrass", "dzaio.caitlyn.harass");
harrassMenu.AddModeMenu(Mode.Harrass, new[] { SpellSlot.Q }, new[] { true });
harrassMenu.AddManaManager(Mode.Harrass, new[] { SpellSlot.Q }, new[] { 30 });
menu.AddSubMenu(harrassMenu);
var farmMenu = new Menu(cName + " - Farm", "dzaio.caitlyn.farm");
farmMenu.AddModeMenu(Mode.Laneclear, new[] { SpellSlot.Q }, new[] { false });
farmMenu.AddManaManager(Mode.Laneclear, new[] { SpellSlot.Q }, new[] { 35 });
farmMenu.AddItem(
new MenuItem("dzaio.caitlyn.farm.minminionsq", "Min. Minions for Q").SetValue(new Slider(3, 1, 6)));
menu.AddSubMenu(farmMenu);
var miscMenu = new Menu(cName + " - Misc", "dzaio.caitlyn.misc");
{
miscMenu.AddItem(new MenuItem("dzaio.caitlyn.antigp", "E Anti Gapcloser").SetValue(true));
miscMenu.AddItem(new MenuItem("dzaio.caitlyn.interrupt", "W Interrupter").SetValue(true));
miscMenu.AddItem(new MenuItem("dzaio.caitlyn.dashtomouse", "Dash to mouse").SetValue(new KeyBind("S".ToCharArray()[0],KeyBindType.Press)));
miscMenu.AddItem(new MenuItem("dzaio.caitlyn.eq", "EQ").SetValue(new KeyBind("M".ToCharArray()[0], KeyBindType.Press)));
miscMenu.AddItem(new MenuItem("dzaio.caitlyn.manualr", "Manual R").SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Press)));
}
miscMenu.AddHitChanceSelector();
menu.AddSubMenu(miscMenu);
var drawMenu = new Menu(cName + " - Drawings", "dzaio.caitlyn.drawing");
drawMenu.AddDrawMenu(_spells, Color.Aquamarine);
menu.AddSubMenu(drawMenu);
}
示例6: SetUpMenu
/// <summary>
/// Sets up the Menu
/// </summary>
private static void SetUpMenu()
{
Menu = new Menu("VayneHunter Reborn", "VHR", true);
var owMenu = new Menu("[VHR] Orbwalker", "dz191.vhr.orbwalker");
Orbwalker = new Orbwalking.Orbwalker(owMenu);
Menu.AddSubMenu(owMenu);
// var tgMenu = new Menu("[VHR] Target Selector", "dz191.vhr.targetselector");
//TargetSelector.AddToMenu(tgMenu);
//Menu.AddSubMenu(tgMenu);
CustomTargetSelector.OnLoad(Menu);
var comboMenu = new Menu("[VHR] Combo", "dz191.vhr.combo");
comboMenu.AddModeMenu(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.E, SpellSlot.R }, new[] { true, true, false });
comboMenu.AddManaManager(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.E, SpellSlot.R }, new[] { 0, 0, 0 });
comboMenu.AddItem(new MenuItem("dz191.vhr.combo.r.minenemies", "Min R Enemies").SetValue(new Slider(2, 1, 5)));
Menu.AddSubMenu(comboMenu);
var harassMenu = new Menu("[VHR] Harass", "dz191.vhr.harass");
harassMenu.AddModeMenu(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.E }, new[] { true, true });
harassMenu.AddManaManager(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.E }, new[] { 25, 20 });
Menu.AddSubMenu(harassMenu);
var farmMenu = new Menu("[VHR] Farm", "dz191.vhr.farm");
farmMenu.AddModeMenu(Mode.Farm, new[] { SpellSlot.Q }, new[] { true, true });
farmMenu.AddManaManager(Mode.Farm, new[] { SpellSlot.Q }, new[] { 40 });
Menu.AddSubMenu(farmMenu);
var miscMenu = new Menu("[VHR] Misc", "dz191.vhr.misc");
var miscQMenu = new Menu("Misc - Tumble", "dz191.vhr.misc.tumble");
{
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.qlogic", "Q Logic").SetValue(new StringList(new[] { "Normal", "Away from enemies" })));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.smartq", "Try to QE First").SetValue(false));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.noaastealth", "Don't AA while stealthed").SetValue(false));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.noqenemies", "Don't Q into enemies").SetValue(false));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.dynamicqsafety", "Dynamic Q Safety Distance").SetValue(false));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.qspam", "Ignore Q checks").SetValue(false));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.qinrange", "Q In Range if Enemy Health < Q+AA Dmg").SetValue(true));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.walltumble", "Tumble Over Wall (WallTumble)").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Press)));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.mirin", "Enable this if you're Mirin").SetValue(false));
}
var miscEMenu = new Menu("Misc - Condemn", "dz191.vhr.misc.condemn");
{
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.condemnmethod", "Condemn Method").SetValue(new StringList(new[] { "VH Reborn", "Marksman/Gosu", "VH Rework" })));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.pushdistance", "E Push Distance").SetValue(new Slider(375, 350, 500)));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.enextauto", "E Next Auto").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Toggle)));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.onlystuncurrent", "Only stun current target").SetValue(false));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.autoe", "Auto E").SetValue(false));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.eks", "Smart E Ks").SetValue(false));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.noeaa", "Don't E if Target can be killed in X AA").SetValue(new Slider(1, 0, 4)));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.trinketbush", "Trinket Bush on Condemn").SetValue(true));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.ethird", "E 3rd proc in Harass").SetValue(false));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.lowlifepeel", "Peel with E when low").SetValue(false));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.condemnturret", "Try to Condemn to turret").SetValue(false));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.condemnflag", "Condemn to J4 flag").SetValue(true));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.noeturret", "No E Under enemy turret").SetValue(true));
}
var miscGeneralSubMenu = new Menu("Misc - General", "dz191.vhr.misc.general");
{
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.antigp", "Anti Gapcloser")).SetValue(true);
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.interrupt", "Interrupter").SetValue(true));
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.antigpdelay", "Anti Gapcloser Delay (ms)")).SetValue(new Slider(0,0,1000));
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.specialfocus", "Focus targets with 2 W marks").SetValue(false));
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.reveal", "Stealth Reveal (Pink Ward)").SetValue(false));
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.disablemovement", "Disable Orbwalker Movement").SetValue(false));
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.permashow", "PermaShow").SetShared().SetValue(true)).ValueChanged += (s, args) =>
{
if (args.GetNewValue<bool>())
{
Menu.Item("dz191.vhr.misc.condemn.enextauto").Permashow(true, "E Next Auto");
}
else
{
Menu.Item("dz191.vhr.misc.condemn.enextauto").Permashow(false);
}
};
}
miscMenu.AddSubMenu(miscQMenu);
miscMenu.AddSubMenu(miscEMenu);
miscMenu.AddSubMenu(miscGeneralSubMenu);
Menu.AddSubMenu(miscMenu);
AntiGP.BuildMenu(Menu);
var drawMenu = new Menu("[VHR] Drawing", "dz191.vhr.drawing");
drawMenu.AddDrawMenu(_spells, Color.Red);
drawMenu.AddItem(new MenuItem("dz191.vhr.drawing.drawstun", "Draw Stunnable").SetValue(true));
drawMenu.AddItem(new MenuItem("dz191.vhr.drawing.drawspots", "Draw Spots").SetValue(true));
Menu.AddSubMenu(drawMenu);
Menu.AddItem(new MenuItem("dz191.vhr.info", "VHR by Corey KappaHD v." + Assembly.GetExecutingAssembly().GetName().Version));
//.........这里部分代码省略.........
示例7: CreateMenu
/// <summary>
/// Creats the menu for the specified champion using Asuna's MenuHelper Class
/// </summary>
private void CreateMenu()
{
Menu = new Menu("iDzEzreal", "com.iezreal", true);
var tsMenu = new Menu("Ezreal - Target Selector", "com.iezreal.ts");
TargetSelector.AddToMenu(tsMenu);
Menu.AddSubMenu(tsMenu);
var orbMenu = new Menu("Ezreal - Orbwalker", "com.iezreal.orbwalker");
_orbwalker = new Orbwalking.Orbwalker(orbMenu);
Menu.AddSubMenu(orbMenu);
var comboMenu = new Menu("Ezreal - Combo", "com.iezreal.combo");
comboMenu.AddModeMenu(
Mode.Combo, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.R }, new[] { true, true, true });
comboMenu.AddManaManager(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.R }, new[] { 35, 35, 10 });
Menu.AddSubMenu(comboMenu);
var harassMenu = new Menu("Ezreal - Harass", "com.iezreal.harass");
harassMenu.AddModeMenu(Mode.Harass, new[] { SpellSlot.Q, SpellSlot.W }, new[] { true, false });
harassMenu.AddManaManager(Mode.Harass, new[] { SpellSlot.Q, SpellSlot.W }, new[] { 35, 20 });
Menu.AddSubMenu(harassMenu);
//TODO skilloptions
var skillOptions = new Menu("Ezreal - Skill Options", "com.iezreal.skilloptions");
skillOptions.AddItem(new MenuItem("autoQ", "Auto Q Immobile").SetValue(false));
skillOptions.AddItem(new MenuItem("rMin", "Min Hit for R").SetValue(new Slider(3, 0, 5)));
var rangeOptions = new Menu("Range Settings", "com.iezreal.skilloptions.range");
{
rangeOptions.AddItem(new MenuItem("qRange", "Min Q Range").SetValue(new Slider(900, 0, 1150)));
rangeOptions.AddItem(new MenuItem("wRange", "Min W Range").SetValue(new Slider(800, 0, 1000)));
rangeOptions.AddItem(new MenuItem("rRange", "Min R Range").SetValue(new Slider(2000, 0, 5000)));
}
skillOptions.AddSubMenu(rangeOptions);
Menu.AddSubMenu(skillOptions);
var farmMenu = new Menu("Ezreal - Farm", "com.iezreal.farm");
var laneclear = new Menu("Laneclear", "com.iezreal.farm.lc");
{
laneclear.AddModeMenu(Mode.Laneclear, new[] { SpellSlot.Q, SpellSlot.R }, new[] { true, false });
laneclear.AddManaManager(Mode.Laneclear, new[] { SpellSlot.Q, SpellSlot.R }, new[] { 35, 35 });
laneclear.AddItem(
new MenuItem("com.iezreal.farm.r.lc.minhit", "Min Minions hit for R").SetValue(
new Slider(10, 1, 20)));
}
//
var lasthit = new Menu("Lasthit", "com.iezreal.farm.lh");
{
lasthit.AddModeMenu(Mode.Lasthit, new[] { SpellSlot.Q }, new[] { true });
lasthit.AddManaManager(Mode.Lasthit, new[] { SpellSlot.Q }, new[] { 35 });
}
var jungleClear = new Menu("Jungleclear", "com.iezreal.farm.jc");
{
jungleClear.AddItem(new MenuItem("com.iezreal.farm.jc.useQ", "Use Q Jungleclear").SetValue(true));
}
farmMenu.AddSubMenu(laneclear);
farmMenu.AddSubMenu(lasthit);
farmMenu.AddSubMenu(jungleClear);
Menu.AddSubMenu(farmMenu);
var miscMenu = new Menu("Ezreal - Misc", "com.iezreal.misc");
miscMenu.AddHitChanceSelector();
miscMenu.AddItem(new MenuItem("com.iezreal.misc.debug", "Debug").SetValue(false));
Menu.AddSubMenu(miscMenu);
var drawMenu = new Menu("Ezreal - Draw", "com.iezreal.drawing");
drawMenu.AddDrawMenu(_spells, System.Drawing.Color.DarkRed);
Menu.AddSubMenu(drawMenu);
Menu.AddToMainMenu();
}
示例8: OnLoad
public void OnLoad(Menu menu)
{
var cName = ObjectManager.Player.ChampionName;
var comboMenu = new Menu(cName + " - Combo", "dzaio.cassiopeia.combo");
comboMenu.AddModeMenu(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E, SpellSlot.R }, new[] { true, true, true, true });
comboMenu.AddManaManager(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E, SpellSlot.R }, new[] { 30, 35, 20, 5 });
var skillOptionMenu = new Menu("Skill Options", "dzaio.cassiopeia.combo.skilloptions");
{
skillOptionMenu.AddItem(new MenuItem("dzaio.cassiopeia.combo.skilloptions.minwenemies", "Min W Enemies").SetValue(new Slider(2, 1, 5)));
skillOptionMenu.AddItem(new MenuItem("dzaio.cassiopeia.combo.skilloptions.onlywnotpoison", "Only W if not poisoned").SetValue(true));
skillOptionMenu.AddItem(new MenuItem("dzaio.cassiopeia.combo.skilloptions.minrenemiesf", "Min R Enemies Facing").SetValue(new Slider(2, 1, 5)));
skillOptionMenu.AddItem(new MenuItem("dzaio.cassiopeia.combo.skilloptions.minrenemiesnf", "Min R Enemies Not facing").SetValue(new Slider(3, 1, 5)));
}
comboMenu.AddSubMenu(skillOptionMenu);
menu.AddSubMenu(comboMenu);
var harrassMenu = new Menu(cName + " - Harrass", "dzaio.cassiopeia.harass");
harrassMenu.AddModeMenu(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.E }, new[] { true, true });
harrassMenu.AddManaManager(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.E }, new[] { 30, 20 });
var autoHarrassMenu = new Menu("AutoHarass", "dzaio.cassiopeia.harass.autoharass");
{
autoHarrassMenu.AddItem(new MenuItem("dzaio.cassiopeia.harass.useqah", "Use Auto Q").SetValue(false));
autoHarrassMenu.AddItem(new MenuItem("dzaio.cassiopeia.harass.qmanaah", "Auto Q Mana").SetValue(new Slider(25)));
}
harrassMenu.AddSubMenu(autoHarrassMenu);
menu.AddSubMenu(harrassMenu);
var farmMenu = new Menu(cName + " - Farm", "dzaio.cassiopeia.farm");
farmMenu.AddModeMenu(Mode.Laneclear, new[] { SpellSlot.Q,SpellSlot.W,SpellSlot.E }, new[] { false,false,false });
farmMenu.AddManaManager(Mode.Laneclear, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E}, new[] { 35,35,35 });
farmMenu.AddItem(new MenuItem("dzaio.cassiopeia.farm.minminions", "Min. Minions for Q/W").SetValue(new Slider(2, 1, 5)));
menu.AddSubMenu(farmMenu);
var miscMenu = new Menu(cName + " - Misc", "dzaio.cassiopeia.misc");
{
miscMenu.AddItem(new MenuItem("dzaio.cassiopeia.misc.aacombo", "Use AA Combo").SetValue(true));
miscMenu.AddItem(new MenuItem("dzaio.cassiopeia.misc.antigp", "Anti Gapcloser R").SetValue(true));
miscMenu.AddItem(new MenuItem("dzaio.cassiopeia.misc.interrupter", "R Interrupter").SetValue(true));
miscMenu.AddItem(new MenuItem("dzaio.cassiopeia.misc.autorturret", "Auto R enemy under tower").SetValue(false));
miscMenu.AddItem(new MenuItem("dzaio.cassiopeia.misc.autorlow", "Auto R lifesaver").SetValue(true));
miscMenu.AddItem(new MenuItem("dzaio.cassiopeia.misc.blockr", "Block R if no hit").SetValue(true));
}
miscMenu.AddHitChanceSelector();
var humanizerMenu = new Menu("Humanizer", "dzaio.cassiopeia.misc.humanizer");
{
humanizerMenu.AddItem(new MenuItem("dzaio.cassiopeia.misc.humanizer.edelay", "E Delay").SetValue(new Slider(300,0, 1500)));
humanizerMenu.AddItem(new MenuItem("dzaio.cassiopeia.misc.humanizer.lcdelay", "Laneclear Delay").SetValue(new Slider(300, 0, 1000)));
humanizerMenu.AddItem(new MenuItem("dzaio.cassiopeia.misc.humanizer.disableaalc", "Disable AA Laneclear").SetValue(false));
}
miscMenu.AddSubMenu(humanizerMenu);
menu.AddSubMenu(miscMenu);
var ksMenu = new Menu(cName + " - Killsteal", "dzaio.cassiopeia.killsteal");
{
ksMenu.AddItem(new MenuItem("dzaio.cassiopeia.killsteal.useq", "Use Q KS").SetValue(true));
ksMenu.AddItem(new MenuItem("dzaio.cassiopeia.killsteal.usee", "Use E KS").SetValue(true));
ksMenu.AddItem(new MenuItem("dzaio.cassiopeia.killsteal.eksmode", "E KS Mode").SetValue(new StringList(new []{"If Poisoned","Always"})));
}
menu.AddSubMenu(ksMenu);
var drawMenu = new Menu(cName + " - Drawings", "dzaio.cassiopeia.drawing");
drawMenu.AddDrawMenu(_spells,Color.Aquamarine);
menu.AddSubMenu(drawMenu);
Game.PrintChat("<b><font color='#FF0000'>[DZAIO]</font></b> <b><font color='#00FF00'>{0}</font></b> loaded! <font color='#FFFFFF'> </font>", "PennyCassio");
}
示例9: SetUpMenu
//.........这里部分代码省略.........
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.qlogic", "Q Logic").SetValue(new StringList(new[] { "Normal", "Kite melees" })));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.smartq", "Try to QE when possible").SetValue(false));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.noaastealth", "Don't AA while stealthed").SetValue(false));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.noqenemies", "Don't Q into enemies").SetValue(false));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.dynamicqsafety", "Use dynamic Q Safety Distance").SetValue(false));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.qspam", "Ignore Q checks").SetValue(false));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.qinrange", "Q For KS").SetValue(true));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.mirin", "Use old 'Don't Q into enemies' check (Mirin) ").SetValue(false));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.walltumble.warning", "Click and hold Walltumble").SetFontStyle(FontStyle.Bold, SharpDX.Color.Red));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.walltumble.warning.2", "It will walk to the nearest Tumble spot and Tumble").SetFontStyle(FontStyle.Bold, SharpDX.Color.Red));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.walltumble", "Tumble Over Wall (WallTumble)").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Press)));
}
var miscEMenu = new Menu("Misc - Condemn", "dz191.vhr.misc.condemn");
{
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.condemnmethod", "Condemn Method").SetValue(new StringList(new[] { "VH Revolution", "VH Reborn", "Marksman/Gosu", "VH Rework", "Shine#" })));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.pushdistance", "E Push Distance").SetValue(new Slider(395, 350, 470)));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.accuracy", "Accuracy (Revolution Only)").SetValue(new Slider(33, 1)));
miscEMenu.AddItem(
new MenuItem("dz191.vhr.misc.condemn.asuna", ">>> Asuna Condemn Settings™ <<<").SetFontStyle(FontStyle.Bold, SharpDX.Color.Yellow).SetValue(false))
.ValueChanged += (s, args) =>
{
if (args.GetNewValue<bool>())
{
Menu.Item("dz191.vhr.misc.condemn.condemnmethod").SetValue(
new StringList(
new[] {
"VH Revolution",
"VH Reborn",
"Marksman/Gosu",
"VH Rework",
"Shine#"
}, 0));
Menu.Item("dz191.vhr.misc.condemn.accuracy").SetValue(new Slider(33, 1));
Menu.Item("dz191.vhr.misc.condemn.pushdistance").SetValue(new Slider(395, 350, 470));
Menu.Item("dz191.vhr.misc.general.antigp").SetValue(false);
LeagueSharp.Common.Utility.DelayAction.Add((int)(Game.Ping / 2f + 250f), () =>
{
Menu.Item("dz191.vhr.misc.condemn.asuna").SetValue(false);
});
}
};
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.enextauto", "E Next Auto").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Toggle)));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.onlystuncurrent", "Only stun current target").SetValue(false));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.autoe", "Auto E").SetValue(false));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.eks", "Smart E KS").SetValue(false));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.noeaa", "Don't E if Target can be killed in X AA").SetValue(new Slider(1, 0, 4)));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.trinketbush", "Trinket Bush on Condemn").SetValue(true));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.ethird", "E 3rd proc in Harass").SetValue(false));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.lowlifepeel", "Peel with E when low health").SetValue(false));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.condemnturret", "Try to Condemn to turret").SetValue(false));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.condemnflag", "Condemn to J4 flag").SetValue(true));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.noeturret", "No E Under enemy turret").SetValue(false));
}
var miscGeneralSubMenu = new Menu("Misc - General", "dz191.vhr.misc.general");
{
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.antigp", "Anti Gapcloser")).SetValue(false);
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.interrupt", "Interrupter").SetValue(true));
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.antigpdelay", "Anti Gapcloser Delay (ms)")).SetValue(new Slider(0, 0, 1000));
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.specialfocus", "Focus targets with 2 W marks").SetValue(false));
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.reveal", "Stealth Reveal (Pink Ward)").SetValue(false));
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.disablemovement", "Disable Orbwalker Movement").SetValue(false));
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.permashow", "PermaShow").SetValue(true)).ValueChanged += (s, args) =>
{
if (args.GetNewValue<bool>())
{
Menu.Item("dz191.vhr.misc.condemn.enextauto").Permashow(true, "E Next Auto");
}
else
{
Menu.Item("dz191.vhr.misc.condemn.enextauto").Permashow(false);
}
};
}
miscMenu.AddSubMenu(miscQMenu);
miscMenu.AddSubMenu(miscEMenu);
miscMenu.AddSubMenu(miscGeneralSubMenu);
Menu.AddSubMenu(miscMenu);
AntiGP.BuildMenu(Menu);
var drawMenu = new Menu("[VHR] Drawing", "dz191.vhr.drawing");
drawMenu.AddDrawMenu(_spells, Color.Red);
drawMenu.AddItem(new MenuItem("dz191.vhr.drawing.drawstun", "Draw Stunnable").SetValue(true));
drawMenu.AddItem(new MenuItem("dz191.vhr.drawing.drawspots", "Draw Spots").SetValue(true));
Menu.AddSubMenu(drawMenu);
Menu.AddItem(new MenuItem("dz191.vhr.info", "VHR by Asuna v." + Assembly.GetExecutingAssembly().GetName().Version));
Menu.Item("dz191.vhr.misc.condemn.enextauto").Permashow(Menu.Item("dz191.vhr.misc.condemn.enextauto").GetValue<KeyBind>().Active, "E Next Auto");
Menu.AddToMainMenu();
}
示例10: OnLoad
void OnLoad()
{
Menu = new Menu("VayneHunter Reborn","VHR",true);
var owMenu = new Menu("VHR Orbwalker", "dz191.vhr.orbwalker");
Orbwalker = new Orbwalking.Orbwalker(owMenu);
Menu.AddSubMenu(owMenu);
var tgMenu = new Menu("VHR Target Selector", "dz191.vhr.targetselector");
TargetSelector.AddToMenu(tgMenu);
Menu.AddSubMenu(tgMenu);
var comboMenu = new Menu("[VHR] Combo", "dz191.vhr.combo");
comboMenu.AddModeMenu(Mode.Combo,new []{SpellSlot.Q,SpellSlot.E,SpellSlot.R},new []{true,true,false});
comboMenu.AddManaManager(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.E, SpellSlot.R }, new[] { 25,20,20 });
Menu.AddSubMenu(comboMenu);
var harassMenu = new Menu("[VHR] Harass", "dz191.vhr.harass");
harassMenu.AddModeMenu(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.E }, new[] { true, true });
harassMenu.AddManaManager(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.E}, new[] { 25, 20 });
Menu.AddSubMenu(harassMenu);
var farmMenu = new Menu("[VHR] Farm", "dz191.vhr.farm");
farmMenu.AddModeMenu(Mode.Farm, new[] { SpellSlot.Q}, new[] { true, true });
farmMenu.AddManaManager(Mode.Farm, new[] { SpellSlot.Q }, new[] { 40 });
Menu.AddSubMenu(farmMenu);
var miscMenu = new Menu("[VHR] Misc", "dz191.vhr.misc");
var miscQMenu = new Menu("Misc - Tumble", "dz191.vhr.misc.tumble");
{
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.smartq", "Try to QE First").SetValue(false));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.noqenemies", "Don't Q into enemies").SetValue(true));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.noaastealth", "Don't AA while stealthed").SetValue(false));
miscQMenu.AddItem(new MenuItem("dz191.vhr.misc.tumble.walltumble", "Tumble Over Wall").SetValue(new KeyBind("Y".ToCharArray()[0],KeyBindType.Press)));
}
var miscEMenu = new Menu("Misc - Condemn", "dz191.vhr.misc.condemn");
{
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.enextauto", "E Next Auto").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Toggle)));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.condemnmethod", "Condemn Method").SetValue(new StringList(new []{"VH Reborn","Marksman/Gosu"})));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.pushdistance", "E Push Dist").SetValue(new Slider(425, 400, 500)));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.condemnturret", "Try to Condemn to turret").SetValue(false));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.condemnflag", "Condemn to J4 flag").SetValue(true));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.autoe", "Auto E").SetValue(false));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.eks", "Smart E Ks").SetValue(true));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.ethird", "E 3rd proc in Harass").SetValue(false));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.noeturret", "No E Under enemy turret").SetValue(true));
miscEMenu.AddItem(new MenuItem("dz191.vhr.misc.condemn.lowlifepeel", "Peel with E when low").SetValue(true));
}
var miscGeneralSubMenu = new Menu("Misc - General", "dz191.vhr.misc.general");
{
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.antigp", "Anti Gapcloser")).SetValue(true);
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.interrupt", "Interrupter").SetValue(true));
miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.specialfocus", "Focus targets with 2 W marks").SetValue(false));
}
miscMenu.AddSubMenu(miscQMenu);
miscMenu.AddSubMenu(miscEMenu);
miscMenu.AddSubMenu(miscGeneralSubMenu);
Menu.AddSubMenu(miscMenu);
var drawMenu = new Menu("[VHR] Drawing", "dz191.vhr.drawing");
drawMenu.AddDrawMenu(_spells,Color.Red);
drawMenu.AddItem(new MenuItem("dz191.vhr.drawing.drawstun", "Draw Stunnable").SetValue(true));
drawMenu.AddItem(new MenuItem("dz191.vhr.drawing.drawspots", "Draw Spots").SetValue(true));
Menu.AddSubMenu(drawMenu);
Menu.AddToMainMenu();
Game.PrintChat("<b><font color='#FF0000'>[VH]</font></b><font color='#FFFFFF'> Reborn loaded! Version: 4.0 </font>");
SetUpEvents();
SetUpSkills();
}