Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources
This commit is contained in:
1 parent
7fff6c424f
commit
5ff847159c
1243 files changed
+29780
-36517
No files matched your search
@@ -22,18 +22,22 @@ Comment: All reload related commands
|
||||
Category: commandscripts
|
||||
EndScriptData */
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include "AccountMgr.h"
|
||||
#include "AchievementMgr.h"
|
||||
#include "AuctionHouseMgr.h"
|
||||
#include "BattlegroundMgr.h"
|
||||
#include "Chat.h"
|
||||
#include "CreatureTextMgr.h"
|
||||
#include "DatabaseEnv.h"
|
||||
#include "DisableMgr.h"
|
||||
#include "ItemEnchantmentMgr.h"
|
||||
#include "Language.h"
|
||||
#include "LFGMgr.h"
|
||||
#include "Log.h"
|
||||
#include "LootMgr.h"
|
||||
#include "MapManager.h"
|
||||
#include "ObjectMgr.h"
|
||||
#include "ScriptMgr.h"
|
||||
#include "SkillDiscovery.h"
|
||||
#include "SkillExtraItems.h"
|
||||
#include "SmartAI.h"
|
||||
@@ -41,6 +45,7 @@ EndScriptData */
|
||||
#include "TicketMgr.h"
|
||||
#include "WardenCheckMgr.h"
|
||||
#include "WaypointManager.h"
|
||||
#include "World.h"
|
||||
|
||||
class reload_commandscript : public CommandScript
|
||||
{
|
||||
@@ -164,13 +169,13 @@ public:
|
||||
}
|
||||
|
||||
//reload commands
|
||||
static bool HandleReloadGMTicketsCommand(ChatHandler* /*handler*/, const char* /*args*/)
|
||||
static bool HandleReloadGMTicketsCommand(ChatHandler* /*handler*/, char const* /*args*/)
|
||||
{
|
||||
sTicketMgr->LoadTickets();
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAllCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAllCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
HandleReloadSkillFishingBaseLevelCommand(handler, "");
|
||||
|
||||
@@ -201,14 +206,14 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAllAchievementCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAllAchievementCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
HandleReloadAchievementCriteriaDataCommand(handler, "");
|
||||
HandleReloadAchievementRewardCommand(handler, "");
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAllAreaCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAllAreaCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
HandleReloadQuestGreetingCommand(handler, "");
|
||||
//HandleReloadQuestAreaTriggersCommand(handler, ""); -- reloaded in HandleReloadAllQuestCommand
|
||||
@@ -218,7 +223,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAllLootCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAllLootCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Loot Tables...");
|
||||
LoadLootTables();
|
||||
@@ -227,7 +232,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAllNpcCommand(ChatHandler* handler, const char* args)
|
||||
static bool HandleReloadAllNpcCommand(ChatHandler* handler, char const* args)
|
||||
{
|
||||
if (*args != 'a') // will be reloaded from all_gossips
|
||||
HandleReloadNpcTrainerCommand(handler, "a");
|
||||
@@ -237,7 +242,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAllQuestCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAllQuestCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
HandleReloadQuestAreaTriggersCommand(handler, "a");
|
||||
HandleReloadQuestPOICommand(handler, "a");
|
||||
@@ -249,7 +254,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAllScriptsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAllScriptsCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
if (sMapMgr->IsScriptScheduled())
|
||||
{
|
||||
@@ -267,7 +272,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAllSpellCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAllSpellCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
HandleReloadSkillDiscoveryTemplateCommand(handler, "a");
|
||||
HandleReloadSkillExtraItemTemplateCommand(handler, "a");
|
||||
@@ -285,7 +290,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAllGossipsCommand(ChatHandler* handler, const char* args)
|
||||
static bool HandleReloadAllGossipsCommand(ChatHandler* handler, char const* args)
|
||||
{
|
||||
HandleReloadGossipMenuCommand(handler, "a");
|
||||
HandleReloadGossipMenuOptionCommand(handler, "a");
|
||||
@@ -294,14 +299,14 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAllItemCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAllItemCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
HandleReloadPageTextsCommand(handler, "a");
|
||||
HandleReloadItemEnchantementsCommand(handler, "a");
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAllLocalesCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAllLocalesCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
HandleReloadLocalesAchievementRewardCommand(handler, "a");
|
||||
HandleReloadLocalesCreatureCommand(handler, "a");
|
||||
@@ -317,7 +322,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadConfigCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadConfigCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading config settings...");
|
||||
sWorld->LoadConfigSettings(true);
|
||||
@@ -326,7 +331,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAccessRequirementCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAccessRequirementCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Access Requirement definitions...");
|
||||
sObjectMgr->LoadAccessRequirements();
|
||||
@@ -334,7 +339,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAchievementCriteriaDataCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAchievementCriteriaDataCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Additional Achievement Criteria Data...");
|
||||
sAchievementMgr->LoadAchievementCriteriaData();
|
||||
@@ -342,7 +347,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAchievementRewardCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAchievementRewardCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Achievement Reward Data...");
|
||||
sAchievementMgr->LoadRewards();
|
||||
@@ -350,7 +355,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAreaTriggerTavernCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAreaTriggerTavernCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Tavern Area Triggers...");
|
||||
sObjectMgr->LoadTavernAreaTriggers();
|
||||
@@ -358,7 +363,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAreaTriggerTeleportCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAreaTriggerTeleportCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading AreaTrigger teleport definitions...");
|
||||
sObjectMgr->LoadAreaTriggerTeleports();
|
||||
@@ -366,7 +371,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAutobroadcastCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAutobroadcastCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Autobroadcasts...");
|
||||
sWorld->LoadAutobroadcasts();
|
||||
@@ -382,7 +387,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadBroadcastTextCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadBroadcastTextCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Broadcast texts...");
|
||||
sObjectMgr->LoadBroadcastTexts();
|
||||
@@ -391,14 +396,14 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadCommandCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadCommandCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
ChatHandler::invalidateCommandTable();
|
||||
handler->SendGlobalGMSysMessage("DB table `command` will be reloaded at next chat command use.");
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadOnKillReputationCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadOnKillReputationCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading creature award reputation definitions...");
|
||||
sObjectMgr->LoadReputationOnKill();
|
||||
@@ -406,7 +411,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadCreatureSummonGroupsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadCreatureSummonGroupsCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Reloading creature summon groups...");
|
||||
sObjectMgr->LoadTempSummons();
|
||||
@@ -414,7 +419,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadCreatureTemplateCommand(ChatHandler* handler, const char* args)
|
||||
static bool HandleReloadCreatureTemplateCommand(ChatHandler* handler, char const* args)
|
||||
{
|
||||
if (!*args)
|
||||
return false;
|
||||
@@ -453,7 +458,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadCreatureQuestStarterCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadCreatureQuestStarterCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Loading Quests Relations... (`creature_queststarter`)");
|
||||
sObjectMgr->LoadCreatureQuestStarters();
|
||||
@@ -461,7 +466,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLinkedRespawnCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLinkedRespawnCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Loading Linked Respawns... (`creature_linked_respawn`)");
|
||||
sObjectMgr->LoadLinkedRespawn();
|
||||
@@ -469,7 +474,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadCreatureQuestEnderCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadCreatureQuestEnderCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Loading Quests Relations... (`creature_questender`)");
|
||||
sObjectMgr->LoadCreatureQuestEnders();
|
||||
@@ -477,7 +482,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadGossipMenuCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadGossipMenuCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading `gossip_menu` Table!");
|
||||
sObjectMgr->LoadGossipMenu();
|
||||
@@ -486,7 +491,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadGossipMenuOptionCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadGossipMenuOptionCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading `gossip_menu_option` Table!");
|
||||
sObjectMgr->LoadGossipMenuItems();
|
||||
@@ -495,7 +500,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadGOQuestStarterCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadGOQuestStarterCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Loading Quests Relations... (`gameobject_queststarter`)");
|
||||
sObjectMgr->LoadGameobjectQuestStarters();
|
||||
@@ -503,7 +508,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadGOQuestEnderCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadGOQuestEnderCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Loading Quests Relations... (`gameobject_questender`)");
|
||||
sObjectMgr->LoadGameobjectQuestEnders();
|
||||
@@ -511,7 +516,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadQuestAreaTriggersCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadQuestAreaTriggersCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Quest Area Triggers...");
|
||||
sObjectMgr->LoadQuestAreaTriggers();
|
||||
@@ -535,7 +540,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadQuestTemplateCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadQuestTemplateCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Quest Templates...");
|
||||
sObjectMgr->LoadQuests();
|
||||
@@ -548,7 +553,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLootTemplatesCreatureCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLootTemplatesCreatureCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`creature_loot_template`)");
|
||||
LoadLootTemplates_Creature();
|
||||
@@ -558,7 +563,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLootTemplatesDisenchantCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLootTemplatesDisenchantCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`disenchant_loot_template`)");
|
||||
LoadLootTemplates_Disenchant();
|
||||
@@ -568,7 +573,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLootTemplatesFishingCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLootTemplatesFishingCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`fishing_loot_template`)");
|
||||
LoadLootTemplates_Fishing();
|
||||
@@ -578,7 +583,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLootTemplatesGameobjectCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLootTemplatesGameobjectCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`gameobject_loot_template`)");
|
||||
LoadLootTemplates_Gameobject();
|
||||
@@ -588,7 +593,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLootTemplatesItemCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLootTemplatesItemCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`item_loot_template`)");
|
||||
LoadLootTemplates_Item();
|
||||
@@ -598,7 +603,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLootTemplatesMillingCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLootTemplatesMillingCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`milling_loot_template`)");
|
||||
LoadLootTemplates_Milling();
|
||||
@@ -608,7 +613,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLootTemplatesPickpocketingCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLootTemplatesPickpocketingCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`pickpocketing_loot_template`)");
|
||||
LoadLootTemplates_Pickpocketing();
|
||||
@@ -618,7 +623,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLootTemplatesProspectingCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLootTemplatesProspectingCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`prospecting_loot_template`)");
|
||||
LoadLootTemplates_Prospecting();
|
||||
@@ -628,7 +633,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLootTemplatesMailCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLootTemplatesMailCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`mail_loot_template`)");
|
||||
LoadLootTemplates_Mail();
|
||||
@@ -638,7 +643,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLootTemplatesReferenceCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLootTemplatesReferenceCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`reference_loot_template`)");
|
||||
LoadLootTemplates_Reference();
|
||||
@@ -647,7 +652,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLootTemplatesSkinningCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLootTemplatesSkinningCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`skinning_loot_template`)");
|
||||
LoadLootTemplates_Skinning();
|
||||
@@ -657,7 +662,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLootTemplatesSpellCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLootTemplatesSpellCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`spell_loot_template`)");
|
||||
LoadLootTemplates_Spell();
|
||||
@@ -667,7 +672,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadTrinityStringCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadTrinityStringCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading trinity_string Table!");
|
||||
sObjectMgr->LoadTrinityStrings();
|
||||
@@ -675,7 +680,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadWardenactionCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadWardenactionCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
if (!sWorld->getBoolConfig(CONFIG_WARDEN_ENABLED))
|
||||
{
|
||||
@@ -690,7 +695,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadNpcTrainerCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadNpcTrainerCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading `npc_trainer` Table!");
|
||||
sObjectMgr->LoadTrainerSpell();
|
||||
@@ -698,7 +703,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadNpcVendorCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadNpcVendorCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading `npc_vendor` Table!");
|
||||
sObjectMgr->LoadVendors();
|
||||
@@ -706,7 +711,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadPointsOfInterestCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadPointsOfInterestCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading `points_of_interest` Table!");
|
||||
sObjectMgr->LoadPointsOfInterest();
|
||||
@@ -714,7 +719,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadQuestPOICommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadQuestPOICommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Quest POI ..." );
|
||||
sObjectMgr->LoadQuestPOI();
|
||||
@@ -722,7 +727,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSpellClickSpellsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSpellClickSpellsCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading `npc_spellclick_spells` Table!");
|
||||
sObjectMgr->LoadNPCSpellClickSpells();
|
||||
@@ -730,7 +735,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadReservedNameCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadReservedNameCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Loading ReservedNames... (`reserved_name`)");
|
||||
sObjectMgr->LoadReservedPlayersNames();
|
||||
@@ -738,7 +743,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadReputationRewardRateCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadReputationRewardRateCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading `reputation_reward_rate` Table!" );
|
||||
sObjectMgr->LoadReputationRewardRate();
|
||||
@@ -746,7 +751,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadReputationSpilloverTemplateCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadReputationSpilloverTemplateCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading `reputation_spillover_template` Table!" );
|
||||
sObjectMgr->LoadReputationSpilloverTemplate();
|
||||
@@ -754,7 +759,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSkillDiscoveryTemplateCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSkillDiscoveryTemplateCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Skill Discovery Table...");
|
||||
LoadSkillDiscoveryTable();
|
||||
@@ -762,7 +767,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSkillPerfectItemTemplateCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSkillPerfectItemTemplateCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{ // latched onto HandleReloadSkillExtraItemTemplateCommand as it's part of that table group (and i don't want to chance all the command IDs)
|
||||
TC_LOG_INFO("misc", "Re-Loading Skill Perfection Data Table...");
|
||||
LoadSkillPerfectItemTable();
|
||||
@@ -770,7 +775,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSkillExtraItemTemplateCommand(ChatHandler* handler, const char* args)
|
||||
static bool HandleReloadSkillExtraItemTemplateCommand(ChatHandler* handler, char const* args)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Skill Extra Item Table...");
|
||||
LoadSkillExtraItemTable();
|
||||
@@ -779,7 +784,7 @@ public:
|
||||
return HandleReloadSkillPerfectItemTemplateCommand(handler, args);
|
||||
}
|
||||
|
||||
static bool HandleReloadSkillFishingBaseLevelCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSkillFishingBaseLevelCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Skill Fishing base level requirements...");
|
||||
sObjectMgr->LoadFishingBaseSkillLevel();
|
||||
@@ -787,7 +792,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSpellAreaCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSpellAreaCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading SpellArea Data...");
|
||||
sSpellMgr->LoadSpellAreas();
|
||||
@@ -795,7 +800,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSpellRequiredCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSpellRequiredCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Spell Required Data... ");
|
||||
sSpellMgr->LoadSpellRequired();
|
||||
@@ -803,7 +808,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSpellGroupsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSpellGroupsCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Spell Groups...");
|
||||
sSpellMgr->LoadSpellGroups();
|
||||
@@ -811,7 +816,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSpellLearnSpellCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSpellLearnSpellCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Spell Learn Spells...");
|
||||
sSpellMgr->LoadSpellLearnSpells();
|
||||
@@ -819,7 +824,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSpellLinkedSpellCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSpellLinkedSpellCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Spell Linked Spells...");
|
||||
sSpellMgr->LoadSpellLinked();
|
||||
@@ -827,7 +832,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSpellProcsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSpellProcsCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Spell Proc conditions and data...");
|
||||
sSpellMgr->LoadSpellProcs();
|
||||
@@ -835,7 +840,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSpellBonusesCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSpellBonusesCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Spell Bonus Data...");
|
||||
sSpellMgr->LoadSpellBonusess();
|
||||
@@ -843,7 +848,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSpellTargetPositionCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSpellTargetPositionCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Spell target coordinates...");
|
||||
sSpellMgr->LoadSpellTargetPositions();
|
||||
@@ -851,7 +856,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSpellThreatsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSpellThreatsCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Aggro Spells Definitions...");
|
||||
sSpellMgr->LoadSpellThreats();
|
||||
@@ -859,7 +864,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSpellGroupStackRulesCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSpellGroupStackRulesCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Spell Group Stack Rules...");
|
||||
sSpellMgr->LoadSpellGroupStackRules();
|
||||
@@ -867,7 +872,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSpellPetAurasCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSpellPetAurasCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Spell pet auras...");
|
||||
sSpellMgr->LoadSpellPetAuras();
|
||||
@@ -875,7 +880,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadPageTextsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadPageTextsCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Page Text...");
|
||||
sObjectMgr->LoadPageTexts();
|
||||
@@ -883,7 +888,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadItemEnchantementsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadItemEnchantementsCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Item Random Enchantments Table...");
|
||||
LoadRandomEnchantmentsTable();
|
||||
@@ -891,7 +896,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadEventScriptsCommand(ChatHandler* handler, const char* args)
|
||||
static bool HandleReloadEventScriptsCommand(ChatHandler* handler, char const* args)
|
||||
{
|
||||
if (sMapMgr->IsScriptScheduled())
|
||||
{
|
||||
@@ -911,7 +916,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadWpScriptsCommand(ChatHandler* handler, const char* args)
|
||||
static bool HandleReloadWpScriptsCommand(ChatHandler* handler, char const* args)
|
||||
{
|
||||
if (sMapMgr->IsScriptScheduled())
|
||||
{
|
||||
@@ -931,7 +936,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadWpCommand(ChatHandler* handler, const char* args)
|
||||
static bool HandleReloadWpCommand(ChatHandler* handler, char const* args)
|
||||
{
|
||||
if (*args != 'a')
|
||||
TC_LOG_INFO("misc", "Re-Loading Waypoints data from 'waypoints_data'");
|
||||
@@ -944,7 +949,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSpellScriptsCommand(ChatHandler* handler, const char* args)
|
||||
static bool HandleReloadSpellScriptsCommand(ChatHandler* handler, char const* args)
|
||||
{
|
||||
if (sMapMgr->IsScriptScheduled())
|
||||
{
|
||||
@@ -964,7 +969,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadGameGraveyardZoneCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadGameGraveyardZoneCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Graveyard-zone links...");
|
||||
|
||||
@@ -975,7 +980,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadGameTeleCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadGameTeleCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Game Tele coordinates...");
|
||||
|
||||
@@ -986,7 +991,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadDisablesCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadDisablesCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading disables table...");
|
||||
DisableMgr::LoadDisables();
|
||||
@@ -996,7 +1001,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLocalesAchievementRewardCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLocalesAchievementRewardCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Achievement Reward Data Locale...");
|
||||
sAchievementMgr->LoadRewardLocales();
|
||||
@@ -1004,7 +1009,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLfgRewardsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLfgRewardsCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading lfg dungeon rewards...");
|
||||
sLFGMgr->LoadRewards();
|
||||
@@ -1012,7 +1017,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLocalesCreatureCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLocalesCreatureCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Creature Template Locale...");
|
||||
sObjectMgr->LoadCreatureLocales();
|
||||
@@ -1020,7 +1025,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLocalesCreatureTextCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLocalesCreatureTextCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Creature Texts Locale...");
|
||||
sCreatureTextMgr->LoadCreatureTextLocales();
|
||||
@@ -1028,7 +1033,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLocalesGameobjectCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLocalesGameobjectCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Gameobject Template Locale... ");
|
||||
sObjectMgr->LoadGameObjectLocales();
|
||||
@@ -1036,7 +1041,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLocalesGossipMenuOptionCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLocalesGossipMenuOptionCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Gossip Menu Option Locale... ");
|
||||
sObjectMgr->LoadGossipMenuItemsLocales();
|
||||
@@ -1044,7 +1049,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLocalesItemCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLocalesItemCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Item Template Locale... ");
|
||||
sObjectMgr->LoadItemLocales();
|
||||
@@ -1052,7 +1057,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLocalesNpcTextCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLocalesNpcTextCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading NPC Text Locale... ");
|
||||
sObjectMgr->LoadNpcTextLocales();
|
||||
@@ -1060,7 +1065,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLocalesPageTextCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLocalesPageTextCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Page Text Locale... ");
|
||||
sObjectMgr->LoadPageTextLocales();
|
||||
@@ -1068,7 +1073,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLocalesPointsOfInterestCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLocalesPointsOfInterestCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Points Of Interest Locale... ");
|
||||
sObjectMgr->LoadPointOfInterestLocales();
|
||||
@@ -1076,7 +1081,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadLocalesQuestCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadLocalesQuestCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Quest Template Locale... ");
|
||||
sObjectMgr->LoadQuestLocales();
|
||||
@@ -1084,7 +1089,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadMailLevelRewardCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadMailLevelRewardCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Player level dependent mail rewards...");
|
||||
sObjectMgr->LoadMailLevelRewards();
|
||||
@@ -1092,7 +1097,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAuctionsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadAuctionsCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
///- Reload dynamic data tables from the database
|
||||
TC_LOG_INFO("misc", "Re-Loading Auctions...");
|
||||
@@ -1102,7 +1107,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadConditions(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadConditions(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Conditions...");
|
||||
sConditionMgr->LoadConditions(true);
|
||||
@@ -1110,7 +1115,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadCreatureText(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadCreatureText(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Creature Texts...");
|
||||
sCreatureTextMgr->LoadCreatureTexts();
|
||||
@@ -1118,7 +1123,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadSmartScripts(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadSmartScripts(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Smart Scripts...");
|
||||
sSmartScriptMgr->LoadSmartAIFromDB();
|
||||
@@ -1126,7 +1131,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadVehicleAccessoryCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadVehicleAccessoryCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Reloading vehicle_accessory table...");
|
||||
sObjectMgr->LoadVehicleAccessories();
|
||||
@@ -1134,7 +1139,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadVehicleTemplateAccessoryCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadVehicleTemplateAccessoryCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Reloading vehicle_template_accessory table...");
|
||||
sObjectMgr->LoadVehicleTemplateAccessories();
|
||||
@@ -1142,7 +1147,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadRBACCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleReloadRBACCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Reloading RBAC tables...");
|
||||
sAccountMgr->LoadRBAC();
|
||||
|
||||
Reference in new issue
Block a user