public static void Initialize() { UtilityMenu = MainMenu.AddMenu("OKTR Utility", "marks.aio.utility.menu", Player.Instance.ChampionName); Activator = new Activator(UtilityMenu); Tracker = new Tracker.Tracker(UtilityMenu); BaseUlt = new BaseUlt(UtilityMenu, Player.Instance.Hero); RandomUlt = new RandomUlt(UtilityMenu, Player.Instance.Hero); BushRevealer = new BushRevealer(UtilityMenu); SkinManagement = new SkinManagement(UtilityMenu); RecallTracker = new RecallTracker(UtilityMenu); }
private static void Loading_OnLoadingComplete(EventArgs args) { switch (Player.Instance.ChampionName) { case "Ashe": Champion = new Ashe(); break; case "Caitlyn": Champion = new Caitlyn(); break; case "Corki": Champion = new Corki(); break; case "Draven": Champion = new Draven(); break; case "Ezreal": Champion = new Ezreal(); break; case "Graves": Champion = new Graves(); break; case "Jinx": Champion = new Jinx(); break; case "Kalista": Champion = new Kalista(); break; case "Kindred": Champion = new Kindred(); break; case "Kog'Maw": Champion = new KogMaw(); break; case "Lucian": Champion = new Lucian(); break; case "MissFortune": Champion = new MissFortune(); break; case "Quinn": Champion = new Quinn(); break; case "Sivir": Champion = new Sivir(); break; case "Teemo": Champion = new Teemo(); break; case "Tristana": Champion = new Tristana(); break; case "Twitch": Champion = new Twitch(); break; case "Urgot": Champion = new Urgot(); break; case "Varus": Champion = new Varus(); break; case "Vayne": Champion = new Vayne(); break; case "Katarina": Champion = new Katarina(); break; //case "Vayne": champion = new Vayne(); break; //etc } if (Champion != null) { Events.Init(); MainMenu.Init(); UtilityMenu.Init(); Champion.Init(); Activator.LoadSpells(); Activator.Init(); Humanizer.Init(); if (MainMenu._menu["playsound"].Cast <CheckBox>().CurrentValue) { PlayWelcome(); } Chat.Print("MarksmanAIO: " + Player.Instance.ChampionName + " Loaded", Color.CornflowerBlue); } else { Chat.Print("MarksmanAIO doesn't support: " + Player.Instance.ChampionName); } }