// to-do: add ganker mode combo mode + use Q with E Combo public static void Init() { MenuConfig = MainMenu.AddMenu(":: Olaf is Back", "Olaf"); Modes.ModeSettings.Init(MenuConfig); Common.CommonAutoLevel.Init(MenuConfig); Common.CommonAutoBush.Init(MenuConfig); Common.CommonManaManager.Init(MenuConfig); ModeUlti.Init(MenuConfig); Common.CommonHelper.Init(); MenuKeys = MenuConfig.AddSubMenu("Keys", "Keys"); { MenuKeys.Add("Key.HarassToggle", new KeyBind("Harass (Toggle)", false, KeyBind.BindTypes.PressToggle, 'T')); } Modes.ModeCombo.Init(); Modes.ModeHarass.Init(); MenuFarm = MenuConfig.AddSubMenu("Farm", "Farm"); { MenuFarm.Add("Farm.Enable", new KeyBind(":: Lane / Jungle Clear Active!", false, KeyBind.BindTypes.PressToggle, 'J')); MenuFarm.Add("Farm.MinMana.Enable", new KeyBind("Min. Mana Control!", false, KeyBind.BindTypes.PressToggle, 'M')); Modes.ModeLane.Init(MenuConfig); Modes.ModeJungle.Init(MenuConfig); } Modes.ModeDraw.Init(); Modes.ModePerma.Init(); }
internal static void Select() { int option; string mainNav = NavigationBar.mainNavBar; string settingsNav = NavigationBar.settingsNavBar; string keyNav = NavigationBar.keysNavBar; do { Console.Clear(); Console.WriteLine($"{ mainNav }>>{ settingsNav }>>{ keyNav }>>"); MenuKeys.ShowMenu(); switch (option = ReadOption()) { case 49: MenuKeyCombination.ShowMenu(); break; case 17: Console.WriteLine("Returning to Previous Menu."); System.Threading.Thread.Sleep(500); break; default: Console.WriteLine("Invalid option."); System.Threading.Thread.Sleep(500); break; } } while (option != 17); }
public static void Init() { MenuConfig = MainMenu.AddMenu(":: Leblanc II ::", "Leblanc"); Modes.ModeSettings.Init(MenuConfig); Common.CommonGeometry.Init(); Common.CommonAutoLevel.Init(MenuConfig); Common.CommonAutoBush.Init(MenuConfig); Common.CommonHelper.Init(); MenuKeys = MenuConfig.AddSubMenu("Keys", "Keys"); { MenuKeys.Add("Key.ChangeCombo", new KeyBind("Change Combo!", false, KeyBind.BindTypes.HoldActive, 'J')); MenuKeys.Add("Key.Harass1", new KeyBind("Harass Toggle!", false, KeyBind.BindTypes.PressToggle, 'T')); MenuKeys.Add("Key.DoubleChain", new KeyBind("Double Chain!", false, KeyBind.BindTypes.HoldActive, 'G')); } Modes.ModeCombo.Init(); Modes.ModeChain.Init(); Modes.ModeHarass.Init(); MenuFarm = MenuConfig.AddSubMenu("Farm", "Farm"); { Modes.ModeLane.Init(MenuConfig); Modes.ModeJungle.Init(MenuConfig); MenuFarm.Add("Farm.Enable", new KeyBind(":: Lane / Jungle Clear Active!", false, KeyBind.BindTypes.PressToggle, 'J')); MenuFarm.Add("Farm.MinMana.Enable", new KeyBind("Min. Mana Control!", false, KeyBind.BindTypes.PressToggle, 'M')); } Modes.ModeFlee.Init(MenuConfig); new ModeDraw().Init(); Modes.ModePerma.Init(); Champion.PlayerObjects.Init(); }