Core/Misc: converted quest, creature and quest query packets to packet class and ported query data caching from 335 branch
This commit is contained in:
1 parent
8c4491f3a0
commit
64c4b4f529
22 files changed
+924
-387
No files matched your search
@@ -453,6 +453,7 @@ public:
|
||||
sObjectMgr->CheckCreatureTemplate(cInfo);
|
||||
}
|
||||
|
||||
sObjectMgr->InitializeQueriesData(QUERY_DATA_CREATURES);
|
||||
handler->SendGlobalGMSysMessage("Creature template reloaded.");
|
||||
return true;
|
||||
}
|
||||
@@ -543,6 +544,7 @@ public:
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Quest Templates...");
|
||||
sObjectMgr->LoadQuests();
|
||||
sObjectMgr->InitializeQueriesData(QUERY_DATA_QUESTS);
|
||||
handler->SendGlobalGMSysMessage("DB table `quest_template` (quest definitions) reloaded.");
|
||||
|
||||
/// dependent also from `gameobject` but this table not reloaded anyway
|
||||
@@ -734,6 +736,7 @@ public:
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Quest POI ..." );
|
||||
sObjectMgr->LoadQuestPOI();
|
||||
sObjectMgr->InitializeQueriesData(QUERY_DATA_POIS);
|
||||
handler->SendGlobalGMSysMessage("DB Table `quest_poi` and `quest_poi_points` reloaded.");
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user