chore(Core/AllMapScript) Update structure (#19979)

* fix(Core/AllMapScript) Update structure to use CALL_ENABLED_HOOKS

* fatal error: no template named 'vector' in namespace 'std'

* fix build

Co-authored-by: Anton Popovichenko <anton.popovichenko@mendix.com>

---------

Co-authored-by: Anton Popovichenko <anton.popovichenko@mendix.com>
This commit is contained in:
Walter Pagani
2024-09-21 17:25:22 -03:00
committed by GitHub
parent b364e00238
commit cfd7bf4162
3 changed files with 29 additions and 32 deletions

View File

@@ -102,6 +102,7 @@ void ScriptMgr::Initialize()
ScriptRegistry<UnitScript>::InitEnabledHooksIfNeeded(UNITHOOK_END);
ScriptRegistry<WorldObjectScript>::InitEnabledHooksIfNeeded(WORLDOBJECTHOOK_END);
ScriptRegistry<WorldScript>::InitEnabledHooksIfNeeded(WORLDHOOK_END);
ScriptRegistry<AllMapScript>::InitEnabledHooksIfNeeded(ALLMAPHOOK_END);
}
void ScriptMgr::Unload()