public static void OnGameLoad() { if (ObjectManager.Player.ChampionName != "Ezreal") { return; } MenuGenerator.Generate(); DZAntigapcloser.BuildMenu(Variables.Menu, "[Ez] Antigapcloser", "ezreal.antigapcloser"); SPrediction.Prediction.Initialize(Variables.Menu); Ezreal.OnLoad(); }
private void OnLoad(object sender, EventArgs e) { DZLib.Menu.ModesMenuExtensions.SetBaseName($"dzaio.champion.{ObjectManager.Player.ChampionName.ToLowerInvariant()}"); DZLib.Logging.LogHelper.OnLoad(); MenuGenerator.GenerateMenu(); SPrediction.ConfigMenu.Initialize(Variables.AssemblyMenu, $"{ObjectManager.Player.ChampionName}: SPrediction"); ChampionLoader.LoadChampion(); DZAntigapcloser.BuildMenu(Variables.AssemblyMenu, $"{ObjectManager.Player.ChampionName}: Antigapcloser", "dzaio.antigp"); DZAIO.Init(); }