Core/Cache: Implement QueryCache system
Ideas/Port From (https://github.com/TrinityCore/TrinityCore/commit/b4d30bb92cbfc8411d8d91b0f4f2981f2cecc148)
This commit is contained in:
@@ -238,6 +238,7 @@ namespace Game.Chat
|
||||
Global.ObjectMgr.CheckCreatureTemplate(cInfo);
|
||||
}
|
||||
|
||||
Global.ObjectMgr.InitializeQueriesData(QueryDataGroup.Creatures);
|
||||
handler.SendGlobalGMSysMessage("Creature template reloaded.");
|
||||
return true;
|
||||
}
|
||||
@@ -607,6 +608,7 @@ namespace Game.Chat
|
||||
{
|
||||
Log.outInfo(LogFilter.Server, "Re-Loading Quest POI ...");
|
||||
Global.ObjectMgr.LoadQuestPOI();
|
||||
Global.ObjectMgr.InitializeQueriesData(QueryDataGroup.POIs);
|
||||
handler.SendGlobalGMSysMessage("DB Table `quest_poi` and `quest_poi_points` reloaded.");
|
||||
return true;
|
||||
}
|
||||
@@ -616,6 +618,7 @@ namespace Game.Chat
|
||||
{
|
||||
Log.outInfo(LogFilter.Server, "Re-Loading Quest Templates...");
|
||||
Global.ObjectMgr.LoadQuests();
|
||||
Global.ObjectMgr.InitializeQueriesData(QueryDataGroup.Quests);
|
||||
handler.SendGlobalGMSysMessage("DB table `quest_template` (quest definitions) reloaded.");
|
||||
|
||||
// dependent also from `gameobject` but this table not reloaded anyway
|
||||
|
||||
Reference in New Issue
Block a user