mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
feat(Core/Mail): Server mail (#10628)
This commit is contained in:
@@ -125,6 +125,7 @@ public:
|
||||
{ "quest_request_item_locale", HandleReloadLocalesQuestRequestItemsCommand, SEC_ADMINISTRATOR, Console::Yes },
|
||||
{ "mail_level_reward", HandleReloadMailLevelRewardCommand, SEC_ADMINISTRATOR, Console::Yes },
|
||||
{ "mail_loot_template", HandleReloadLootTemplatesMailCommand, SEC_ADMINISTRATOR, Console::Yes },
|
||||
{ "mail_server_template", HandleReloadMailServerTemplateCommand, SEC_ADMINISTRATOR, Console::Yes },
|
||||
{ "milling_loot_template", HandleReloadLootTemplatesMillingCommand, SEC_ADMINISTRATOR, Console::Yes },
|
||||
{ "npc_spellclick_spells", HandleReloadSpellClickSpellsCommand, SEC_ADMINISTRATOR, Console::Yes },
|
||||
{ "npc_trainer", HandleReloadNpcTrainerCommand, SEC_ADMINISTRATOR, Console::Yes },
|
||||
@@ -197,6 +198,7 @@ public:
|
||||
|
||||
HandleReloadDungeonAccessCommand(handler);
|
||||
HandleReloadMailLevelRewardCommand(handler);
|
||||
HandleReloadMailServerTemplateCommand(handler);
|
||||
HandleReloadCommandCommand(handler);
|
||||
HandleReloadReservedNameCommand(handler);
|
||||
HandleReloadAcoreStringCommand(handler);
|
||||
@@ -1148,6 +1150,14 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadMailServerTemplateCommand(ChatHandler* handler)
|
||||
{
|
||||
LOG_INFO("server.loading", "Re-Loading `server_mail_template` table");
|
||||
sObjectMgr->LoadMailServerTemplates();
|
||||
handler->SendGlobalGMSysMessage("DB table `server_mail_template` reloaded.");
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAuctionsCommand(ChatHandler* handler)
|
||||
{
|
||||
///- Reload dynamic data tables from the database
|
||||
|
||||
Reference in New Issue
Block a user