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(); } }); }
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(); } }); }; }
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(); } }); }; }