Added Hook

* This hook can be used to cache module database tables.
This commit is contained in:
talamortis
2018-07-18 13:12:30 +01:00
parent 8767372ebf
commit a5a130b95a
3 changed files with 13 additions and 0 deletions

View File

@@ -482,6 +482,12 @@ void ScriptMgr::OnOpenStateChange(bool open)
FOREACH_SCRIPT(WorldScript)->OnOpenStateChange(open);
}
void ScriptMgr::OnLoadCustomDatabeTable()
{
FOREACH_SCRIPT(WorldScript)->OnLoadCustomDatabeTable();
}
void ScriptMgr::OnBeforeConfigLoad(bool reload)
{
#ifdef ELUNA