public void InitMenu() { ComboMenu = MainMenu.Add(new Menu("Luciancombomenu", "Combo Settings: ")); UseQCombo = ComboMenu.Add(new MenuBool("Lucianqcombo", "Use Q", true)); UseWCombo = ComboMenu.Add(new MenuBool("Lucianwcombo", "Use W", true)); IgnoreWCollision = ComboMenu.Add(new MenuBool("Lucianignorewcollision", "Ignore W collision (for passive)", false)); UseEMode = ComboMenu.Add(new MenuList <string>("Lucianecombo", "E Mode", new[] { "Side", "Cursor", "Enemy", "Never" })); UseEAntiMelee = ComboMenu.Add(new MenuBool("Lucianecockblocker", "Use E to get away from melees", true)); UseEGapclose = ComboMenu.Add(new MenuBool("Lucianegoham", "Use E to go HAM", false)); SemiAutoRKey = ComboMenu.Add( new MenuKeyBind("Luciansemiauto", "Semi-Auto R Key", Keys.R, KeyBindType.Press)); BlockManualR = this.ComboMenu.Add(new MenuBool("Lucianblockmanualr", "Block manual R", true)); ForceR = ComboMenu.Add(new MenuBool("Lucianrcombo", "Auto R", true)); HarassMenu = MainMenu.Add(new Menu("Lucianharassmenu", "Harass Settings: ")); UseQExtended = HarassMenu.Add(new MenuBool("Lucianqextended", "Use Extended Q", true)); QExManaPercent = HarassMenu.Add(new MenuSlider("Lucianqexmanapercent", "Only use extended Q if mana > %", 75, 0, 100)); QExtendedBlacklist = HarassMenu.Add(new Menu("Lucianqexblacklist", "Extended Q Blacklist: ")); foreach (var ally in ObjectManager.Get <Obj_AI_Hero>().Where(h => h.IsEnemy)) { var championName = ally.CharData.BaseSkinName; QExtendedBlacklist.Add(new MenuBool("qexbl" + championName, championName, false)); } UseQHarass = HarassMenu.Add(new MenuBool("Lucianqharass", "Use Q Harass", true)); UsePassiveOnEnemy = HarassMenu.Add(new MenuBool("Lucianpassivefocus", "Use Passive On Champions", true)); JungleMenu = MainMenu.Add(new Menu("Lucianjunglemenu", "Jungle Settings: ")); QJg = JungleMenu.Add(new MenuBool("Lucianqjungle", "Use Q", true)); WJg = JungleMenu.Add(new MenuBool("Lucianwjungle", "Use W", true)); EJg = JungleMenu.Add(new MenuBool("Lucianejungle", "Use E", true)); QKS = new MenuBool("Lucianqks", "Use Q for KS", true); MainMenu.Attach(); }
public void InitMenu() { ComboMenu = MainMenu.Add(new Menu("caitcombomenu", "Combo Settings: ")); UseQCombo = ComboMenu.Add(new MenuBool("caitqcombo", "Use Q", true)); UseWCombo = ComboMenu.Add(new MenuBool("caitwcombo", "Use W")); UseECombo = ComboMenu.Add(new MenuBool("caitecombo", "Use E", true)); UseRCombo = ComboMenu.Add(new MenuKeyBind("caitrcombo", "Use R", Keys.R, KeyBindType.Press)); AutoWConfig = MainMenu.Add(new Menu("caitautow", "W Settings: ")); UseWInterrupt = AutoWConfig.Add(new MenuBool("caitusewinterrupt", "Use W to Interrupt", true)); new Utils.Logic.PositionSaver(AutoWConfig, W); FocusOnHeadShotting = MainMenu.Add(new MenuBool("caitfocusonheadshottingenemies", "Try to save Headshot for poking", true)); AlwaysQAfterE = MainMenu.Add(new MenuBool("caitalwaysqaftere", "Always Q after E (EQ combo)", true)); QHarassMode = MainMenu.Add( new MenuList <string>( "caitqharassmode", "Q HARASS MODE", new[] { "FULLDAMAGE", "ALLOWMINIONS", "DISABLED" })); UseEAntiGapclose = MainMenu.Add(new MenuBool("caiteantigapclose", "Use E AntiGapclose", false)); UseEOnEnemiesCloserThanSlider = MainMenu.Add(new MenuSlider("caitecomboshit", "Use E on enemies closer than", 770, 200, 770)); OnlyUseEOnMelees = MainMenu.Add(new MenuBool("caiteonlymelees", "Only use E on melees", false)); DrawRange = MainMenu.Add(new MenuSlider("caitdrawrange", "Draw a circle with radius: ", 800, 0, 1240)); MainMenu.Attach(); }
public static MenuKeyBind Add(this Menu menu, string name, KeyCode key, Action <bool> valueChanged, KeybindType type = KeybindType.Press) { var component = new MenuKeyBind(menu.InternalName + "." + name, name, key, type); menu.Add(component); component.OnValueChanged += (sender, args) => valueChanged(args.GetNewValue <MenuKeyBind>().Value); valueChanged(component.Value); return(component); }
static Keys() { Menu = Config.Menu.Add(new Menu("Keys", "Keys")); _comboKey = Menu.Add(new MenuKeyBind("ComboKey", "Combo", System.Windows.Forms.Keys.Space, KeyBindType.Press)); _harassKey = Menu.Add(new MenuKeyBind("HarassKey", "Harass", System.Windows.Forms.Keys.C, KeyBindType.Press)); _laneClearKey = Menu.Add(new MenuKeyBind("LaneClearKey", "LaneClear", System.Windows.Forms.Keys.V, KeyBindType.Press)); _jugnleClearKey = Menu.Add(new MenuKeyBind("JungleClearKey", "JungleClear", System.Windows.Forms.Keys.V, KeyBindType.Press)); _fleeKey = Menu.Add(new MenuKeyBind("FleeKey", "Flee", System.Windows.Forms.Keys.T, KeyBindType.Press)); }
public PositionSaver(Menu menu, Spell spellToUse) { _core = new PositionSaverCore(); _isEnabled = menu.Add(new MenuBool("positionsaverenabled", "Auto use in custom positions", true)); _saveKey = menu.Add(new MenuKeyBind("positionsaversavekey", "Save cursor pos as custom pos!", Keys.I, KeyBindType.Press)); _deleteOneKey = menu.Add(new MenuKeyBind("positionsaverdeleteone", "Delete cursor position", Keys.J, KeyBindType.Press)); _deleteKey = menu.Add(new MenuKeyBind("positionsaverpurge", "Delete all positions", Keys.Delete, KeyBindType.Press)); _spellToUse = spellToUse; Drawing.OnDraw += OnDraw; }
public void InitMenu() { UseQ = MainMenu.Add(new MenuBool("Ezrealq", "Use Q", true)); QFarm = MainMenu.Add(new MenuBool("Ezrealqfarm", "Use Q Farm", true)); QMana = MainMenu.Add(new MenuSlider("Ezrealqfarmmana", "Q Farm Mana", 80, 0, 100)); UseWMode = MainMenu.Add(new MenuList <string>("Ezrealw", "Use W", new [] { "COMBO", "ALWAYS", "NEVER" })); UseRKey = MainMenu.Add(new MenuKeyBind("Ezrealr", "Use R Key: ", Keys.R, KeyBindType.Press)); UseSheenCombo = MainMenu.Add(new MenuBool("Ezrealsheencombo", "Use SHEEN Combo", true)); MainMenu.Attach(); }
private void InitMenu() { UseQComboStringList = MainMenu.Add(new MenuList <string>("useqcombo", "Q Combo MODE: ", new [] { "CHALLENGER", "BRONZE", "NEVER" })); UseWComboBool = MainMenu.Add(new MenuBool("usewcombo", "Use W Combo", true)); UseEComboStringList = MainMenu.Add(new MenuList <string>("useecombo", "Use E Combo", new [] { "CHALLENGER", "BRONZE", "NEVER" })); UseEKSBool = MainMenu.Add(new MenuBool("useeks", "Use E KS if Q on CD", true)); UseRComboKeybind = MainMenu.Add(new MenuKeyBind("usercombo", "Use R Combo", Keys.R, KeyBindType.Press)); QGapcloseModeStringList = MainMenu.Add(new MenuList <string>("qgc", "Q Gapcloser Mode", new[] { "ONLY-CLOSEST-TO-TARGET", "ALL-KILLABLE-MINIONS" })); MinDistForQGapcloser = MainMenu.Add(new MenuSlider("mindistqgapcloser", "Min Distance for Q Gapclose", 350, 325, 625)); QFarmModeStringList = MainMenu.Add(new MenuList <string>("useqfarm", "Q Farm Mode: ", new[] { "ONLY-UNKILLABLE", "ALWAYS", "NEVER" })); MainMenu.Attach(); }
public override void LoadkeyMenu() { QEkey = new MenuKeyBind("QEkey", "Q+E To Mouse Key", Keys.T, KeyBindType.Press); AUTOQE = new MenuKeyBind("AUTOQE", "AUTO Q+E Stun target", Keys.X, KeyBindType.Press); HKey = new MenuKeyBind("HKey", "Harass Toggle", Keys.Z, KeyBindType.Toggle); Rkey = new MenuKeyBind("RKey", "R to best target", Keys.R, KeyBindType.Press); _keyMenu = new EnsoulSharp.SDK.MenuUI.Menu("Keys", "Keys Menu"); { _keyMenu.Add(QEkey); _keyMenu.Add(AUTOQE); _keyMenu.Add(HKey); _keyMenu.Add(Rkey); } }
private static void GameOnOnWndProc(WndProcEventArgs wndProcEvent) { if (MenuGUI.IsChatOpen()) { return; } if (wndProcEvent.Message == (uint)WindowsMessages.WM_KEYUP) { MenuKeyBind tapMenu = (MenuKeyBind)MenuManager.Menu["rMode"]["tap"]["key"]; if (wndProcEvent.WParam == (ulong)tapMenu.Key && IsCastingR()) { TapKeyPressed = true; } } }
private void InitMenu() { ComboMenu = MainMenu.Add(new Menu("combomenu", "Combo Settings: ")); CondemnMenu = ComboMenu.Add(new Menu("condemnmenu", "Condemn Settings: ")); HarassMenu = MainMenu.Add(new Menu("harassmenu", "Harass Settings: ")); FarmMenu = MainMenu.Add(new Menu("farmmenu", "Farm Settings: ")); DrawMenu = MainMenu.Add(new Menu("drawmenu", "Drawing Settings: ")); UseQBool = ComboMenu.Add(new MenuBool("useq", "Auto Q", true)); QModeStringList = ComboMenu.Add(new MenuList <string>("qmode", "Q Mode: ", new[] { "PRADA", "MARKSMAN", "VHR", "SharpShooter" })); UseQAntiGapcloserStringList = ComboMenu.Add(new MenuList <string>("qantigc", "Use Q Antigapcloser", new[] { "NEVER", "E-NOT-READY", "ALWAYS" })); TryToFocus2WBool = ComboMenu.Add(new MenuBool("focus2w", "Try To Focus 2W", false)); UseEBool = CondemnMenu.Add(new MenuBool("usee", "Auto E", true)); EDelaySlider = CondemnMenu.Add(new MenuSlider("edelay", "E Delay (in ms): ", 0, 0, 100)); EModeStringList = CondemnMenu.Add(new MenuList <string>("emode", "E Mode: ", new[] { "PRADASMART", "PRADAPERFECT", "MARKSMAN", "SHARPSHOOTER", "GOSU", "VHR", "PRADALEGACY", "FASTEST", "OLDPRADA" })); UseEInterruptBool = CondemnMenu.Add(new MenuBool("useeinterrupt", "Use E To Interrupt", true)); UseEAntiGapcloserBool = CondemnMenu.Add(new MenuBool("useeantigapcloser", "Use E AntiGapcloser", true)); UseEWhenMeleesNearBool = CondemnMenu.Add(new MenuBool("ewhenmeleesnear", "Use E when Melee near", false)); EPushDistanceSlider = CondemnMenu.Add(new MenuSlider("epushdist", "E Push Distance: ", 425, 300, 475)); EHitchanceSlider = CondemnMenu.Add(new MenuSlider("ehitchance", "Condemn Hitchance", 50, 0, 100)); SemiAutomaticCondemnKey = CondemnMenu.Add(new MenuKeyBind("semiautoekey", "Semi Automatic Condemn", Keys.E, KeyBindType.Press)); DontAttackWhileInvisibleAndMeelesNearBool = ComboMenu.Add(new MenuBool("dontattackwhileinvisible", "Smart Invisible Attacking", true)); UseRBool = ComboMenu.Add(new MenuBool("user", "Use R In Combo", false)); UseEAs3rdWProcBool = HarassMenu.Add(new MenuBool("usee3rdwproc", "Use E as 3rd W Proc Before LVL: ", false)); UseQBonusOnEnemiesNotCS = HarassMenu.Add(new MenuBool("useqonenemiesnotcs", "Use Q Bonus On ENEMY not CS", false)); UseQOnlyAt2WStacksBool = HarassMenu.Add(new MenuBool("useqonlyon2stackedenemies", "Use Q If Enemy Have 2W Stacks", false)); UseQFarm = FarmMenu.Add(new MenuBool("useqfarm", "Use Q")); UseEJungleFarm = FarmMenu.Add(new MenuBool("useejgfarm", "Use E Jungle", true)); DrawWStacksBool = DrawMenu.Add(new MenuBool("drawwstacks", "Draw W Stacks", true)); MainMenu.Attach(); }
public TargetLockingManager(TargetSelectorImpl ins) { this.TSInstance = ins; this.Config = new Menu("TargetLocking", "Target Locking") { new MenuSeperator("info1", "Click Target To Focus"), new MenuSeperator("info2", "1st Click = Priority Target"), new MenuSeperator("info3", "2nd Click = Only Attack Target"), new MenuSeperator("info4", "3rd Click = Magnet To Target (Melee Only)"), new MenuBool("FocusSelected", "Focus Selected Target"), }; var resetKey = new MenuKeyBind("resetkey", "Reset Target", KeyCode.None, KeybindType.Press).SetToolTip("Resets the selected target upon releasing key"); resetKey.OnValueChanged += this.ResetKey_OnValueChanged; this.Config.Add(resetKey); this.TSInstance.Config.Add(this.Config); Game.OnWndProc += this.Game_OnWndProc; }
public void InitMenu() { UseQ = MainMenu.Add(new MenuBool("Ezrealq", "Use Q", true)); QFarm = MainMenu.Add(new MenuBool("Ezrealqfarm", "Use Q Farm", true)); QMana = MainMenu.Add(new MenuSlider("Ezrealqfarmmana", "Q Farm Mana", 80, 0, 100)); UseWMode = MainMenu.Add(new MenuList<string>("Ezrealw", "Use W", new [] {"COMBO", "ALWAYS", "NEVER"})); SemiAutoRKey = MainMenu.Add(new MenuKeyBind("Ezrealr", "Use R Key: ", Keys.R, KeyBindType.Press)); BlockManualR = MainMenu.Add(new MenuBool("Ezrealblockmanualr", "Block manual R", true)); UseSheenCombo = MainMenu.Add(new MenuBool("Ezrealsheencombo", "Use SHEEN Combo", true)); MainMenu.Attach(); }
/// <summary> /// Builds a new handler for the given <see cref="MenuKeyBind" />. /// </summary> /// <param name="component">The <see cref="MenuKeyBind" /> where this handler is responsible for.</param> /// <returns>The handler</returns> public ADrawable<MenuKeyBind> BuildKeyBindHandler(MenuKeyBind component) { return new LightKeyBind2(component); }
public static void OnLoad() { var target = TargetSelector.GetTarget(objPlayer.GetRealAutoAttackRange()); Q = new Spell(SpellSlot.Q, objPlayer.GetRealAutoAttackRange(target)); Q1 = new Spell(SpellSlot.Q, 1300); Q.SetTargetted(0.5f, float.MaxValue); Q1.SetSkillshot(0.5f, 130f, 0f, true, SkillshotType.Line); W = new Spell(SpellSlot.W, 1175f); W.SetSkillshot(1f, 130, 1000, false, SkillshotType.Line); R = new Spell(SpellSlot.R, 3000f); summonerFlash = objPlayer.GetSpellSlot("SummonerFlash"); #region Menu Init myMenu = new Menu(objPlayer.CharacterName, "New Senna", true); var comboMenu = new Menu("comboMenu", "Combo") { MenuSettings.Combo.setcombo, //MenuSettings.Combo.comboSeparator, MenuSettings.Combo.useQ, MenuSettings.Combo.useW //MenuSettings.Combo.useE, //MenuSettings.Combo.useR, //MenuSettings.Combo.useIgnite, //MenuSettings.Combo.wSettingsSeparator, //MenuSettings.Combo.wMode, //MenuSettings.Combo.eSettingsSeparator, //MenuSettings.Combo.eImmobile, //MenuSettings.Combo.eMode, }; myMenu.Add(comboMenu); var harassMenu = new Menu("harassMenu", "Harass") { MenuSettings.Harass.setharass, //MenuSettings.Harass.harassSeparator, MenuSettings.Harass.useQ, MenuSettings.Harass.useW //MenuSettings.Harass.wSettingsSeparator, //MenuSettings.Harass.wMode, //MenuSettings.Harass.manaSeperator, //MenuSettings.Harass.minMana, }; myMenu.Add(harassMenu); var laneClearMenu = new Menu("laneClearMenu", "Lane Clear") { MenuSettings.LaneClear.setlaneclear, //MenuSettings.LaneClear.laneClearSeperator, MenuSettings.LaneClear.useQ //MenuSettings.LaneClear.useW, //MenuSettings.LaneClear.qSettingsSeperator, //MenuSettings.LaneClear.autostackClear, //MenuSettings.LaneClear.qStackMode //MenuSettings.LaneClear.wSettingsSeperator, //MenuSettings.LaneClear.minHitsW, //MenuSettings.LaneClear.manaSeperator, //MenuSettings.LaneClear.minManaQ, //MenuSettings.LaneClear.minManaW, }; myMenu.Add(laneClearMenu); var jungleClearMenu = new Menu("jungleClearMenu", "Jungle Clear") { MenuSettings.JungleClear.setjungleclear, //MenuSettings.JungleClear.jungleClearSeparator, MenuSettings.JungleClear.useQ, MenuSettings.JungleClear.useW //MenuSettings.JungleClear.useE, //MenuSettings.JungleClear.qSettingsSeparator, //MenuSettings.JungleClear.qMode, //MenuSettings.JungleClear.wSettingsSeparator, //MenuSettings.JungleClear.wMode, //MenuSettings.JungleClear.eSettingsSeparator, //MenuSettings.JungleClear.eMode, //MenuSettings.JungleClear.manaSeperator, //MenuSettings.JungleClear.minManaQ, //MenuSettings.JungleClear.minManaW, //MenuSettings.JungleClear.minManaE, }; myMenu.Add(jungleClearMenu); var lastHitMenu = new Menu("lastHitMenu", "Last Hit") { MenuSettings.LastHit.setlasthit, //MenuSettings.LastHit.lastHitSeparator, MenuSettings.LastHit.useQ //MenuSettings.LastHit.qSettingsSeperator, //MenuSettings.LastHit.autostackClear, //MenuSettings.LastHit.qStackMode }; myMenu.Add(lastHitMenu); var miscMenu = new Menu("miscMenu", "Misc") { MenuSettings.Misc.setmisc //MenuSettings.Misc.miscSeparator, //MenuSettings.Misc.interrupter, //MenuSettings.Misc.gapcloser, //new Menu("killStealMenu", "KillSteal") //{ //MenuSettings.Misc.killStealSeparator, //MenuSettings.Misc.killstealEnable, //MenuSettings.Misc.killstealQ, //MenuSettings.Misc.killstealW, //MenuSettings.Misc.killstealR, //MenuSettings.Misc.killstealIgnite, //}, }; myMenu.Add(miscMenu); var drawingMenu = new Menu("drawingMenu", "Drawings") { MenuSettings.Drawing.setdraw //MenuSettings.Drawing.drawingSeparator, //MenuSettings.Drawing.disableDrawings, //MenuSettings.Drawing.drawDmg, //MenuSettings.Drawing.rangesSeperator, //MenuSettings.Drawing.drawQ, //MenuSettings.Drawing.drawW, //MenuSettings.Drawing.drawE, //MenuSettings.Drawing.drawR, }; myMenu.Add(drawingMenu); var SemiR = new MenuKeyBind("semir", "Semi R Key", System.Windows.Forms.Keys.T, KeyBindType.Press); myMenu.Add(SemiR); myMenu.Attach(); #endregion Tick.OnTick += OnUpdate; Drawing.OnDraw += OnDraw; Drawing.OnEndScene += OnEndScene; Orbwalker.OnAction += OnOrbwalkerAction; Interrupter.OnInterrupterSpell += OnInterrupterSpell; Gapcloser.OnGapcloser += OnGapcloser; }
/// <summary> /// Builds a new handler for the given <see cref="MenuKeyBind" />. /// </summary> /// <param name="component">The <see cref="MenuKeyBind" /> where this handler is responsible for.</param> /// <returns>The handler</returns> public ADrawable<MenuKeyBind> BuildKeyBindHandler(MenuKeyBind component) { return new DefaultKeyBind(component); }
/// <summary> /// Builds the menu keybind renderer. /// </summary> /// <param name="keybind">The keybind.</param> /// <returns>IRenderManager<MenuKeybind>.</returns> public abstract IRenderManager <MenuKeyBind> BuildMenuKeyBindRenderer(MenuKeyBind keybind);
/// <summary> /// Initializes a new instance of the <see cref="BlueKeyBind2" /> class. /// </summary> /// <param name="component"> /// The menu component /// </param> public BlueKeyBind2(MenuKeyBind component) : base(component) { }
private void InitMenu() { UseQComboStringList = MainMenu.Add(new MenuList<string>("useqcombo", "Q Combo MODE: ", new [] {"CHALLENGER", "BRONZE", "NEVER"})); UseWComboBool = MainMenu.Add(new MenuBool("usewcombo", "Use W Combo", true)); UseEComboStringList = MainMenu.Add(new MenuList<string>("useecombo", "Use E Combo", new [] {"CHALLENGER", "BRONZE", "NEVER"})); UseEKSBool = MainMenu.Add(new MenuBool("useeks", "Use E KS if Q on CD", true)); UseRComboKeybind = MainMenu.Add(new MenuKeyBind("usercombo", "Use R Combo", Keys.R, KeyBindType.Press)); QGapcloseModeStringList = MainMenu.Add(new MenuList<string>("qgc", "Q Gapcloser Mode", new[] {"ONLY-CLOSEST-TO-TARGET", "ALL-KILLABLE-MINIONS"})); MinDistForQGapcloser = MainMenu.Add(new MenuSlider("mindistqgapcloser", "Min Distance for Q Gapclose", 350, 325, 625)); QFarmModeStringList = MainMenu.Add(new MenuList<string>("useqfarm", "Q Farm Mode: ", new[] { "ONLY-UNKILLABLE", "ALWAYS", "NEVER" })); MainMenu.Attach(); }
private void InitMenu() { ComboMenu = MainMenu.Add(new Menu("combomenu", "Combo Settings: ")); CondemnMenu = ComboMenu.Add(new Menu("condemnmenu", "Condemn Settings: ")); HarassMenu = MainMenu.Add(new Menu("harassmenu", "Harass Settings: ")); FarmMenu = MainMenu.Add(new Menu("farmmenu", "Farm Settings: ")); DrawMenu = MainMenu.Add(new Menu("drawmenu", "Drawing Settings: ")); UseQBool = ComboMenu.Add(new MenuBool("useq", "Auto Q", true)); QModeStringList = ComboMenu.Add(new MenuList<string>("qmode", "Q Mode: ", new[] { "PRADA", "MARKSMAN", "VHR", "SharpShooter" })); UseQAntiGapcloserStringList = ComboMenu.Add(new MenuList<string>("qantigc", "Use Q Antigapcloser", new[] { "NEVER", "E-NOT-READY", "ALWAYS" })); TryToFocus2WBool = ComboMenu.Add(new MenuBool("focus2w", "Try To Focus 2W", false)); UseEBool = CondemnMenu.Add(new MenuBool("usee", "Auto E", true)); EDelaySlider = CondemnMenu.Add(new MenuSlider("edelay", "E Delay (in ms): ", 0, 0, 100)); EModeStringList = CondemnMenu.Add(new MenuList<string>("emode", "E Mode: ", new[] { "PRADASMART", "PRADAPERFECT", "MARKSMAN", "SHARPSHOOTER", "GOSU", "VHR", "PRADALEGACY", "FASTEST", "OLDPRADA" })); UseEInterruptBool = CondemnMenu.Add(new MenuBool("useeinterrupt", "Use E To Interrupt", true)); UseEAntiGapcloserBool = CondemnMenu.Add(new MenuBool("useeantigapcloser", "Use E AntiGapcloser", true)); UseEWhenMeleesNearBool = CondemnMenu.Add(new MenuBool("ewhenmeleesnear", "Use E when Melee near", false)); EPushDistanceSlider = CondemnMenu.Add(new MenuSlider("epushdist", "E Push Distance: ", 425, 300, 475)); EHitchanceSlider = CondemnMenu.Add(new MenuSlider("ehitchance", "Condemn Hitchance", 50, 0, 100)); SemiAutomaticCondemnKey = CondemnMenu.Add(new MenuKeyBind("semiautoekey", "Semi Automatic Condemn", Keys.E, KeyBindType.Press)); DontAttackWhileInvisibleAndMeelesNearBool = ComboMenu.Add(new MenuBool("dontattackwhileinvisible", "Smart Invisible Attacking", true)); UseRBool = ComboMenu.Add(new MenuBool("user", "Use R In Combo", false)); UseEAs3rdWProcBool = HarassMenu.Add(new MenuBool("usee3rdwproc", "Use E as 3rd W Proc Before LVL: ", false)); UseQBonusOnEnemiesNotCS = HarassMenu.Add(new MenuBool("useqonenemiesnotcs", "Use Q Bonus On ENEMY not CS", false)); UseQOnlyAt2WStacksBool = HarassMenu.Add(new MenuBool("useqonlyon2stackedenemies", "Use Q If Enemy Have 2W Stacks", false)); UseQFarm = FarmMenu.Add(new MenuBool("useqfarm", "Use Q")); UseEJungleFarm = FarmMenu.Add(new MenuBool("useejgfarm", "Use E Jungle", true)); DrawWStacksBool = DrawMenu.Add(new MenuBool("drawwstacks", "Draw W Stacks", true)); MainMenu.Attach(); }
public void InitMenu() { ComboMenu = MainMenu.Add(new Menu("Luciancombomenu", "Combo Settings: ")); UseQCombo = ComboMenu.Add(new MenuBool("Lucianqcombo", "Use Q", true)); UseWCombo = ComboMenu.Add(new MenuBool("Lucianwcombo", "Use W", true)); IgnoreWCollision = ComboMenu.Add(new MenuBool("Lucianignorewcollision", "Ignore W collision (for passive)", false)); UseEMode = ComboMenu.Add(new MenuList<string>("Lucianecombo", "E Mode", new[] {"Side", "Cursor", "Enemy", "Never"})); UseEAntiMelee = ComboMenu.Add(new MenuBool("Lucianecockblocker", "Use E to get away from melees", true)); UseEGapclose = ComboMenu.Add(new MenuBool("Lucianegoham", "Use E to go HAM", false)); SemiAutoRKey = ComboMenu.Add( new MenuKeyBind("Luciansemiauto", "Semi-Auto R Key", Keys.R, KeyBindType.Press)); BlockManualR = this.ComboMenu.Add(new MenuBool("Lucianblockmanualr", "Block manual R", true)); ForceR = ComboMenu.Add(new MenuBool("Lucianrcombo", "Auto R", true)); HarassMenu = MainMenu.Add(new Menu("Lucianharassmenu", "Harass Settings: ")); UseQExtended = HarassMenu.Add(new MenuBool("Lucianqextended", "Use Extended Q", true)); QExManaPercent = HarassMenu.Add(new MenuSlider("Lucianqexmanapercent", "Only use extended Q if mana > %", 75, 0, 100)); QExtendedBlacklist = HarassMenu.Add(new Menu("Lucianqexblacklist", "Extended Q Blacklist: ")); foreach (var ally in ObjectManager.Get<Obj_AI_Hero>().Where(h => h.IsEnemy)) { var championName = ally.CharData.BaseSkinName; QExtendedBlacklist.Add(new MenuBool("qexbl" + championName, championName, false)); } UseQHarass = HarassMenu.Add(new MenuBool("Lucianqharass", "Use Q Harass", true)); UsePassiveOnEnemy = HarassMenu.Add(new MenuBool("Lucianpassivefocus", "Use Passive On Champions", true)); JungleMenu = MainMenu.Add(new Menu("Lucianjunglemenu", "Jungle Settings: ")); QJg = JungleMenu.Add(new MenuBool("Lucianqjungle", "Use Q", true)); WJg = JungleMenu.Add(new MenuBool("Lucianwjungle", "Use W", true)); EJg = JungleMenu.Add(new MenuBool("Lucianejungle", "Use E", true)); QKS = new MenuBool("Lucianqks", "Use Q for KS", true); MainMenu.Attach(); }
public LeeSin() { var spellConfig = new SpellConfig(); spellConfig.Load(); var insecManager = new InsecManager(spellConfig); var wardtracker = new WardTracker(spellConfig); var wardmanager = new WardManager(wardtracker); var wardjump = new WardJump(wardtracker, wardmanager, spellConfig); var insec = new Insec(wardtracker, wardmanager, spellConfig, insecManager); var kickFlash = new KickFlash(spellConfig, insecManager); var combo = new Combo(wardmanager, spellConfig, wardtracker); var harass = new Harass(wardmanager, spellConfig); var jungle = new JungleClear(wardmanager, spellConfig); var lane = new LaneClear(spellConfig); var lasthit = new Lasthit(spellConfig); var killsteal = new Killsteal(spellConfig); var drawManager = new DrawManager(spellConfig, insecManager, new Dmg(spellConfig)); var mainmenu = new Menu("main", "Adept AIO", true); mainmenu.Attach(); spellConfig.InsecMode = new OrbwalkerMode("Insec", KeyCode.T, Global.TargetSelector.GetSelectedTarget, insec.OnKeyPressed); spellConfig.WardjumpMode = new OrbwalkerMode("Wardjump", KeyCode.G, null, wardjump.OnKeyPressed); spellConfig.KickFlashMode = new OrbwalkerMode("Kick Flash", KeyCode.A, null, kickFlash.OnKeyPressed); spellConfig.InsecMode.MenuItem.OnValueChanged += (sender, args) => insec.Enabled = args.GetNewValue <MenuKeyBind>().Value; spellConfig.WardjumpMode.MenuItem.OnValueChanged += (sender, args) => wardjump.Enabled = args.GetNewValue <MenuKeyBind>().Value; spellConfig.KickFlashMode.MenuItem.OnValueChanged += (sender, args) => kickFlash.Enabled = args.GetNewValue <MenuKeyBind>().Value; Global.Orbwalker.AddMode(spellConfig.InsecMode); Global.Orbwalker.AddMode(spellConfig.WardjumpMode); Global.Orbwalker.AddMode(spellConfig.KickFlashMode); Global.Orbwalker.Attach(mainmenu); var insecMenu = new Menu("Insec", "Insec"); var insecBk = new MenuKeyBind("BK", "Bubba Kush Toggle", KeyCode.L, KeybindType.Toggle); var insecF = new MenuBool("Flash", "Enable Flash"); var insecObject = new MenuBool("Object", "Use Q On Minions").SetToolTip("Uses Q to gapclose to every minion"); var insecQLast = new MenuBool("Last", "Use Q After Insec").SetToolTip("Only possible if no minions near target"); var insecPosition = new MenuList("Position", "Insec Position", new[] { "Ally Turret", "Ally Hero" }, 0); var insecKick = new MenuList("Kick", "Kick Type: ", new[] { "Flash R", "R Flash" }, 1); insecMenu.Add(insecBk); insecMenu.Add(insecF); insecMenu.Add(insecObject); insecMenu.Add(insecQLast); insecMenu.Add(insecPosition); insecMenu.Add(insecKick); mainmenu.Add(insecMenu); Temp.IsBubbaKush = insec.Bk = insecMenu["BK"].Enabled; insec.FlashEnabled = insecMenu["Flash"].Enabled; insec.ObjectEnabled = insecMenu["Object"].Enabled; insec.QLast = insecMenu["Last"].Enabled; insecManager.InsecPositionValue = insecMenu["Position"].Value; insecManager.InsecKickValue = insecMenu["Kick"].Value; insecBk.OnValueChanged += (sender, args) => { insec.Bk = args.GetNewValue <MenuKeyBind>().Value; Temp.IsBubbaKush = args.GetNewValue <MenuKeyBind>().Value; }; insecF.OnValueChanged += (sender, args) => insec.FlashEnabled = args.GetNewValue <MenuBool>().Value; insecObject.OnValueChanged += (sender, args) => insec.ObjectEnabled = args.GetNewValue <MenuBool>().Value; insecQLast.OnValueChanged += (sender, args) => insec.QLast = args.GetNewValue <MenuBool>().Value; insecPosition.OnValueChanged += (sender, args) => insecManager.InsecPositionValue = args.GetNewValue <MenuList>().Value; insecKick.OnValueChanged += (sender, args) => insecManager.InsecKickValue = args.GetNewValue <MenuList>().Value; var comboMenu = new Menu("Combo", "Combo"); var comboTurret = new MenuBool("Turret", "Don't Q2 Into Turret"); var comboQ = new MenuBool("Q", "Use Q"); var comboQ2 = new MenuBool("Q2", "Use Q2"); var comboW = new MenuBool("W", "Use W"); var comboWard = new MenuBool("Ward", "Use Wards"); var comboE = new MenuBool("E", "Use E"); foreach (var b in new List <MenuBool> { comboTurret, comboQ, comboQ2, comboW, comboWard, comboE }) { comboMenu.Add(b); } mainmenu.Add(comboMenu); combo.TurretCheckEnabled = comboMenu["Turret"].Enabled; combo.Q1Enabled = comboMenu["Q"].Enabled; combo.Q2Enabled = comboMenu["Q2"].Enabled; combo.WEnabled = comboMenu["W"].Enabled; combo.WardEnabled = comboMenu["Ward"].Enabled; combo.EEnabled = comboMenu["E"].Enabled; comboTurret.OnValueChanged += (sender, args) => combo.TurretCheckEnabled = args.GetNewValue <MenuBool>().Value; comboQ.OnValueChanged += (sender, args) => combo.Q1Enabled = args.GetNewValue <MenuBool>().Value; comboQ2.OnValueChanged += (sender, args) => combo.Q2Enabled = args.GetNewValue <MenuBool>().Value; comboW.OnValueChanged += (sender, args) => combo.WEnabled = args.GetNewValue <MenuBool>().Value; comboWard.OnValueChanged += (sender, args) => combo.WardEnabled = args.GetNewValue <MenuBool>().Value; comboE.OnValueChanged += (sender, args) => combo.EEnabled = args.GetNewValue <MenuBool>().Value; var harassMenu = new Menu("Harass", "Harass"); var harassQ = new MenuBool("Q", "Use Q"); var harassQ2 = new MenuBool("Q2", "Use Q2"); var harassMode = new MenuList("Mode", "W Mode: ", new[] { "Away", "W Self" }, 0); var harassE = new MenuBool("E", "Use E"); var harassE2 = new MenuBool("E2", "Use E2"); harassMenu.Add(harassQ); harassMenu.Add(harassQ2); harassMenu.Add(harassMode); harassMenu.Add(harassE); harassMenu.Add(harassE2); mainmenu.Add(harassMenu); harass.Q1Enabled = harassMenu["Q"].Enabled; harass.Q2Enabled = harassMenu["Q2"].Enabled; harass.Mode = harassMenu["Mode"].Value; harass.EEnabled = harassMenu["E"].Enabled; harass.E2Enabled = harassMenu["E2"].Enabled; harassQ.OnValueChanged += (sender, args) => harass.Q1Enabled = args.GetNewValue <MenuBool>().Value; harassQ2.OnValueChanged += (sender, args) => harass.Q2Enabled = args.GetNewValue <MenuBool>().Value; harassMode.OnValueChanged += (sender, args) => harass.Mode = args.GetNewValue <MenuList>().Value; harassE.OnValueChanged += (sender, args) => harass.EEnabled = args.GetNewValue <MenuBool>().Value; harassE2.OnValueChanged += (sender, args) => harass.E2Enabled = args.GetNewValue <MenuBool>().Value; var jungleMenu = new Menu("Jungle", "Jungle"); var jungleSteal = new MenuBool("Steal", "Steal Legendary"); var jungleSmite = new MenuBool("Smite", "Smite Big Mobs"); var jungleBlue = new MenuBool("Blue", "Smite Blue Buff"); var jungleQ = new MenuBool("Q", "Q"); var jungleW = new MenuBool("W", "W"); var jungleE = new MenuBool("E", "E"); foreach (var b in new List <MenuBool> { jungleSteal, jungleSmite, jungleBlue, jungleQ, jungleW, jungleE }) { jungleMenu.Add(b); } mainmenu.Add(jungleMenu); jungle.StealEnabled = jungleMenu["Steal"].Enabled; jungle.SmiteEnabled = jungleMenu["Smite"].Enabled; jungle.BlueEnabled = jungleMenu["Blue"].Enabled; jungle.Q1Enabled = jungleMenu["Q"].Enabled; jungle.WEnabled = jungleMenu["W"].Enabled; jungle.EEnabled = jungleMenu["E"].Enabled; jungleSteal.OnValueChanged += (sender, args) => jungle.StealEnabled = args.GetNewValue <MenuBool>().Value; jungleSmite.OnValueChanged += (sender, args) => jungle.Q1Enabled = args.GetNewValue <MenuBool>().Value; jungleBlue.OnValueChanged += (sender, args) => jungle.BlueEnabled = args.GetNewValue <MenuBool>().Value; jungleQ.OnValueChanged += (sender, args) => jungle.Q1Enabled = args.GetNewValue <MenuBool>().Value; jungleW.OnValueChanged += (sender, args) => jungle.WEnabled = args.GetNewValue <MenuBool>().Value; jungleE.OnValueChanged += (sender, args) => jungle.EEnabled = args.GetNewValue <MenuBool>().Value; var laneMenu = new Menu("Lane", "Lane"); var laneCheck = new MenuBool("Check", "Don't Clear When Enemies Nearby"); var laneQ = new MenuBool("Q", "Q"); var laneW = new MenuBool("W", "W"); var laneE = new MenuBool("E", "E"); foreach (var b in new List <MenuBool> { laneCheck, laneQ, laneW, laneE }) { laneMenu.Add(b); } mainmenu.Add(laneMenu); lane.CheckEnabled = laneMenu["Check"].Enabled; lane.Q1Enabled = laneMenu["Q"].Enabled; lane.WEnabled = laneMenu["W"].Enabled; lane.EEnabled = laneMenu["E"].Enabled; laneCheck.OnValueChanged += (sender, args) => lane.CheckEnabled = args.GetNewValue <MenuBool>().Value; laneQ.OnValueChanged += (sender, args) => lane.Q1Enabled = args.GetNewValue <MenuBool>().Value; laneW.OnValueChanged += (sender, args) => lane.WEnabled = args.GetNewValue <MenuBool>().Value; laneE.OnValueChanged += (sender, args) => lane.EEnabled = args.GetNewValue <MenuBool>().Value; var lasthitMenu = new Menu("Lasthit", "Lasthit"); var lasthitEnabled = new MenuBool("Enabled", "Enabled"); lasthitMenu.Add(lasthitEnabled); mainmenu.Add(lasthitMenu); lasthit.Enabled = lasthitMenu["Enabled"].Enabled; lasthitEnabled.OnValueChanged += (sender, args) => lasthit.Enabled = args.GetNewValue <MenuBool>().Value; var ksMenu = new Menu("Killsteal", "Killsteal"); var ksIgnite = new MenuBool("Ignite", "Ignite"); var ksSmite = new MenuBool("Smite", "Smite"); var ksQ = new MenuBool("Q", "Q"); var ksE = new MenuBool("E", "E"); var ksR = new MenuBool("R", "R"); foreach (var b in new List <MenuBool> { ksIgnite, ksSmite, ksQ, ksE, ksR }) { ksMenu.Add(b); } mainmenu.Add(ksMenu); killsteal.IgniteEnabled = ksMenu["Ignite"].Enabled; killsteal.SmiteEnabled = ksMenu["Smite"].Enabled; killsteal.QEnabled = ksMenu["Q"].Enabled; killsteal.EEnabled = ksMenu["E"].Enabled; killsteal.REnabled = ksMenu["R"].Enabled; ksIgnite.OnValueChanged += (sender, args) => killsteal.IgniteEnabled = args.GetNewValue <MenuBool>().Value; ksSmite.OnValueChanged += (sender, args) => killsteal.SmiteEnabled = args.GetNewValue <MenuBool>().Value; ksQ.OnValueChanged += (sender, args) => killsteal.QEnabled = args.GetNewValue <MenuBool>().Value; ksE.OnValueChanged += (sender, args) => killsteal.EEnabled = args.GetNewValue <MenuBool>().Value; ksR.OnValueChanged += (sender, args) => killsteal.REnabled = args.GetNewValue <MenuBool>().Value; var drawMenu = new Menu("Draw", "DrawManager"); var drawSegments = new MenuSlider("Segments", "Segments", 100, 10, 150).SetToolTip("Smoothness of the circles"); var drawPosition = new MenuBool("Position", "Insec Position"); var drawQ = new MenuBool("Q", "Q Range"); drawMenu.Add(drawSegments); drawMenu.Add(drawPosition); drawMenu.Add(drawQ); mainmenu.Add(drawMenu); drawManager.QEnabled = drawMenu["Q"].Enabled; drawManager.SegmentsValue = drawMenu["Segments"].Value; drawManager.PositionEnabled = drawMenu["Position"].Enabled; drawSegments.OnValueChanged += (sender, args) => drawManager.SegmentsValue = args.GetNewValue <MenuSlider>().Value; drawPosition.OnValueChanged += (sender, args) => drawManager.PositionEnabled = args.GetNewValue <MenuBool>().Value; drawQ.OnValueChanged += (sender, args) => drawManager.QEnabled = args.GetNewValue <MenuBool>().Value; Gapcloser.Attach(mainmenu, "Gapcloser"); var gapcloser = new AntiGapcloser(spellConfig, wardmanager, wardtracker); Gapcloser.OnGapcloser += gapcloser.OnGapcloser; var manager = new Manager(combo, harass, jungle, lane, lasthit); Game.OnUpdate += manager.OnUpdate; Game.OnUpdate += killsteal.OnUpdate; Global.Orbwalker.PostAttack += manager.PostAttack; Render.OnRender += drawManager.OnRender; Render.OnPresent += drawManager.RenerDamage; Obj_AI_Base.OnProcessSpellCast += insec.OnProcessSpellCast; Obj_AI_Base.OnProcessSpellCast += kickFlash.OnProcessSpellCast; Obj_AI_Base.OnProcessSpellCast += spellConfig.OnProcessSpellCast; GameObject.OnCreate += wardtracker.OnCreate; }
private void Menu() { var combo = new Menu("Combo", "Combo") { new MenuBool("Q", "Q"), new MenuBool("W", "W"), new MenuBool("E", "E"), }; var harass = new Menu("Harass", "Harass") { new MenuBool("Q", "Q"), new MenuBool("W", "W"), new MenuBool("E", "E"), }; var killsteal = new Menu("Killsteal", "Killsteal") { new MenuBool("Q", "Q"), new MenuBool("W", "W"), new MenuBool("E", "E"), new MenuBool("R", "R"), }; var laneclear = new Menu("Laneclear", "Laneclear") { new MenuBool("Q", "Q"), new MenuBool("W", "W"), new MenuBool("E", "E"), }; var rmenu = new Menu("R", "R") { new MenuList("RMode", "R Mode", new string[] { "On Tap", "Autocast" }, 0), new MenuList("RTargetSelectMode", "Target Mode", new string[] { "Target Selector", "Closest to Mouse", "Least cast", "Auto" }, 3), new MenuBool("UseDelays", "Use Delays", false), new MenuSlider("Delay0", "Delay 1", 0, 0, 3000), new MenuSlider("Delay1", "Delay 2", 0, 0, 3000), new MenuSlider("Delay2", "Delay 3", 0, 0, 3000), new MenuSlider("Delay3", "Delay 4", 0, 0, 3000), new MenuSlider("Delay4", "Delay 5", 0, 0, 3000), }; var misc = new Menu("Misc", "Misc") { new MenuBool("AntiDash", "Anti Dash"), }; TapKey = new MenuKeyBind("TapKey", "Tap Key", Aimtec.SDK.Util.KeyCode.T, KeybindType.Press); rmenu.Add(TapKey); TapKey.OnValueChanged += TapKey_ValueChanged; var hcMenu = new Menu("Hitchances", "Hitchances") { new MenuList("hcQ", "Q", new string [] { "Low", "Medium", "High", "VeryHigh", "Dashing", "Immobile" }, 1), new MenuList("hcW", "W", new string [] { "Low", "Medium", "High", "VeryHigh", "Dashing", "Immobile" }, 1), new MenuList("hcE", "E", new string [] { "Low", "Medium", "High", "VeryHigh", "Dashing", "Immobile" }, 1), new MenuList("hcR", "R", new string [] { "Low", "Medium", "High", "VeryHigh", "Dashing", "Immobile" }, 1), }; hcMenu.OnValueChanged += HcMenu_ValueChanged; var drawmenu = new Menu("Drawings", "Drawings") { new MenuBool("DrawQ", "Draw Q", false), new MenuBool("DrawW", "Draw W", false), new MenuBool("DrawE", "Draw E", false), new MenuBool("DrawR", "Draw R", false), }; this.Config.Add(combo); this.Config.Add(harass); this.Config.Add(killsteal); this.Config.Add(laneclear); this.Config.Add(rmenu); this.Config.Add(hcMenu); this.Config.Add(misc); this.Config.Add(drawmenu); }
/// <summary> /// Initializes a new instance of the <see cref="LightKeyBind2" /> class. /// </summary> /// <param name="component"> /// The menu component /// </param> public LightKeyBind2(MenuKeyBind component) : base(component) { }
public override IRenderManager <MenuKeyBind> BuildMenuKeyBindRenderer(MenuKeyBind keybind) { return(new DefaultMenuKeyBind(keybind, this)); }
/// <summary> /// Builds a new handler for the given <see cref="MenuKeyBind" />. /// </summary> /// <param name="component">The <see cref="MenuKeyBind" /> where this handler is responsible for.</param> /// <returns>The handler</returns> public ADrawable <MenuKeyBind> BuildKeyBindHandler(MenuKeyBind component) { return(new LightKeyBind2(component)); }
public static void ExecuteMenu() { Menu = new Menu("hJhin", "hJhin", true); { var combomenu = Menu.Add(new Menu("combo.settings", "Combo Settings")); { combomenu.Add(new MenuSeparator("combo.q.sep", "(Q) Settings")); combomenu.Add(new MenuBool("combo.q", "Use (Q)", true)); combomenu.Add(new MenuSeparator("combo.w.sep", "(W) Settings")); combomenu.Add(new MenuBool("combo.w", "Use (W)", true)); combomenu.Add(new MenuSlider("combo.w.min", "Min. Distance", 400, 1, 2500)); combomenu.Add(new MenuSlider("combo.w.max", "Max. Distance", 1000, 1, 2500)); combomenu.Add(new MenuBool("combo.w.mark", "Use (W) If Enemy is Marked", true)); combomenu.Add(new MenuSeparator("combo.e.sep", "(E) Settings")); combomenu.Add(new MenuBool("combo.e", "Use (E)", true)); } var harassmenu = Menu.Add(new Menu("harass.settings", "Harass Settings")); { harassmenu.Add(new MenuSeparator("harass.q.sep", "(Q) Settings")); harassmenu.Add(new MenuBool("harass.q", "Use (Q)", true)); harassmenu.Add(new MenuSeparator("harass.w.sep", "(W) Settings")); harassmenu.Add(new MenuBool("harass.w", "Use (W)", true)); harassmenu.Add(new MenuSeparator("harass.mana.manager", "Mana Settings")); harassmenu.Add(new MenuSlider("harass.mana", "Min. Mana", 50, 1, 99)); } var lanemenu = Menu.Add(new Menu("laneclear.settings", "WaveClear Settings")); { lanemenu.Add(new MenuSeparator("lane.q.sep", "(Q) Settings")); lanemenu.Add(new MenuBool("lane.q", "Use (Q)", true)); lanemenu.Add(new MenuSeparator("lane.w.sep", "(W) Settings")); lanemenu.Add(new MenuBool("lane.w", "Use (W)", true)); lanemenu.Add(new MenuSlider("lane.w.min.count", "Min. Minion", 4,1,5)); lanemenu.Add(new MenuSeparator("lane.mana.manager", "Mana Settings")); lanemenu.Add(new MenuSlider("lane.mana", "Min. Mana", 50, 1, 99)); } var junglemenu = Menu.Add(new Menu("jungle.settings", "Jungle Settings")); { junglemenu.Add(new MenuSeparator("jungle.q.sep", "(Q) Settings")); junglemenu.Add(new MenuBool("jungle.q", "Use (Q)", true)); junglemenu.Add(new MenuSeparator("jungle.w.sep", "(W) Settings")); junglemenu.Add(new MenuBool("jungle.w", "Use (W)", true)); junglemenu.Add(new MenuSeparator("jungle.mana.manager", "Mana Settings")); junglemenu.Add(new MenuSlider("jungle.mana", "Min. Mana", 50, 1, 99)); } var miscmenu = Menu.Add(new Menu("misc.settings", "Miscellaneous")); { miscmenu.Add(new MenuBool("auto.e.immobile", "Auto Cast (E) Immobile Target", true)); miscmenu.Add(new MenuSeparator("auto.orb.seperator", "Scrying Orb Settings")); miscmenu.Add(new MenuBool("auto.orb.buy", "Auto Orb. Buy", true)); miscmenu.Add(new MenuSlider("orb.level", "Orb. Level", 9, 9, 18)); } var ultimate = Menu.Add(new Menu("ultimate.settings", "Ultimate Settings")); { ultimate.Add(new MenuSeparator("ultimate.white.sep", "Ultimate Whitelist")); foreach (var enemy in GameObjects.EnemyHeroes) { ultimate.Add(new MenuBool("combo.r." + enemy.ChampionName, "(R): " + enemy.ChampionName, true)); } ultimate.Add(new MenuSeparator("ultimate.sep", "Ultimate Settings")); ultimate.Add(new MenuBool("combo.r", "Use (R)", true)); ultimate.Add(new MenuBool("auto.shoot.bullets", "If Jhin Casting (R) Auto Cast Bullets", true)); } var activator = Menu.Add(new Menu("activator.settings", "Activator Settings")); { activator.Add(new MenuSeparator("qss.seperator", "Quicksilver Sash Settings")); activator.Add(new MenuBool("use.qss", "Use QSS", true)); activator.Add(new MenuSeparator("qss.seperator2", "Quicksilver Sash Debuffs")); activator.Add(new MenuBool("qss.charm", "Charm", true)); activator.Add(new MenuBool("qss.snare", "Snare", true)); activator.Add(new MenuBool("qss.polymorph", "Polymorph", true)); activator.Add(new MenuBool("qss.stun", "Stun", true)); activator.Add(new MenuBool("qss.suppression", "Suppression", true)); activator.Add(new MenuBool("qss.taunt", "Taunt", true)); activator.Add(new MenuSeparator("botrk.seperator", "BOTRK Settings")); activator.Add(new MenuBool("use.botrk", "Use BOTRK", true)); activator.Add(new MenuSlider("botrk.vayne.hp", "Min. Vayne HP", 20, 1, 99)); activator.Add(new MenuSlider("botrk.enemy.hp", "Min. Enemy HP", 20, 1, 99)); activator.Add(new MenuSeparator("youmuu.seperator", "Youmuu Settings")); activator.Add(new MenuBool("use.youmuu", "Use Youmuu", true)); } Menu.Add(new MenuSeparator("genel.seperator1", "hJhin Keys")); SemiManualUlt = Menu.Add(new MenuKeyBind("semi.manual.ult", "Semi-Manual (R)!", Keys.A, KeyBindType.Press)); Menu.Add(new MenuSeparator("hit.seperator1", "hJhin HitChance")); HitChance = Menu.Add(new MenuList<string>("hitchance", "HitChance ?", new[] { "Medium", "High", "Very High" })); Menu.Attach(); } }
/// <summary> /// Builds a new handler for the given <see cref="MenuKeyBind" />. /// </summary> /// <param name="component">The <see cref="MenuKeyBind" /> where this handler is responsible for.</param> /// <returns>The handler</returns> public ADrawable <MenuKeyBind> BuildKeyBindHandler(MenuKeyBind component) { return(new BlueKeyBind(component)); }
public void InitMenu() { ComboMenu = MainMenu.Add(new Menu("caitcombomenu", "Combo Settings: ")); UseQCombo = ComboMenu.Add(new MenuBool("caitqcombo", "Use Q", true)); UseWCombo = ComboMenu.Add(new MenuBool("caitwcombo", "Use W")); UseECombo = ComboMenu.Add(new MenuBool("caitecombo", "Use E", true)); UseRCombo = ComboMenu.Add(new MenuKeyBind("caitrcombo", "Use R", Keys.R, KeyBindType.Press)); AutoWConfig = MainMenu.Add(new Menu("caitautow", "W Settings: ")); UseWInterrupt = AutoWConfig.Add(new MenuBool("caitusewinterrupt", "Use W to Interrupt", true)); new Utils.Logic.PositionSaver(AutoWConfig, W); FocusOnHeadShotting = MainMenu.Add(new MenuBool("caitfocusonheadshottingenemies", "Try to save Headshot for poking", true)); AlwaysQAfterE = MainMenu.Add(new MenuBool("caitalwaysqaftere", "Always Q after E (EQ combo)", true)); QHarassMode = MainMenu.Add( new MenuList<string>( "caitqharassmode", "Q HARASS MODE", new[] { "FULLDAMAGE", "ALLOWMINIONS", "DISABLED" })); UseEAntiGapclose = MainMenu.Add(new MenuBool("caiteantigapclose", "Use E AntiGapclose", false)); UseEOnEnemiesCloserThanSlider = MainMenu.Add(new MenuSlider("caitecomboshit", "Use E on enemies closer than", 770, 200, 770)); OnlyUseEOnMelees = MainMenu.Add(new MenuBool("caiteonlymelees", "Only use E on melees", false)); DrawRange = MainMenu.Add(new MenuSlider("caitdrawrange", "Draw a circle with radius: ", 800, 0, 1240)); MainMenu.Attach(); }