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

@@ -1355,6 +1355,9 @@ void World::SetInitialWorldSettings()
stmt->setUInt32(0, 3 * DAY);
CharacterDatabase.Execute(stmt);
///- Custom Hook for loading DB items
sScriptMgr->OnLoadCustomDatabeTable();
///- Load the DBC files
sLog->outString("Initialize data stores...");
LoadDBCStores(m_dataPath);