Beispiel #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();
         }
     });
 }
Beispiel #2
0
 private static void Main()
 {
     Events.OnLoad += (sender, args) =>
     {
         if (ObjectManager.LocalHero.ClassId != ClassId.CDOTA_Unit_Hero_ArcWarden)
         {
             return;
         }
         MenuManager.Init();
         DelayAction.Add(100, () =>
         {
             Core.Init();
             TempestManager.Fresh();
             IllusionManager.GetCreepManager();
             NecronomiconManager.GetNecronomiconManager();
             if (MenuManager.IsInfoPanelEnabled)
             {
                 InfoPanel.GetInfoPanel().Load();
             }
         });
     };
 }
Beispiel #3
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();
             }
         });
     };
 }