mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2026-01-16 07:10:37 +01:00
feat(Core/Scripts): new OnBeforeFinalizePlayerWorldSession() hook (#7136)
Co-authored-by: Yehonal <yehonal.azeroth@gmail.com>
This commit is contained in:
@@ -408,6 +408,11 @@ void ScriptMgr::OnAfterConfigLoad(bool reload)
|
||||
FOREACH_SCRIPT(WorldScript)->OnAfterConfigLoad(reload);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnBeforeFinalizePlayerWorldSession(uint32& cacheVersion)
|
||||
{
|
||||
FOREACH_SCRIPT(WorldScript)->OnBeforeFinalizePlayerWorldSession(cacheVersion);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnMotdChange(std::string& newMotd)
|
||||
{
|
||||
FOREACH_SCRIPT(WorldScript)->OnMotdChange(newMotd);
|
||||
|
||||
Reference in New Issue
Block a user