Beispiel #1
0
        private static void OnUpdateEvent(EventArgs args)
        {
            try
            {
                AddonsManager.RunAddons();

                HeroSelector.Combo();
            }
            catch (Exception)
            {
                // e.GetBaseException();
            }
        }
Beispiel #2
0
 private static void OnLoadEvent(object sender, EventArgs e)
 {
     try
     {
         AddonsManager.Load();
         HeroSelector.Load();
         HeroSelector.ControllerLoadEvent();
         MainMenu.Load();
     }
     catch (Exception)
     {
         // e.GetBaseException();
     }
 }         // OnLoad
Beispiel #3
0
        }         // OnLoad

        private static void OnCloseEvent(object sender, EventArgs e)
        {
            try
            {
                HeroSelector.ControllerCloseEvent();
                MainMenu.Unload();
                HeroSelector.Unload();

                // Выгрузка аддонов
                AddonsManager.Unload();

                Print.ConsoleMessage.Info("> DotAllCombo's is waiting for the next game to start.");
            }
            catch (Exception)
            {
                // e.GetBaseException();
            }
        }         // OnClose