|
|
|
@@ -106,6 +106,7 @@ public:
|
|
|
|
|
{ "lfg_dungeon_rewards", SEC_ADMINISTRATOR, true, &HandleReloadLfgRewardsCommand, "", NULL },
|
|
|
|
|
{ "locales_achievement_reward", SEC_ADMINISTRATOR, true, &HandleReloadLocalesAchievementRewardCommand, "", NULL },
|
|
|
|
|
{ "locales_creature", SEC_ADMINISTRATOR, true, &HandleReloadLocalesCreatureCommand, "", NULL },
|
|
|
|
|
{ "locales_creature_text", SEC_ADMINISTRATOR, true, &HandleReloadLocalesCreatureTextCommand, "", NULL },
|
|
|
|
|
{ "locales_gameobject", SEC_ADMINISTRATOR, true, &HandleReloadLocalesGameobjectCommand, "", NULL },
|
|
|
|
|
{ "locales_gossip_menu_option", SEC_ADMINISTRATOR, true, &HandleReloadLocalesGossipMenuOptionCommand, "", NULL },
|
|
|
|
|
{ "locales_item", SEC_ADMINISTRATOR, true, &HandleReloadLocalesItemCommand, "", NULL },
|
|
|
|
@@ -319,6 +320,7 @@ public:
|
|
|
|
|
{
|
|
|
|
|
HandleReloadLocalesAchievementRewardCommand(handler, "a");
|
|
|
|
|
HandleReloadLocalesCreatureCommand(handler, "a");
|
|
|
|
|
HandleReloadLocalesCreatureTextCommand(handler, "a");
|
|
|
|
|
HandleReloadLocalesGameobjectCommand(handler, "a");
|
|
|
|
|
HandleReloadLocalesGossipMenuOptionCommand(handler, "a");
|
|
|
|
|
HandleReloadLocalesItemCommand(handler, "a");
|
|
|
|
@@ -1171,6 +1173,14 @@ public:
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static bool HandleReloadLocalesCreatureTextCommand(ChatHandler* handler, const char* /*args*/)
|
|
|
|
|
{
|
|
|
|
|
sLog->outString("Re-Loading Locales Creature Texts...");
|
|
|
|
|
sCreatureTextMgr->LoadCreatureTextLocales();
|
|
|
|
|
handler->SendGlobalGMSysMessage("DB table `locales_creature_text` reloaded.");
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static bool HandleReloadLocalesGameobjectCommand(ChatHandler* handler, const char* /*args*/)
|
|
|
|
|
{
|
|
|
|
|
sLog->outString("Re-Loading Locales Gameobject ... ");
|
|
|
|
|