예제 #1
0
        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();
        }
예제 #2
0
        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();
        }