本文整理汇总了C#中Menu.AddLabel方法的典型用法代码示例。如果您正苦于以下问题:C# Menu.AddLabel方法的具体用法?C# Menu.AddLabel怎么用?C# Menu.AddLabel使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Menu
的用法示例。
在下文中一共展示了Menu.AddLabel方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Init
public static void Init()
{
Drawing.OnDraw += Drawing_OnDraw;
WardjumpMenu = Program.menu.AddSubMenu("WardJump Settings", "wardJumpSettings");
WardjumpMenu.AddGroupLabel("Wardjump Settings");
var a = WardjumpMenu.Add("alwaysMax", new CheckBox("Always Jump To Max Range"));
var b = WardjumpMenu.Add("onlyToCursor", new CheckBox("Always Jump To Cursor", false));
a.OnValueChange += delegate { if (a.CurrentValue) b.CurrentValue = false; };
b.OnValueChange += delegate { if (b.CurrentValue) a.CurrentValue = false; };
WardjumpMenu.AddSeparator();
WardjumpMenu.AddLabel("Time Modifications");
WardjumpMenu.Add("checkTime", new Slider("Position Reset Time (ms)", 100, 1, 2000));
WardjumpMenu.AddSeparator();
WardjumpMenu.AddLabel("Keybind Settings");
var wj = WardjumpMenu.Add("wardjumpKeybind",
new KeyBind("WardJump", false, KeyBind.BindTypes.HoldActive, 'Z'));
WardjumpMenu.Add("drawWJ", new CheckBox("Draw WardJump"));
GameObject.OnCreate += GameObject_OnCreate;
Game.OnTick += delegate
{
if (wj.CurrentValue)
{
WardjumpActive = true;
WardJump(Game.CursorPos, a.CurrentValue, b.CurrentValue);
return;
}
WardjumpActive = false;
};
}
示例2: LoadingOnOnLoadingComplete
private static void LoadingOnOnLoadingComplete(EventArgs args)
{
//Menu
BaseUltMenu = MainMenu.AddMenu("BaseUlt+", "baseUltMenu");
BaseUltMenu.AddGroupLabel("BaseUlt+ General");
BaseUltMenu.AddSeparator();
BaseUltMenu.Add("baseult", new CheckBox("BaseUlt"));
BaseUltMenu.Add("showrecalls", new CheckBox("Show Recalls"));
BaseUltMenu.Add("showallies", new CheckBox("Show Allies"));
BaseUltMenu.Add("showenemies", new CheckBox("Show Enemies"));
BaseUltMenu.Add("checkcollision", new CheckBox("Check Collision"));
BaseUltMenu.AddSeparator();
BaseUltMenu.Add("timeLimit", new Slider("FOW Time Limit (SEC)", 20, 0, 120));
BaseUltMenu.AddSeparator();
BaseUltMenu.Add("nobaseult", new KeyBind("No BaseUlt while", false, KeyBind.BindTypes.HoldActive, 32));
BaseUltMenu.AddSeparator();
BaseUltMenu.Add("x", new Slider("Offset X", 0, -500, 500));
BaseUltMenu.Add("y", new Slider("Offset Y", 0, -500, 500));
BaseUltMenu.AddGroupLabel("BaseUlt+ Targets");
foreach (var unit in HeroManager.Enemies)
{
BaseUltMenu.Add("target" + unit.ChampionName, new CheckBox(string.Format("{0} ({1})", unit.ChampionName, unit.Name)));
}
BaseUltMenu.AddGroupLabel("BaseUlt+ Credits");
BaseUltMenu.AddLabel("By: LunarBlue");
BaseUltMenu.AddLabel("Testing: FinnDev");
// Initialize the Addon
OfficialAddon.Initialize();
// Listen to the two main events for the Addon
Game.OnUpdate += args1 => OfficialAddon.OnUpdate();
Drawing.OnEndScene += args1 => OfficialAddon.OnEndScene();
Teleport.OnTeleport += OfficialAddon.OnTeleport;
}
示例3: Config
static Config()
{
smiterMenu = EloBuddy.SDK.Menu.MainMenu.AddMenu(MenuName, MenuName.ToLower());
smiterMenu.AddGroupLabel("Welcome to VodkaGaren");
smiterMenu.AddLabel("Created by Haker");
smiterMenu.AddLabel("Feel free to send me any suggestions you might have.");
smiterMenu.AddGroupLabel("Smite Status");
_smiteEnabled = smiterMenu.Add("vSmiteEnabled", new CheckBox("Enabled always"));
_smiteEnabledToggle = smiterMenu.Add("vSmiteEnabledToggle", new KeyBind("Enabled (Toggle Key)", false, KeyBind.BindTypes.PressToggle, 'K'));
_smiteEnemies = smiterMenu.Add("vSmiteEnemies", new CheckBox("KS enemies with Smite"));
smiterMenu.AddGroupLabel("Monsters to smite");
smiterMenu.AddLabel("Select monsters you want to smite");
smiterMenu.Add("vSmiteSRU_Baron", new CheckBox("Baron"));
smiterMenu.Add("vSmiteSRU_Dragon", new CheckBox("Dragon"));
smiterMenu.Add("vSmiteSRU_Red", new CheckBox("Red"));
smiterMenu.Add("vSmiteSRU_Blue", new CheckBox("Blue"));
smiterMenu.Add("vSmiteSRU_Gromp", new CheckBox("Gromp"));
smiterMenu.Add("vSmiteSRU_Murkwolf", new CheckBox("Murkwolf"));
smiterMenu.Add("vSmiteSRU_Krug", new CheckBox("Krug"));
smiterMenu.Add("vSmiteSRU_Razorbeak", new CheckBox("Razorbeak"));
smiterMenu.Add("vSmiteSru_Crab", new CheckBox("Crab"));
smiterMenu.Add("vSmiteSRU_RiftHerald", new CheckBox("Rift Herald", false));
smiterMenu.AddGroupLabel("Drawing");
_drawSmiteStatus = smiterMenu.Add("vSmiteDrawSmiteStatus", new CheckBox("Draw Smite Status"));
_drawSmiteable = smiterMenu.Add("vSmiteDrawSmiteable", new CheckBox("Draw Smiteable Monsters"));
_drawRange = smiterMenu.Add("vSmiteDrawRange", new CheckBox("Draw Smite Range"));
DebugMenu.Initialize();
}
示例4: Loading_OnLoadingComplete
private static void Loading_OnLoadingComplete(EventArgs args)
{
Menu = MainMenu.AddMenu("Recall Tracker", "RecallTracker");
Menu.AddGroupLabel("Recall Tracker");
Menu.AddLabel("X/Y Settings");
Menu.Add("recallX", new Slider("X Offset", 0, -500, 500));
Menu.Add("recallY", new Slider("Y Offset", 0, -500, 500));
Menu.AddLabel("Misc Settings");
var a = Menu.Add("resetDefault", new CheckBox("Reset X/Y", false));
Menu.Add("alwaysDrawFrame", new CheckBox("Always Draw Frame", false));
Menu.Add("drawPlayerNames", new CheckBox("Draw Player Names (All for One)", false));
Menu.AddLabel("Who To Track:");
Menu.Add("trackAllies", new CheckBox("Track Allies", false));
Menu.Add("trackMe", new CheckBox("Track Me", false));
a.OnValueChange += delegate
{
Menu["recallX"].Cast<Slider>().CurrentValue = 0;
Menu["recallY"].Cast<Slider>().CurrentValue = 0;
};
TextureLoader.Load("top", Resources.TopHUD);
TextureLoader.Load("bottom", Resources.BottomHUD);
TextureLoader.Load("back", Resources.Back);
TopSprite = new Sprite(() => TextureLoader["top"]);
BottomSprite = new Sprite(() => TextureLoader["bottom"]);
BackSprite = new Sprite(() => TextureLoader["back"]);
Text = new Text("", new Font(FontFamily.GenericSansSerif, 8, FontStyle.Bold)) { Color = System.Drawing.Color.AntiqueWhite };
TextTwo = new Text("", new Font(FontFamily.GenericSansSerif, 8, FontStyle.Bold)) { Color = System.Drawing.Color.AntiqueWhite };
Teleport.OnTeleport += Teleport_OnTeleport;
Drawing.OnEndScene += Drawing_OnEndScene;
}
示例5: StartMenu
public static void StartMenu()
{
Brand = MainMenu.AddMenu("Branddy", "branddy");
Brand.AddLabel("Brand add-on by selluvia");
Brand.AddLabel("Version 0.1 Beta");
ComboMenu = Brand.AddSubMenu("Combo", "combo");
ComboMenu.AddGroupLabel("Combo Settings");
ComboMenu.Add("useQ", new CheckBox("Use Q"));
ComboMenu.Add("useW", new CheckBox("Use W"));
ComboMenu.Add("useE", new CheckBox("Use E"));
ComboMenu.Add("useR", new CheckBox("Use R"));
ComboMenu.AddSeparator();
ComboMenu.Add("smartQ", new CheckBox("Use Smart Q"));
HarassMenu = Brand.AddSubMenu("Harass", "harass");
HarassMenu.AddGroupLabel("Harass Settings");
HarassMenu.Add("UseWharass", new CheckBox("Use W"));
HarassMenu.Add("UseEharass", new CheckBox("Use E"));
HarassMenu.Add("manam", new Slider("Min. mana to harass", 40, 0, 100));
KS = Brand.AddSubMenu("KS Options", "ks");
KS.AddGroupLabel("KillSteal Settings");
KS.Add("useigniteks", new CheckBox("Use Ignite"));
KS.Add("useqks", new CheckBox("Use Q"));
KS.Add("usewks", new CheckBox("Use W"));
KS.Add("userks", new CheckBox("Use R"));
Draw = Brand.AddSubMenu("Drawing", "draw");
Draw.AddGroupLabel("Drawing Settings");
Draw.Add("drawQ", new CheckBox("Draw Q", true));
Draw.Add("drawW", new CheckBox("Draw W", true));
Draw.Add("drawE", new CheckBox("Draw E", true));
Draw.Add("drawR", new CheckBox("Draw R", true));
}
示例6: Config
static Config()
{
smiterMenu = EloBuddy.SDK.Menu.MainMenu.AddMenu(MenuName, MenuName.ToLower());
smiterMenu.AddGroupLabel("Welcome to VodkaSmite");
smiterMenu.AddLabel("Created by Haker");
smiterMenu.AddLabel("Feel free to send me any suggestions you might have.");
smiterMenu.AddGroupLabel("Smite Status");
_smiteEnabled = smiterMenu.Add("vSmiteEnabled", new CheckBox("Enabled always"));
_smiteEnabledToggle = smiterMenu.Add("vSmiteEnabledToggle", new KeyBind("Enabled (Toggle Key)", false, KeyBind.BindTypes.PressToggle, 'K'));
_smiteEnemies = smiterMenu.Add("vSmiteEnemies", new CheckBox("KS with Smite"));
_smiteEnemiesChallenging = smiterMenu.Add("vSmiteEnemiesChallenging", new CheckBox("Smite enemies with Challenging Smite on AA"));
_keepSmiteNumber = smiterMenu.Add("vSmiteKeepSmiteNumber",
new Slider("Smite enemies only if you have more than {0} charges", 1, 0, 2));
smiterMenu.AddGroupLabel("Monsters to smite");
smiterMenu.AddLabel("Select monsters you want to smite");
smiterMenu.Add("vSmiteSRU_Baron", new CheckBox("Baron Nashor"));
smiterMenu.Add("vSmiteSRU_Dragon_Elder", new CheckBox("Elder Dragon"));
smiterMenu.Add("vSmiteSRU_Dragon_Air", new CheckBox("Air Dragon"));
smiterMenu.Add("vSmiteSRU_Dragon_Earth", new CheckBox("Fire Dragon"));
smiterMenu.Add("vSmiteSRU_Dragon_Fire", new CheckBox("Earth Dragon"));
smiterMenu.Add("vSmiteSRU_Dragon_Water", new CheckBox("Water Dragon"));
smiterMenu.Add("vSmiteSRU_Red", new CheckBox("Red"));
smiterMenu.Add("vSmiteSRU_Blue", new CheckBox("Blue"));
smiterMenu.Add("vSmiteSRU_Gromp", new CheckBox("Gromp"));
smiterMenu.Add("vSmiteSRU_Murkwolf", new CheckBox("Murkwolf"));
smiterMenu.Add("vSmiteSRU_Krug", new CheckBox("Krug"));
smiterMenu.Add("vSmiteSRU_Razorbeak", new CheckBox("Razorbeak"));
smiterMenu.Add("vSmiteSru_Crab", new CheckBox("Crab"));
smiterMenu.Add("vSmiteSRU_RiftHerald", new CheckBox("Rift Herald"));
smiterMenu.AddGroupLabel("Drawing");
_drawSmiteStatus = smiterMenu.Add("vSmiteDrawSmiteStatus", new CheckBox("Draw Smite Status"));
_drawSmiteable = smiterMenu.Add("vSmiteDrawSmiteable", new CheckBox("Draw Smiteable Monsters"));
_drawRange = smiterMenu.Add("vSmiteDrawRange", new CheckBox("Draw Smite Range"));
DebugMenu.Initialize();
}
示例7: Loading_OnLoadingComplete
private static void Loading_OnLoadingComplete(EventArgs args)
{
//Menu
BaseUltMenu = MainMenu.AddMenu("BaseUlt-3x", "BUP");
BaseUltMenu.Add("baseult", new CheckBox("BaseUlt"));
BaseUltMenu.Add("showrecalls", new CheckBox("Show Recalls"));
BaseUltMenu.Add("checkcollision", new CheckBox("Check Collision"));
BaseUltMenu.AddSeparator();
BaseUltMenu.Add("timeLimit", new Slider("FOW Time Limit (SEC)", 0, 0, 120));
BaseUltMenu.AddSeparator();
BaseUltMenu.Add("nobaseult", new KeyBind("No BaseUlt while", false, KeyBind.BindTypes.HoldActive, 32));
BaseUltMenu.AddSeparator();
BaseUltMenu.AddGroupLabel("BaseUlt-3x Targets");
foreach (var unit in EntityManager.Heroes.Enemies)
{
BaseUltMenu.Add("target" + unit.ChampionName,
new CheckBox(string.Format("{0} ({1})", unit.ChampionName, unit.Name)));
}
BaseUltMenu.AddGroupLabel("BaseUlt-3x - By BestAkaliAfrica");
BaseUltMenu.AddLabel("Based on Roach_ version of LunarBlue Addon");
BaseUltMenu.AddLabel("FinnDev, MrOwl, Beaving, DanThePman, Gabe2901");
Chat.Print("<font color = \"#6B9FE3\">BaseUlt-3x</font><font color = \"#E3AF6B\"> by BestAkaliAfrica</font>. You like ? Buy me a coffee :p");
// Initialize the Addon
OfficialAddon.Initialize();
// Listen to the two main events for the Addon
Game.OnUpdate += args1 => OfficialAddon.Game_OnUpdate();
Drawing.OnPreReset += args1 => OfficialAddon.Drawing_OnPreReset(args1);
Drawing.OnPostReset += args1 => OfficialAddon.Drawing_OnPostReset(args1);
Drawing.OnDraw += args1 => OfficialAddon.Drawing_OnDraw(args1);
Teleport.OnTeleport += OfficialAddon.Teleport_OnTeleport;
}
示例8: Loading_OnLoadingComplete
private static void Loading_OnLoadingComplete(EventArgs args)
{
menu = MainMenu.AddMenu("Perfect Ward", "PerfectWard");
menu.AddGroupLabel("Perfect Ward");
menu.AddLabel("By Coman3");
menu.AddSeparator();
if (Game.MapId == GameMapId.SummonersRift)
{
menu.AddDynamicControl("Enable", new DynamicCheckBox("Enable", "Enable Perfect Ward", true));
menu.AddDynamicControl("PlaceWard",
new DynamicKeyBind("PlaceWard", "Place a perfect ward", false, KeyBind.BindTypes.HoldActive))
.OnValueChange += Program_PlaceWard_OnValueChange;
menu.AddDynamicControl("PlacePinkWard",
new DynamicKeyBind("PlacePinkWard", "Place a perfect Pink ward", false, KeyBind.BindTypes.HoldActive))
.OnValueChange += Program_PlacePinkWard_OnValueChange;
menu.AddDynamicControl("WardSpotDrawDistance",
new DynamicSlider("WardSpotDrawDistance", "Draw ward spot range from player (value * 1000 )", 3, 1,
20));
menu.AddDynamicControl("WardSnapRadius",
new DynamicSlider("WardSnapRadius", "Distance to snap to large circle from mouse position", 100, 50,
300));
Game.OnUpdate += Game_OnUpdate;
Wards.CreateWardSpotObjects();
}
else
{
menu.AddLabel("Disabled! (Map is not Summoners Rift)");
}
}
示例9: InitializeMenuConfig
static void InitializeMenuConfig(Menu subMenu)
{
if (Initialized)
{
return;
}
ShielderMenu = subMenu;
subMenu.AddGroupLabel("Auto Shielder");
subMenu.AddLabel("This submenu is responsible for auto-shielding.");
subMenu.AddLabel("It takes into account player mana based on Mana Manager settings.");
subMenu.AddGroupLabel("Basic Autoattacks");
subMenu.Add("ShielderOnEnemyAA", new CheckBox("Shield against enemy AA"));
subMenu.Add("ShielderOnEnemyTurretAA", new CheckBox("Shield against turret attacks"));
subMenu.Add("ShielderOnAllyAA", new CheckBox("Boost ally AA damage"));
subMenu.Add("ShielderOnAllyTurretAA", new CheckBox("Boost turret AA damage against heroes"));
subMenu.AddGroupLabel("Spell Casts");
subMenu.Add("ShielderOnEnemySpell", new CheckBox("Shield against enemy spells"));
subMenu.Add("ShielderOnAllySpell", new CheckBox("Boost ally spell damage"));
subMenu.AddGroupLabel("Delay");
subMenu.Add("ShielderDelay", new Slider("Delay shielding by {0} ms", 50, 0, 500));
subMenu.Add("ShielderDelayRandom", new Slider("Randomize delay by adding up to {0} ms", 50, 0, 500));
subMenu.AddGroupLabel("Ally Whitelist");
subMenu.AddLabel("Choose which allies to shield.");
foreach (var ally in EntityManager.Heroes.Allies)
{
subMenu.Add("ShielderAllyWhitelist" + ally.ChampionName, new CheckBox(ally.ChampionName));
}
subMenu.AddGroupLabel("Ally Spell Whitelist");
subMenu.AddLabel("Choose which allied spells to boost with shield.");
foreach (var ally in EntityManager.Heroes.Allies)
{
var allySpells =
SpellDatabase.DamageBoostSpells.Where(
s => s.Champion.Equals(ally.ChampionName, StringComparison.CurrentCultureIgnoreCase));
if (allySpells.ToList().Count > 0)
{
subMenu.AddLabel(ally.ChampionName);
foreach (var spell in allySpells)
{
subMenu.Add("ShielderAllySpellWhitelist" + spell.SpellName, new CheckBox(spell.SpellName));
}
}
}
subMenu.AddGroupLabel("Enemy Spell Whitelist");
subMenu.AddLabel("Choose which enemy spells to shield against.");
foreach (var enemy in EntityManager.Heroes.Enemies)
{
var enemySpells =
SpellDatabase.TargetedSpells.Where(
s => s.Champion.Equals(enemy.ChampionName, StringComparison.CurrentCultureIgnoreCase));
if (enemySpells.ToList().Count > 0)
{
subMenu.AddLabel(enemy.ChampionName);
foreach (var spell in enemySpells)
{
subMenu.Add("ShielderEnemySpellWhitelist" + spell.SpellName, new CheckBox(spell.SpellName));
}
}
}
}
示例10: Game_OnStart
private static void Game_OnStart(EventArgs args)
{
Menu = MainMenu.AddMenu("BlackBuddy", "BlackBuddy");
Menu.AddGroupLabel("Black Feeder EloBuddy");
Menu.AddLabel("from woody with love <3");
Menu.AddSeparator();
Menu.AddLabel("V1.0");
Menu.AddSeparator();
Menu.AddLabel("clone from BlackFeeder");
/*BlackBud = Menu.AddSubMenu("BlackBud", "BlackBud");
BlackBud.AddGroupLabel("BlackBud Feeder");
BlackBud.AddLabel("Mastery spam requires level 4+ on the champion to use!");
BlackBud.AddLabel("Spamming emotes will reduce orbwalker efficency!");
var EmoteSpamList = Emote.Add("Emote Spamming", new Slider("EmoteList", 0, 0, 3));
EmoteSpamList.OnValueChange += delegate
{
EmoteSpamList.DisplayName = "Spamming " + new[] { "Laugh", "Taunt", "Joke", "Mastery" }
[EmoteSpamList.CurrentValue];
};
Emote.Add("EmotePressHotkey", new KeyBind("Press To Spam", false, KeyBind.BindTypes.HoldActive, 'T'));
Emote.Add("EmoteToggleHotkey", new KeyBind("Toggle To Spam", false, KeyBind.BindTypes.PressToggle, 'L'));
*/
Game.OnUpdate += OnUpdate;
}
示例11: Init
private static void Init(EventArgs args)
{
var slot = Player.Instance.GetSpellSlotFromName("summonerflash");
switch (slot)
{
case SpellSlot.Summoner1:
case SpellSlot.Summoner2:
Flash = new Spell.Targeted(slot, 425);
break;
}
if (Flash == null) return;
Menu = MainMenu.AddMenu("Flash Assistant", "flash.assistant", Player.Instance.ChampionName);
Menu.AddGroupLabel("Flash Assistant for " + Player.Instance.ChampionName);
Menu.AddLabel("Spaghetti code done in 10 minutes >_< by iRaxe");
Menu.AddSeparator();
Menu.AddLabel("Set your desired KeyBind for the Flash Assistant");
Menu.Add("flash.bind",
new KeyBind("Flash!", false, KeyBind.BindTypes.HoldActive, 'G'))
.OnValueChange += OnFlash;
Notifications.Show(new SimpleNotification("Flash Assistant",
"Hey nUUbZ ! Im helping you now, blame iRaxe!"));
}
示例12: InitMenu
public static void InitMenu()
{
Menu = MainMenu.AddMenu("MAC - " + G_charname, "vania");
Menu.AddGroupLabel("MAC - " + G_charname);
Menu.AddLabel("Version: " + G_version);
Menu.AddSeparator();
Menu.AddLabel("By Mr Articuno");
/*Brain.Common.Selector.Init(Menu);*/
DrawMenu = Menu.AddSubMenu("Draw - " + G_charname, "vaniaDraw");
DrawMenu.AddGroupLabel("Draw");
DrawMenu.Add("drawDisable", new CheckBox("Turn off all drawings", false));
DrawMenu.Add("drawNameLine", new CheckBox("Show names on line", true));
DrawMenu.Add("drawAARange", new CheckBox("Draw Auto Attack Range", true));
DrawMenu.Add("drawQ", new CheckBox("Draw Q Range", true));
DrawMenu.Add("drawE", new CheckBox("Draw E Range", true));
DrawMenu.Add("drawCondemnPos", new CheckBox("Draw Condemn Position", true));
ComboMenu = Menu.AddSubMenu("Combo - " + G_charname, "vaniaCombo");
ComboMenu.AddGroupLabel("Combo");
ComboMenu.Add("comboQ", new CheckBox("Allow Q usage in combo", true));
ComboMenu.Add("comboE", new CheckBox("Allow E usage in combo", true));
ComboMenu.Add("comboR", new CheckBox("Allow R usage in combo", true));
ComboMenu.AddGroupLabel("Q Settings");
ComboMenu.AddLabel("Q Direction: Checked - Target, Unchecked Cursor");
ComboMenu.Add("qsQDirection", new CheckBox("Q Direction", false));
ComboMenu.AddLabel("Q Usage: Checked - Before Auto Attack, Unchecked After Auto Attack");
ComboMenu.Add("qsQUsage", new CheckBox("Q Usage", false));
ComboMenu.Add("qsQOutAA", new CheckBox("Q if out of AA range", true));
ComboMenu.AddGroupLabel("R Settings");
ComboMenu.Add("rsMinEnemiesForR", new Slider("Min Enemies for cast R: ", 2, 1, 5));
ComboMenu.AddGroupLabel("Misc");
/*ComboMenu.Add("advTargetSelector", new CheckBox("Use Advanced Target Selector", false));*/
ComboMenu.Add("forceSilverBolt", new CheckBox("Force Attack 2 Stacked Target", false));
ComboMenu.Add("checkKillabeEnemyPassive", new CheckBox("Double Check if enemy is killabe", true));
CondemnMenu = Menu.AddSubMenu("Condemn - " + G_charname, "vaniaCondemn");
CondemnMenu.Add("interruptDangerousSpells", new CheckBox("Interrupt Dangerous Spells", true));
CondemnMenu.Add("antiGapCloser", new CheckBox("Anti Gap Closer", true));
CondemnMenu.Add("fastCondemn",
new KeyBind("Fast Condemn HotKey", false, KeyBind.BindTypes.PressToggle, 'W'));
CondemnMenu.AddGroupLabel("Auto Condemn");
foreach (var enemy in ObjectManager.Get<AIHeroClient>().Where(a => a.IsEnemy))
{
CondemnMenu.Add("dnCondemn" + enemy.ChampionName.ToLower(), new CheckBox("Don't Condemn " + enemy.ChampionName, false));
}
CondemnMenu.AddGroupLabel("Priority Condemn");
foreach (var enemy in ObjectManager.Get<AIHeroClient>().Where(a => a.IsEnemy))
{
CondemnMenu.Add("priorityCondemn" + enemy.ChampionName.ToLower(), new Slider(enemy.ChampionName + " Priority", 1, 1, 5));
}
CondemnMenu.Add("condenmErrorMargin", new Slider("Subtract Condemn Push by: ", 20, 0, 100));
KSMenu = Menu.AddSubMenu("KS - " + G_charname, "vaniaKillSteal");
KSMenu.AddGroupLabel("Kill Steal");
KSMenu.Add("ksQ", new CheckBox("Use Q if killable", false));
KSMenu.Add("ksE", new CheckBox("Use E if killable", false));
}
示例13: Loading_OnLoadingComplete
private static void Loading_OnLoadingComplete(EventArgs args)
{
TargetSelector2.init(null);
Bootstrap.Init(null);
Q = new Spell.Active(SpellSlot.Q);
W = new Spell.Targeted(SpellSlot.W, 620); // reduced the range so it will rarely miss the combo
AliMenu = MainMenu.AddMenu("NerdStar", "NerdStar");
AliMenu.AddGroupLabel("NerdStar");
AliMenu.AddSeparator();
AliMenu.AddLabel("Nerd Series - Downloading More Ram");
AliMenu.AddLabel("Berb @ EloBuddy");
AliMenu.AddSeparator();
AliMenu.AddLabel("What is this?");
AliMenu.AddLabel("This is a very simple Alistar Combo addon. All it does it do the Q>W combo for you!");
ComboMenu = AliMenu.AddSubMenu("Combo", "Combo");
ComboMenu.AddGroupLabel("Combo Settings");
ComboMenu.AddSeparator();
ComboMenu.Add("doCombo", new KeyBind("Do W+Q Combo", false, KeyBind.BindTypes.HoldActive, 'a'));
MiscMenu = AliMenu.AddSubMenu("Misc", "Misc");
MiscMenu.AddGroupLabel("Misc. Settings");
MiscMenu.AddSeparator();
MiscMenu.Add("interrupt", new CheckBox("Use Spells to Interrupt"));
Game.OnTick += Game_OnTick;
Interrupter.OnInterruptableSpell += StateHandler.Interrupter_OnInterruptableSpell;
EloBuddy.Chat.Print("ALISTAR COMBO NÃO FUNCIONANDO DIREITO");
}
示例14: Loading_OnLoadingComplete
private static void Loading_OnLoadingComplete(EventArgs args)
{
Hacks.AntiAFK = true;
Bootstrap.Init(null);
myMana = ObjectManager.Player.Mana;
_Flash = new Spell.Active(SpellSlot.Summoner1, 425);
_Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear);
_W = new Spell.Skillshot(SpellSlot.W, 550, SkillShotType.Linear);
_E = new Spell.Skillshot(SpellSlot.E, 290, SkillShotType.Circular);
_R = new Spell.Targeted(SpellSlot.R, 675);
Menu = MainMenu.AddMenu("The Shadow", "theshadow");
Menu.AddGroupLabel("The Shadow");
Menu.AddLabel("By Buddy");
Menu.AddSeparator();
Menu.AddLabel("VERS=0.2BETA RELEASE 1");
ComboMenu = Menu.AddSubMenu("Combo Menu", "combomenu");
ComboMenu.AddGroupLabel("Combo Settings");
ComboMenu.Add("useQ", new CheckBox("Use Q"));
ComboMenu.Add("useW", new CheckBox("Use W"));
ComboMenu.Add("useE", new CheckBox("Use E"));
ComboMenu.Add("useR", new CheckBox("Use R"));
DrawMenu = Menu.AddSubMenu("Drawings Menu", "drawingsmenu");
DrawMenu.AddGroupLabel("Drawings Menu");
DrawMenu.Add("drawQ", new CheckBox("Draw Q"));
DrawMenu.Add("drawW", new CheckBox("Draw W"));
DrawMenu.Add("drawE", new CheckBox("Draw E"));
DrawMenu.Add("drawR", new CheckBox("Draw R"));
DrawMenu.Add("drawText", new CheckBox("Draw Text"));
DrawMenu.Add("drawFlash", new CheckBox("Draw Flash"));
HarassMenu = Menu.AddSubMenu("Harass Menu", "harassmenu");
HarassMenu.AddGroupLabel("Harass Menu");
HarassMenu.Add("hUseQ", new CheckBox("Use Q"));
HarassMenu.Add("hUseW", new CheckBox("Use W"));
HarassMenu.Add("hUseE", new CheckBox("Use E"));
FarmMenu = Menu.AddSubMenu("Farm Menu", "farmmenu");
FarmMenu.AddLabel("Wave Clear");
FarmMenu.Add("fwUseQ", new CheckBox("Use Q"));
FarmMenu.Add("fwUseE", new CheckBox("Use E"));
FarmMenu.AddSeparator();
FarmMenu.AddLabel("Last Hit");
FarmMenu.Add("flUseQ", new CheckBox("Use Q"));
FarmMenu.Add("flUseE", new CheckBox("Use E"));
Game.OnTick += Game_OnTick;
Drawing.OnDraw += Draw.OnDraw;
Chat.Print("<font color='#00FF00'>The Shadow by Buddy Loaded</font>");
Chat.Print("<font color='#00FF00'>VERS=</font><font color='#ffffff'>0.2BETA RELEASE 1</font>");
}
示例15: MethodVerifier
static MethodVerifier()
{
#region Menu Creation
// Create the menu
Menu = Program.Menu.AddSubMenu("Method verifier");
Menu.AddGroupLabel("Core Method Verifier");
Menu.Add("recursive", new CheckBox("Recursively check event sender", false)).CurrentValue = false;
Menu.AddLabel("Note: This might cause your game to crash! Only use this if you know what you are doing!");
Menu.Add("basicAttack", new CheckBox("Obj_AI_Base.OnBasicAttack", false)).CurrentValue = false;
Menu.Add("spellCast", new CheckBox("Obj_AI_Base.OnSpellCast", false)).CurrentValue = false;
Menu.Add("processSpell", new CheckBox("Obj_AI_Base.OnProcessSpellCast", false)).CurrentValue = false;
Menu.Add("stopCast", new CheckBox("Spellbook.OnStopCast", false)).CurrentValue = false;
Menu.Add("newPath", new CheckBox("Obj_AI_Base.OnNewPath", false)).CurrentValue = false;
Menu.Add("animation", new CheckBox("Obj_AI_Base.OnPlayAnimation (laggy)", false)).CurrentValue = false;
Menu.Add("create", new CheckBox("GameObject.OnCreate", false)).CurrentValue = false;
Menu.Add("delete", new CheckBox("GameObject.OnDelete", false)).CurrentValue = false;
Menu.Add("buffGain", new CheckBox("Obj_AI_Base.OnBuffGain", false)).CurrentValue = false;
Menu.Add("buffLose", new CheckBox("Obj_AI_Base.OnBuffLose", false)).CurrentValue = false;
Menu.Add("issueOrder", new CheckBox("Player.OnIssueOrder", false)).CurrentValue = false;
Menu.AddSeparator();
Menu.AddLabel(string.Format("Note: All of those tests will create a folder on your Desktop called '{0}'!", Path.GetFileName(Program.ResultPath)));
#endregion
#region Event Handling
// Listen to required events
Game.OnTick += OnTick;
#endregion
}