Exemple #1
0
 protected override void OnActivate()
 {
     MenuManager.Init();
     DelayAction.Add(100, () =>
     {
         Core.Init();
         TempestManager.Fresh();
         IllusionManager.GetCreepManager();
         NecronomiconManager.GetNecronomiconManager();
         InputBlocker.GetInputBlocker().Load();
         if (OrderManager.CurrentOrder == null)
         {
             Console.WriteLine("");
         }
         if (MenuManager.IsInfoPanelEnabled)
         {
             InfoPanel.GetInfoPanel().Load();
         }
     });
 }
Exemple #2
0
 private static void Main()
 {
     Events.OnLoad += (sender, args) =>
     {
         if (ObjectManager.LocalHero.HeroId != HeroId.npc_dota_hero_arc_warden)
         {
             return;
         }
         MenuManager.Init();
         DelayAction.Add(100, () =>
         {
             Core.Init();
             TempestManager.Fresh();
             IllusionManager.GetCreepManager();
             NecronomiconManager.GetNecronomiconManager();
             InputBlocker.GetInputBlocker().Load();
             if (MenuManager.IsInfoPanelEnabled)
             {
                 InfoPanel.GetInfoPanel().Load();
             }
         });
     };
 }
Exemple #3
0
 public static InputBlocker GetInputBlocker()
 {
     return(_inputBlocker ?? (_inputBlocker = new InputBlocker()));
 }