feat(Core/ScriptMgr): add new hook OnAfterUnloadAllMaps (#10279)
* feat(Core/ScriptMgr): add new hook * add desc * Update src/server/game/Scripting/ScriptDefines/WorldScript.cpp
This commit is contained in:
parent
93aac5eb27
commit
f4b0f58701
3 changed files with 16 additions and 0 deletions
|
|
@ -329,6 +329,8 @@ int main(int argc, char** argv)
|
|||
|
||||
sOutdoorPvPMgr->Die(); // unload it before MapMgr
|
||||
sMapMgr->UnloadAll(); // unload all grids (including locked in memory)
|
||||
|
||||
sScriptMgr->OnAfterUnloadAllMaps();
|
||||
});
|
||||
|
||||
// Start the Remote Access port (acceptor) if enabled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue