TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
reload_commandscript Class Reference

Public Member Functions

 reload_commandscript ()
 
std::vector< ChatCommandGetCommands () const override
 
- Public Member Functions inherited from ScriptObject
const std::string & GetName () const
 

Static Public Member Functions

static bool HandleReloadSupportSystemCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAllCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAllAchievementCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAllAreaCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAllLootCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAllNpcCommand (ChatHandler *handler, const char *args)
 
static bool HandleReloadAllQuestCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAllScriptsCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAllSpellCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAllGossipsCommand (ChatHandler *handler, const char *args)
 
static bool HandleReloadAllItemCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAllLocalesCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadConfigCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAccessRequirementCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAchievementCriteriaDataCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAchievementRewardCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAreaTriggerTavernCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAreaTriggerTeleportCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAutobroadcastCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadBattlegroundTemplate (ChatHandler *handler, char const *)
 
static bool HandleReloadCharacterTemplate (ChatHandler *handler, char const *)
 
static bool HandleReloadCommandCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadOnKillReputationCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadCreatureSummonGroupsCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadCreatureTemplateCommand (ChatHandler *handler, const char *args)
 
static bool HandleReloadCreatureQuestStarterCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLinkedRespawnCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadCreatureQuestEnderCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadGossipMenuCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadGossipMenuOptionCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadGOQuestStarterCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadGOQuestEnderCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadQuestAreaTriggersCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadQuestGreetingCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadQuestTemplateCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLootTemplatesCreatureCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLootTemplatesDisenchantCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLootTemplatesFishingCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLootTemplatesGameobjectCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLootTemplatesItemCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLootTemplatesMillingCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLootTemplatesPickpocketingCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLootTemplatesProspectingCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLootTemplatesMailCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLootTemplatesReferenceCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLootTemplatesSkinningCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLootTemplatesSpellCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadTrinityStringCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadWardenactionCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadNpcTrainerCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadNpcVendorCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadPointsOfInterestCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadQuestPOICommand (ChatHandler *handler, const char *)
 
static bool HandleReloadSpellClickSpellsCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadReservedNameCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadReputationRewardRateCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadReputationSpilloverTemplateCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadSkillDiscoveryTemplateCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadSkillPerfectItemTemplateCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadSkillExtraItemTemplateCommand (ChatHandler *handler, const char *args)
 
static bool HandleReloadSkillFishingBaseLevelCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadSpellAreaCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadSpellRequiredCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadSpellGroupsCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadSpellLearnSpellCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadSpellLinkedSpellCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadSpellProcEventCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadSpellProcsCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadSpellTargetPositionCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadSpellThreatsCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadSpellGroupStackRulesCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadSpellPetAurasCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadPageTextsCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadItemEnchantementsCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadEventScriptsCommand (ChatHandler *handler, const char *args)
 
static bool HandleReloadWpScriptsCommand (ChatHandler *handler, const char *args)
 
static bool HandleReloadWpCommand (ChatHandler *handler, const char *args)
 
static bool HandleReloadSpellScriptsCommand (ChatHandler *handler, const char *args)
 
static bool HandleReloadGameGraveyardZoneCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadGameTeleCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadDisablesCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLocalesAchievementRewardCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLfgRewardsCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLocalesCreatureCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLocalesCreatureTextCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLocalesGameobjectCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLocalesGossipMenuOptionCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLocalesPageTextCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadLocalesPointsOfInterestCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadQuestLocaleCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadMailLevelRewardCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadAuctionsCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadConditions (ChatHandler *handler, const char *)
 
static bool HandleReloadCreatureText (ChatHandler *handler, const char *)
 
static bool HandleReloadSmartScripts (ChatHandler *handler, const char *)
 
static bool HandleReloadVehicleAccessoryCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadVehicleTemplateAccessoryCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadPhaseDefinitionsCommand (ChatHandler *handler, const char *)
 
static bool HandleReloadRBACCommand (ChatHandler *handler, const char *)
 

Additional Inherited Members

- Protected Member Functions inherited from CommandScript
 CommandScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name)
 
virtual ~ScriptObject ()
 

Constructor & Destructor Documentation

reload_commandscript::reload_commandscript ( )
inline
48 : CommandScript("reload_commandscript") { }
CommandScript(const char *name)
Definition: ScriptMgr.cpp:1616

Member Function Documentation

std::vector<ChatCommand> reload_commandscript::GetCommands ( ) const
inlineoverridevirtual

Implements CommandScript.

51  {
52  static std::vector<ChatCommand> reloadAllCommandTable =
53  {
65  };
66  static std::vector<ChatCommand> reloadCommandTable =
67  {
72  { "all", rbac::RBAC_PERM_COMMAND_RELOAD_ALL, true, NULL, "", reloadAllCommandTable },
155  };
156  static std::vector<ChatCommand> commandTable =
157  {
158  { "reload", rbac::RBAC_PERM_COMMAND_RELOAD, true, NULL, "", reloadCommandTable },
159  };
160  return commandTable;
161  }
static bool HandleReloadLootTemplatesSpellCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:650
static bool HandleReloadGOQuestEnderCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:504
static bool HandleReloadLocalesGameobjectCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1021
static bool HandleReloadConfigCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:319
static bool HandleReloadAreaTriggerTavernCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:352
static bool HandleReloadLootTemplatesProspectingCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:611
Definition: RBAC.h:514
static bool HandleReloadSkillFishingBaseLevelCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:772
static bool HandleReloadQuestLocaleCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1053
static bool HandleReloadSkillDiscoveryTemplateCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:747
static bool HandleReloadSpellRequiredCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:788
static bool HandleReloadSmartScripts(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1097
static bool HandleReloadQuestPOICommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:707
static bool HandleReloadLfgRewardsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:997
static bool HandleReloadAreaTriggerTeleportCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:360
static bool HandleReloadQuestGreetingCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:520
static bool HandleReloadAuctionsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1071
static bool HandleReloadCreatureQuestStarterCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:454
static bool HandleReloadLocalesCreatureTextCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1013
static bool HandleReloadLootTemplatesCreatureCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:541
static bool HandleReloadLootTemplatesSkinningCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:640
static bool HandleReloadAllCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:174
static bool HandleReloadOnKillReputationCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:399
static bool HandleReloadCreatureQuestEnderCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:470
static bool HandleReloadWpScriptsCommand(ChatHandler *handler, const char *args)
Definition: cs_reload.cpp:904
static bool HandleReloadCharacterTemplate(ChatHandler *handler, char const *)
Definition: cs_reload.cpp:384
static bool HandleReloadPageTextsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:868
static bool HandleReloadLootTemplatesMailCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:621
static bool HandleReloadItemEnchantementsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:876
static bool HandleReloadAllNpcCommand(ChatHandler *handler, const char *args)
Definition: cs_reload.cpp:231
arena_t NULL
Definition: jemalloc_internal.h:624
static bool HandleReloadWpCommand(ChatHandler *handler, const char *args)
Definition: cs_reload.cpp:924
static bool HandleReloadAchievementRewardCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:344
static bool HandleReloadReputationRewardRateCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:731
static bool HandleReloadVehicleTemplateAccessoryCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1113
static bool HandleReloadAccessRequirementCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:328
static bool HandleReloadSpellTargetPositionCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:836
static bool HandleReloadSpellClickSpellsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:715
static bool HandleReloadRBACCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1130
static bool HandleReloadNpcTrainerCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:683
static bool HandleReloadSkillExtraItemTemplateCommand(ChatHandler *handler, const char *args)
Definition: cs_reload.cpp:763
static bool HandleReloadLootTemplatesMillingCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:591
static bool HandleReloadLootTemplatesGameobjectCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:571
static bool HandleReloadCreatureSummonGroupsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:407
static bool HandleReloadAchievementCriteriaDataCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:336
static bool HandleReloadQuestAreaTriggersCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:512
static bool HandleReloadLinkedRespawnCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:462
static bool HandleReloadSpellGroupsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:796
static bool HandleReloadGossipMenuOptionCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:487
static bool HandleReloadSpellProcEventCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:820
static bool HandleReloadVehicleAccessoryCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1105
static bool HandleReloadMailLevelRewardCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1063
static bool HandleReloadCommandCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:392
static bool HandleReloadLocalesAchievementRewardCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:989
static bool HandleReloadQuestTemplateCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:528
static bool HandleReloadAllLootCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:222
static bool HandleReloadGameTeleCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:968
static bool HandleReloadSpellProcsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:828
static bool HandleReloadTrinityStringCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:660
static bool HandleReloadConditions(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1081
static bool HandleReloadSpellScriptsCommand(ChatHandler *handler, const char *args)
Definition: cs_reload.cpp:937
static bool HandleReloadSpellGroupStackRulesCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:852
static bool HandleReloadAllSpellCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:272
static bool HandleReloadEventScriptsCommand(ChatHandler *handler, const char *args)
Definition: cs_reload.cpp:884
static bool HandleReloadSpellPetAurasCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:860
static bool HandleReloadLootTemplatesItemCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:581
static bool HandleReloadPointsOfInterestCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:699
static bool HandleReloadAllQuestCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:241
static bool HandleReloadWardenactionCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:668
static bool HandleReloadCreatureText(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1089
static bool HandleReloadLootTemplatesDisenchantCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:551
static bool HandleReloadSpellThreatsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:844
static bool HandleReloadGOQuestStarterCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:496
static bool HandleReloadAllGossipsCommand(ChatHandler *handler, const char *args)
Definition: cs_reload.cpp:290
static bool HandleReloadAutobroadcastCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:368
static bool HandleReloadBattlegroundTemplate(ChatHandler *handler, char const *)
Definition: cs_reload.cpp:376
static bool HandleReloadLocalesPointsOfInterestCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1045
static bool HandleReloadNpcVendorCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:691
static bool HandleReloadSpellAreaCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:780
static bool HandleReloadLootTemplatesFishingCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:561
static bool HandleReloadLocalesGossipMenuOptionCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1029
static bool HandleReloadAllItemCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:299
static bool HandleReloadLootTemplatesPickpocketingCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:601
static bool HandleReloadLootTemplatesReferenceCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:631
static bool HandleReloadCreatureTemplateCommand(ChatHandler *handler, const char *args)
Definition: cs_reload.cpp:415
static bool HandleReloadAllScriptsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:254
static bool HandleReloadAllLocalesCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:306
static bool HandleReloadReservedNameCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:723
static bool HandleReloadAllAchievementCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:206
static bool HandleReloadGossipMenuCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:478
static bool HandleReloadSupportSystemCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:164
static bool HandleReloadAllAreaCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:213
static bool HandleReloadDisablesCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:979
static bool HandleReloadSpellLinkedSpellCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:812
static bool HandleReloadSpellLearnSpellCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:804
static bool HandleReloadLocalesPageTextCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1037
static bool HandleReloadLocalesCreatureCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1005
static bool HandleReloadGameGraveyardZoneCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:957
static bool reload_commandscript::HandleReloadAccessRequirementCommand ( ChatHandler handler,
const char *   
)
inlinestatic
329  {
330  TC_LOG_INFO("misc", "Re-Loading Access Requirement definitions...");
331  sObjectMgr->LoadAccessRequirements();
332  handler->SendGlobalGMSysMessage("DB table `access_requirement` reloaded.");
333  return true;
334  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAchievementCriteriaDataCommand ( ChatHandler handler,
const char *   
)
inlinestatic
337  {
338  TC_LOG_INFO("misc", "Re-Loading Additional Achievement Criteria Data...");
339  sAchievementMgr->LoadAchievementCriteriaData();
340  handler->SendGlobalGMSysMessage("DB table `achievement_criteria_data` reloaded.");
341  return true;
342  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
#define sAchievementMgr
Definition: AchievementMgr.h:501

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAchievementRewardCommand ( ChatHandler handler,
const char *   
)
inlinestatic
345  {
346  TC_LOG_INFO("misc", "Re-Loading Achievement Reward Data...");
347  sAchievementMgr->LoadRewards();
348  handler->SendGlobalGMSysMessage("DB table `achievement_reward` reloaded.");
349  return true;
350  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
#define sAchievementMgr
Definition: AchievementMgr.h:501

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAllAchievementCommand ( ChatHandler handler,
const char *   
)
inlinestatic
207  {
210  return true;
211  }
static bool HandleReloadAchievementRewardCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:344
static bool HandleReloadAchievementCriteriaDataCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:336

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAllAreaCommand ( ChatHandler handler,
const char *   
)
inlinestatic
214  {
215  //HandleReloadQuestAreaTriggersCommand(handler, ""); -- reloaded in HandleReloadAllQuestCommand
219  return true;
220  }
static bool HandleReloadAreaTriggerTavernCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:352
static bool HandleReloadAreaTriggerTeleportCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:360
static bool HandleReloadGameGraveyardZoneCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:957

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAllCommand ( ChatHandler handler,
const char *   
)
inlinestatic
175  {
177 
179  HandleReloadAllAreaCommand(handler, "");
180  HandleReloadAllLootCommand(handler, "");
181  HandleReloadAllNpcCommand(handler, "");
182  HandleReloadAllQuestCommand(handler, "");
183  HandleReloadAllSpellCommand(handler, "");
184  HandleReloadAllItemCommand(handler, "");
185  HandleReloadAllGossipsCommand(handler, "");
186  HandleReloadAllLocalesCommand(handler, "");
187 
190  HandleReloadCommandCommand(handler, "");
191  HandleReloadReservedNameCommand(handler, "");
193  HandleReloadGameTeleCommand(handler, "");
194 
196 
199 
202  HandleReloadCharacterTemplate(handler, "");
203  return true;
204  }
static bool HandleReloadSkillFishingBaseLevelCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:772
static bool HandleReloadCharacterTemplate(ChatHandler *handler, char const *)
Definition: cs_reload.cpp:384
static bool HandleReloadAllNpcCommand(ChatHandler *handler, const char *args)
Definition: cs_reload.cpp:231
static bool HandleReloadVehicleTemplateAccessoryCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1113
static bool HandleReloadAccessRequirementCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:328
static bool HandleReloadCreatureSummonGroupsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:407
static bool HandleReloadVehicleAccessoryCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1105
static bool HandleReloadMailLevelRewardCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1063
static bool HandleReloadCommandCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:392
static bool HandleReloadAllLootCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:222
static bool HandleReloadGameTeleCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:968
static bool HandleReloadTrinityStringCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:660
static bool HandleReloadAllSpellCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:272
static bool HandleReloadAllQuestCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:241
static bool HandleReloadAllGossipsCommand(ChatHandler *handler, const char *args)
Definition: cs_reload.cpp:290
static bool HandleReloadAutobroadcastCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:368
static bool HandleReloadBattlegroundTemplate(ChatHandler *handler, char const *)
Definition: cs_reload.cpp:376
static bool HandleReloadAllItemCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:299
static bool HandleReloadAllLocalesCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:306
static bool HandleReloadReservedNameCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:723
static bool HandleReloadAllAchievementCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:206
static bool HandleReloadAllAreaCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:213

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAllGossipsCommand ( ChatHandler handler,
const char *  args 
)
inlinestatic
291  {
292  HandleReloadGossipMenuCommand(handler, "a");
294  if (*args != 'a') // already reload from all_scripts
296  return true;
297  }
static bool HandleReloadGossipMenuOptionCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:487
static bool HandleReloadPointsOfInterestCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:699
static bool HandleReloadGossipMenuCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:478

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAllItemCommand ( ChatHandler handler,
const char *   
)
inlinestatic
300  {
301  HandleReloadPageTextsCommand(handler, "a");
303  return true;
304  }
static bool HandleReloadPageTextsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:868
static bool HandleReloadItemEnchantementsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:876

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAllLocalesCommand ( ChatHandler handler,
const char *   
)
inlinestatic
307  {
315  HandleReloadQuestLocaleCommand(handler, "a");
316  return true;
317  }
static bool HandleReloadLocalesGameobjectCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1021
static bool HandleReloadQuestLocaleCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1053
static bool HandleReloadLocalesCreatureTextCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1013
static bool HandleReloadLocalesAchievementRewardCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:989
static bool HandleReloadLocalesPointsOfInterestCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1045
static bool HandleReloadLocalesGossipMenuOptionCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1029
static bool HandleReloadLocalesPageTextCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1037
static bool HandleReloadLocalesCreatureCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:1005

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAllLootCommand ( ChatHandler handler,
const char *   
)
inlinestatic
223  {
224  TC_LOG_INFO("misc", "Re-Loading Loot Tables...");
225  LoadLootTables();
226  handler->SendGlobalGMSysMessage("DB tables `*_loot_template` reloaded.");
227  sConditionMgr->LoadConditions(true);
228  return true;
229  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sConditionMgr
Definition: ConditionMgr.h:307
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
void LoadLootTables()
Definition: LootMgr.cpp:1881

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAllNpcCommand ( ChatHandler handler,
const char *  args 
)
inlinestatic
232  {
233  if (*args != 'a') // will be reloaded from all_gossips
234  HandleReloadNpcTrainerCommand(handler, "a");
235  HandleReloadNpcVendorCommand(handler, "a");
238  return true;
239  }
static bool HandleReloadSpellClickSpellsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:715
static bool HandleReloadNpcTrainerCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:683
static bool HandleReloadPointsOfInterestCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:699
static bool HandleReloadNpcVendorCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:691

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAllQuestCommand ( ChatHandler handler,
const char *   
)
inlinestatic
242  {
244  HandleReloadQuestGreetingCommand(handler, "a");
245  HandleReloadQuestPOICommand(handler, "a");
246  HandleReloadQuestTemplateCommand(handler, "a");
247 
248  TC_LOG_INFO("misc", "Re-Loading Quests Relations...");
249  sObjectMgr->LoadQuestStartersAndEnders();
250  handler->SendGlobalGMSysMessage("DB tables `*_queststarter` and `*_questender` reloaded.");
251  return true;
252  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
static bool HandleReloadQuestPOICommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:707
static bool HandleReloadQuestGreetingCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:520
#define sObjectMgr
Definition: ObjectMgr.h:1567
static bool HandleReloadQuestAreaTriggersCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:512
static bool HandleReloadQuestTemplateCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:528
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAllScriptsCommand ( ChatHandler handler,
const char *   
)
inlinestatic
255  {
256  if (sScriptMgr->IsScriptScheduled())
257  {
258  handler->PSendSysMessage("DB scripts used currently, please attempt reload later.");
259  handler->SetSentErrorMessage(true);
260  return false;
261  }
262 
263  TC_LOG_INFO("misc", "Re-Loading Scripts...");
264  HandleReloadEventScriptsCommand(handler, "a");
265  HandleReloadSpellScriptsCommand(handler, "a");
266  handler->SendGlobalGMSysMessage("DB tables `*_scripts` reloaded.");
267  HandleReloadWpScriptsCommand(handler, "a");
268  HandleReloadWpCommand(handler, "a");
269  return true;
270  }
void SetSentErrorMessage(bool val)
Definition: Chat.h:138
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
static bool HandleReloadWpScriptsCommand(ChatHandler *handler, const char *args)
Definition: cs_reload.cpp:904
static bool HandleReloadWpCommand(ChatHandler *handler, const char *args)
Definition: cs_reload.cpp:924
static bool HandleReloadSpellScriptsCommand(ChatHandler *handler, const char *args)
Definition: cs_reload.cpp:937
static bool HandleReloadEventScriptsCommand(ChatHandler *handler, const char *args)
Definition: cs_reload.cpp:884
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
void PSendSysMessage(const char *fmt, Args &&...args)
Definition: Chat.h:72
#define sScriptMgr
Definition: ScriptMgr.h:837

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAllSpellCommand ( ChatHandler handler,
const char *   
)
inlinestatic
273  {
276  HandleReloadSpellRequiredCommand(handler, "a");
277  HandleReloadSpellAreaCommand(handler, "a");
278  HandleReloadSpellGroupsCommand(handler, "a");
281  HandleReloadSpellProcEventCommand(handler, "a");
282  HandleReloadSpellProcsCommand(handler, "a");
284  HandleReloadSpellThreatsCommand(handler, "a");
286  HandleReloadSpellPetAurasCommand(handler, "a");
287  return true;
288  }
static bool HandleReloadSkillDiscoveryTemplateCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:747
static bool HandleReloadSpellRequiredCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:788
static bool HandleReloadSpellTargetPositionCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:836
static bool HandleReloadSkillExtraItemTemplateCommand(ChatHandler *handler, const char *args)
Definition: cs_reload.cpp:763
static bool HandleReloadSpellGroupsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:796
static bool HandleReloadSpellProcEventCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:820
static bool HandleReloadSpellProcsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:828
static bool HandleReloadSpellGroupStackRulesCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:852
static bool HandleReloadSpellPetAurasCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:860
static bool HandleReloadSpellThreatsCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:844
static bool HandleReloadSpellAreaCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:780
static bool HandleReloadSpellLinkedSpellCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:812
static bool HandleReloadSpellLearnSpellCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:804

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAreaTriggerTavernCommand ( ChatHandler handler,
const char *   
)
inlinestatic
353  {
354  TC_LOG_INFO("misc", "Re-Loading Tavern Area Triggers...");
355  sObjectMgr->LoadTavernAreaTriggers();
356  handler->SendGlobalGMSysMessage("DB table `areatrigger_tavern` reloaded.");
357  return true;
358  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAreaTriggerTeleportCommand ( ChatHandler handler,
const char *   
)
inlinestatic
361  {
362  TC_LOG_INFO("misc", "Re-Loading AreaTrigger teleport definitions...");
363  sObjectMgr->LoadAreaTriggerTeleports();
364  handler->SendGlobalGMSysMessage("DB table `areatrigger_teleport` reloaded.");
365  return true;
366  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAuctionsCommand ( ChatHandler handler,
const char *   
)
inlinestatic
  • Reload dynamic data tables from the database
1072  {
1074  TC_LOG_INFO("misc", "Re-Loading Auctions...");
1075  sAuctionMgr->LoadAuctionItems();
1076  sAuctionMgr->LoadAuctions();
1077  handler->SendGlobalGMSysMessage("Auctions reloaded.");
1078  return true;
1079  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sAuctionMgr
Definition: AuctionHouseMgr.h:199
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadAutobroadcastCommand ( ChatHandler handler,
const char *   
)
inlinestatic
369  {
370  TC_LOG_INFO("misc", "Re-Loading Autobroadcasts...");
371  sWorld->LoadAutobroadcasts();
372  handler->SendGlobalGMSysMessage("DB table `autobroadcast` reloaded.");
373  return true;
374  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sWorld
Definition: World.h:887
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadBattlegroundTemplate ( ChatHandler handler,
char const  
)
inlinestatic
377  {
378  TC_LOG_INFO("misc", "Re-Loading Battleground Templates...");
379  sBattlegroundMgr->LoadBattlegroundTemplates();
380  handler->SendGlobalGMSysMessage("DB table `battleground_template` reloaded.");
381  return true;
382  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sBattlegroundMgr
Definition: BattlegroundMgr.h:181
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadCharacterTemplate ( ChatHandler handler,
char const  
)
inlinestatic
385  {
386  TC_LOG_INFO("misc", "Re-Loading Character Templates...");
387  sObjectMgr->LoadCharacterTemplates();
388  handler->SendGlobalGMSysMessage("DB table `character_template` and `character_template_class` reloaded.");
389  return true;
390  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadCommandCommand ( ChatHandler handler,
const char *   
)
inlinestatic
393  {
394  handler->SetLoadCommandTable(true);
395  handler->SendGlobalGMSysMessage("DB table `command` will be reloaded at next chat command use.");
396  return true;
397  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
static void SetLoadCommandTable(bool val)
Definition: Chat.h:140

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadConditions ( ChatHandler handler,
const char *   
)
inlinestatic
1082  {
1083  TC_LOG_INFO("misc", "Re-Loading Conditions...");
1084  sConditionMgr->LoadConditions(true);
1085  handler->SendGlobalGMSysMessage("Conditions reloaded.");
1086  return true;
1087  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sConditionMgr
Definition: ConditionMgr.h:307
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadConfigCommand ( ChatHandler handler,
const char *   
)
inlinestatic
320  {
321  TC_LOG_INFO("misc", "Re-Loading config settings...");
322  sWorld->LoadConfigSettings(true);
323  sMapMgr->InitializeVisibilityDistanceInfo();
324  handler->SendGlobalGMSysMessage("World config settings reloaded.");
325  return true;
326  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sWorld
Definition: World.h:887
#define sMapMgr
Definition: MapManager.h:194
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadCreatureQuestEnderCommand ( ChatHandler handler,
const char *   
)
inlinestatic
471  {
472  TC_LOG_INFO("misc", "Loading Quests Relations... (`creature_questender`)");
473  sObjectMgr->LoadCreatureQuestEnders();
474  handler->SendGlobalGMSysMessage("DB table `creature_questender` reloaded.");
475  return true;
476  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadCreatureQuestStarterCommand ( ChatHandler handler,
const char *   
)
inlinestatic
455  {
456  TC_LOG_INFO("misc", "Loading Quests Relations... (`creature_queststarter`)");
457  sObjectMgr->LoadCreatureQuestStarters();
458  handler->SendGlobalGMSysMessage("DB table `creature_queststarter` reloaded.");
459  return true;
460  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadCreatureSummonGroupsCommand ( ChatHandler handler,
const char *   
)
inlinestatic
408  {
409  TC_LOG_INFO("misc", "Reloading creature summon groups...");
410  sObjectMgr->LoadTempSummons();
411  handler->SendGlobalGMSysMessage("DB table `creature_summon_groups` reloaded.");
412  return true;
413  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadCreatureTemplateCommand ( ChatHandler handler,
const char *  args 
)
inlinestatic
416  {
417  if (!*args)
418  return false;
419 
420  Tokenizer entries(std::string(args), ' ');
421 
422  for (Tokenizer::const_iterator itr = entries.begin(); itr != entries.end(); ++itr)
423  {
424  uint32 entry = uint32(atoi(*itr));
425 
427  stmt->setUInt32(0, entry);
428  PreparedQueryResult result = WorldDatabase.Query(stmt);
429 
430  if (!result)
431  {
433  continue;
434  }
435 
436  CreatureTemplate const* cInfo = sObjectMgr->GetCreatureTemplate(entry);
437  if (!cInfo)
438  {
440  continue;
441  }
442 
443  TC_LOG_INFO("misc", "Reloading creature template entry %u", entry);
444 
445  Field* fields = result->Fetch();
446  sObjectMgr->LoadCreatureTemplate(fields);
447  sObjectMgr->CheckCreatureTemplate(cInfo);
448  }
449 
450  handler->SendGlobalGMSysMessage("Creature template reloaded.");
451  return true;
452  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
std::shared_ptr< PreparedResultSet > PreparedQueryResult
Definition: QueryResult.h:107
Definition: Util.h:45
Class used to access individual fields of database query result.
Definition: Field.h:56
WorldDatabaseWorkerPool WorldDatabase
Accessor to the world database.
Definition: DatabaseEnv.cpp:20
Definition: Language.h:786
Definition: WorldDatabase.h:86
#define sObjectMgr
Definition: ObjectMgr.h:1567
Definition: PreparedStatement.h:74
StorageType::const_iterator const_iterator
Definition: Util.h:52
uint32_t uint32
Definition: Define.h:150
PreparedStatement * GetPreparedStatement(PreparedStatementIndex index)
Definition: DatabaseWorkerPool.h:263
void setUInt32(const uint8 index, const uint32 value)
Definition: PreparedStatement.cpp:115
QueryResult Query(const char *sql, T *connection=nullptr)
Definition: DatabaseWorkerPool.cpp:113
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
void PSendSysMessage(const char *fmt, Args &&...args)
Definition: Chat.h:72
uint32_t uint32
Definition: g3dmath.h:168
Definition: Language.h:785
Definition: Creature.h:79

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadCreatureText ( ChatHandler handler,
const char *   
)
inlinestatic
1090  {
1091  TC_LOG_INFO("misc", "Re-Loading Creature Texts...");
1092  sCreatureTextMgr->LoadCreatureTexts();
1093  handler->SendGlobalGMSysMessage("Creature Texts reloaded.");
1094  return true;
1095  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sCreatureTextMgr
Definition: CreatureTextMgr.h:113
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadDisablesCommand ( ChatHandler handler,
const char *   
)
inlinestatic
980  {
981  TC_LOG_INFO("misc", "Re-Loading disables table...");
983  TC_LOG_INFO("misc", "Checking quest disables...");
985  handler->SendGlobalGMSysMessage("DB table `disables` reloaded.");
986  return true;
987  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
void CheckQuestDisables()
Definition: DisableMgr.cpp:248
void LoadDisables()
Definition: DisableMgr.cpp:58
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadEventScriptsCommand ( ChatHandler handler,
const char *  args 
)
inlinestatic
885  {
886  if (sScriptMgr->IsScriptScheduled())
887  {
888  handler->SendSysMessage("DB scripts used currently, please attempt reload later.");
889  handler->SetSentErrorMessage(true);
890  return false;
891  }
892 
893  if (*args != 'a')
894  TC_LOG_INFO("misc", "Re-Loading Scripts from `event_scripts`...");
895 
896  sObjectMgr->LoadEventScripts();
897 
898  if (*args != 'a')
899  handler->SendGlobalGMSysMessage("DB table `event_scripts` reloaded.");
900 
901  return true;
902  }
void SetSentErrorMessage(bool val)
Definition: Chat.h:138
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
#define sScriptMgr
Definition: ScriptMgr.h:837
virtual void SendSysMessage(char const *str, bool escapeCharacters=false)
Definition: Chat.cpp:152

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadGameGraveyardZoneCommand ( ChatHandler handler,
const char *   
)
inlinestatic
958  {
959  TC_LOG_INFO("misc", "Re-Loading Graveyard-zone links...");
960 
961  sObjectMgr->LoadGraveyardZones();
962 
963  handler->SendGlobalGMSysMessage("DB table `graveyard_zone` reloaded.");
964 
965  return true;
966  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadGameTeleCommand ( ChatHandler handler,
const char *   
)
inlinestatic
969  {
970  TC_LOG_INFO("misc", "Re-Loading Game Tele coordinates...");
971 
972  sObjectMgr->LoadGameTele();
973 
974  handler->SendGlobalGMSysMessage("DB table `game_tele` reloaded.");
975 
976  return true;
977  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadGOQuestEnderCommand ( ChatHandler handler,
const char *   
)
inlinestatic
505  {
506  TC_LOG_INFO("misc", "Loading Quests Relations... (`gameobject_questender`)");
507  sObjectMgr->LoadGameobjectQuestEnders();
508  handler->SendGlobalGMSysMessage("DB table `gameobject_questender` reloaded.");
509  return true;
510  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadGOQuestStarterCommand ( ChatHandler handler,
const char *   
)
inlinestatic
497  {
498  TC_LOG_INFO("misc", "Loading Quests Relations... (`gameobject_queststarter`)");
499  sObjectMgr->LoadGameobjectQuestStarters();
500  handler->SendGlobalGMSysMessage("DB table `gameobject_queststarter` reloaded.");
501  return true;
502  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadGossipMenuCommand ( ChatHandler handler,
const char *   
)
inlinestatic
479  {
480  TC_LOG_INFO("misc", "Re-Loading `gossip_menu` Table!");
481  sObjectMgr->LoadGossipMenu();
482  handler->SendGlobalGMSysMessage("DB table `gossip_menu` reloaded.");
483  sConditionMgr->LoadConditions(true);
484  return true;
485  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define sConditionMgr
Definition: ConditionMgr.h:307
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadGossipMenuOptionCommand ( ChatHandler handler,
const char *   
)
inlinestatic
488  {
489  TC_LOG_INFO("misc", "Re-Loading `gossip_menu_option` Table!");
490  sObjectMgr->LoadGossipMenuItems();
491  handler->SendGlobalGMSysMessage("DB table `gossip_menu_option` reloaded.");
492  sConditionMgr->LoadConditions(true);
493  return true;
494  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define sConditionMgr
Definition: ConditionMgr.h:307
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadItemEnchantementsCommand ( ChatHandler handler,
const char *   
)
inlinestatic
877  {
878  TC_LOG_INFO("misc", "Re-Loading Item Random Enchantments Table...");
880  handler->SendGlobalGMSysMessage("DB table `item_enchantment_template` reloaded.");
881  return true;
882  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
TC_GAME_API void LoadRandomEnchantmentsTable()
Definition: ItemEnchantmentMgr.cpp:47

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLfgRewardsCommand ( ChatHandler handler,
const char *   
)
inlinestatic
998  {
999  TC_LOG_INFO("misc", "Re-Loading lfg dungeon rewards...");
1000  sLFGMgr->LoadRewards();
1001  handler->SendGlobalGMSysMessage("DB table `lfg_dungeon_rewards` reloaded.");
1002  return true;
1003  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sLFGMgr
Definition: LFGMgr.h:481
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLinkedRespawnCommand ( ChatHandler handler,
const char *   
)
inlinestatic
463  {
464  TC_LOG_INFO("misc", "Loading Linked Respawns... (`creature_linked_respawn`)");
465  sObjectMgr->LoadLinkedRespawn();
466  handler->SendGlobalGMSysMessage("DB table `creature_linked_respawn` (creature linked respawns) reloaded.");
467  return true;
468  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLocalesAchievementRewardCommand ( ChatHandler handler,
const char *   
)
inlinestatic
990  {
991  TC_LOG_INFO("misc", "Re-Loading Locales Achievement Reward Data...");
992  sAchievementMgr->LoadRewardLocales();
993  handler->SendGlobalGMSysMessage("DB table `locales_achievement_reward` reloaded.");
994  return true;
995  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
#define sAchievementMgr
Definition: AchievementMgr.h:501

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLocalesCreatureCommand ( ChatHandler handler,
const char *   
)
inlinestatic
1006  {
1007  TC_LOG_INFO("misc", "Re-Loading Locales Creature ...");
1008  sObjectMgr->LoadCreatureLocales();
1009  handler->SendGlobalGMSysMessage("DB table `locales_creature` reloaded.");
1010  return true;
1011  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLocalesCreatureTextCommand ( ChatHandler handler,
const char *   
)
inlinestatic
1014  {
1015  TC_LOG_INFO("misc", "Re-Loading Locales Creature Texts...");
1016  sCreatureTextMgr->LoadCreatureTextLocales();
1017  handler->SendGlobalGMSysMessage("DB table `locales_creature_text` reloaded.");
1018  return true;
1019  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sCreatureTextMgr
Definition: CreatureTextMgr.h:113
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLocalesGameobjectCommand ( ChatHandler handler,
const char *   
)
inlinestatic
1022  {
1023  TC_LOG_INFO("misc", "Re-Loading Locales Gameobject ... ");
1024  sObjectMgr->LoadGameObjectLocales();
1025  handler->SendGlobalGMSysMessage("DB table `locales_gameobject` reloaded.");
1026  return true;
1027  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLocalesGossipMenuOptionCommand ( ChatHandler handler,
const char *   
)
inlinestatic
1030  {
1031  TC_LOG_INFO("misc", "Re-Loading Locales Gossip Menu Option ... ");
1032  sObjectMgr->LoadGossipMenuItemsLocales();
1033  handler->SendGlobalGMSysMessage("DB table `locales_gossip_menu_option` reloaded.");
1034  return true;
1035  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLocalesPageTextCommand ( ChatHandler handler,
const char *   
)
inlinestatic
1038  {
1039  TC_LOG_INFO("misc", "Re-Loading Locales Page Text ... ");
1040  sObjectMgr->LoadPageTextLocales();
1041  handler->SendGlobalGMSysMessage("DB table `locales_page_text` reloaded.");
1042  return true;
1043  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLocalesPointsOfInterestCommand ( ChatHandler handler,
const char *   
)
inlinestatic
1046  {
1047  TC_LOG_INFO("misc", "Re-Loading Locales Points Of Interest ... ");
1048  sObjectMgr->LoadPointOfInterestLocales();
1049  handler->SendGlobalGMSysMessage("DB table `locales_points_of_interest` reloaded.");
1050  return true;
1051  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLootTemplatesCreatureCommand ( ChatHandler handler,
const char *   
)
inlinestatic
542  {
543  TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`creature_loot_template`)");
546  handler->SendGlobalGMSysMessage("DB table `creature_loot_template` reloaded.");
547  sConditionMgr->LoadConditions(true);
548  return true;
549  }
void LoadLootTemplates_Creature()
Definition: LootMgr.cpp:1511
LootStore LootTemplates_Creature("creature_loot_template","creature entry", true)
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
void CheckLootRefs(LootIdSet *ref_set=NULL) const
Definition: LootMgr.cpp:257
#define sConditionMgr
Definition: ConditionMgr.h:307
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLootTemplatesDisenchantCommand ( ChatHandler handler,
const char *   
)
inlinestatic
552  {
553  TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`disenchant_loot_template`)");
556  handler->SendGlobalGMSysMessage("DB table `disenchant_loot_template` reloaded.");
557  sConditionMgr->LoadConditions(true);
558  return true;
559  }
LootStore LootTemplates_Disenchant("disenchant_loot_template","item disenchant id", true)
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
void CheckLootRefs(LootIdSet *ref_set=NULL) const
Definition: LootMgr.cpp:257
#define sConditionMgr
Definition: ConditionMgr.h:307
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
void LoadLootTemplates_Disenchant()
Definition: LootMgr.cpp:1545

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLootTemplatesFishingCommand ( ChatHandler handler,
const char *   
)
inlinestatic
562  {
563  TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`fishing_loot_template`)");
566  handler->SendGlobalGMSysMessage("DB table `fishing_loot_template` reloaded.");
567  sConditionMgr->LoadConditions(true);
568  return true;
569  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
LootStore LootTemplates_Fishing("fishing_loot_template","area id", true)
void CheckLootRefs(LootIdSet *ref_set=NULL) const
Definition: LootMgr.cpp:257
#define sConditionMgr
Definition: ConditionMgr.h:307
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
void LoadLootTemplates_Fishing()
Definition: LootMgr.cpp:1579

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLootTemplatesGameobjectCommand ( ChatHandler handler,
const char *   
)
inlinestatic
572  {
573  TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`gameobject_loot_template`)");
576  handler->SendGlobalGMSysMessage("DB table `gameobject_loot_template` reloaded.");
577  sConditionMgr->LoadConditions(true);
578  return true;
579  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
void LoadLootTemplates_Gameobject()
Definition: LootMgr.cpp:1603
LootStore LootTemplates_Gameobject("gameobject_loot_template","gameobject entry", true)
void CheckLootRefs(LootIdSet *ref_set=NULL) const
Definition: LootMgr.cpp:257
#define sConditionMgr
Definition: ConditionMgr.h:307
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLootTemplatesItemCommand ( ChatHandler handler,
const char *   
)
inlinestatic
582  {
583  TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`item_loot_template`)");
586  handler->SendGlobalGMSysMessage("DB table `item_loot_template` reloaded.");
587  sConditionMgr->LoadConditions(true);
588  return true;
589  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
LootStore LootTemplates_Item("item_loot_template","item entry", true)
void LoadLootTemplates_Item()
Definition: LootMgr.cpp:1637
void CheckLootRefs(LootIdSet *ref_set=NULL) const
Definition: LootMgr.cpp:257
#define sConditionMgr
Definition: ConditionMgr.h:307
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLootTemplatesMailCommand ( ChatHandler handler,
const char *   
)
inlinestatic
622  {
623  TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`mail_loot_template`)");
626  handler->SendGlobalGMSysMessage("DB table `mail_loot_template` reloaded.");
627  sConditionMgr->LoadConditions(true);
628  return true;
629  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
void CheckLootRefs(LootIdSet *ref_set=NULL) const
Definition: LootMgr.cpp:257
#define sConditionMgr
Definition: ConditionMgr.h:307
LootStore LootTemplates_Mail("mail_loot_template","mail template id", false)
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
void LoadLootTemplates_Mail()
Definition: LootMgr.cpp:1753

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLootTemplatesMillingCommand ( ChatHandler handler,
const char *   
)
inlinestatic
592  {
593  TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`milling_loot_template`)");
596  handler->SendGlobalGMSysMessage("DB table `milling_loot_template` reloaded.");
597  sConditionMgr->LoadConditions(true);
598  return true;
599  }
void LoadLootTemplates_Milling()
Definition: LootMgr.cpp:1661
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
LootStore LootTemplates_Milling("milling_loot_template","item entry (herb)", true)
void CheckLootRefs(LootIdSet *ref_set=NULL) const
Definition: LootMgr.cpp:257
#define sConditionMgr
Definition: ConditionMgr.h:307
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLootTemplatesPickpocketingCommand ( ChatHandler handler,
const char *   
)
inlinestatic
602  {
603  TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`pickpocketing_loot_template`)");
606  handler->SendGlobalGMSysMessage("DB table `pickpocketing_loot_template` reloaded.");
607  sConditionMgr->LoadConditions(true);
608  return true;
609  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
void LoadLootTemplates_Pickpocketing()
Definition: LootMgr.cpp:1690
void CheckLootRefs(LootIdSet *ref_set=NULL) const
Definition: LootMgr.cpp:257
#define sConditionMgr
Definition: ConditionMgr.h:307
LootStore LootTemplates_Pickpocketing("pickpocketing_loot_template","creature pickpocket lootid", true)
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLootTemplatesProspectingCommand ( ChatHandler handler,
const char *   
)
inlinestatic
612  {
613  TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`prospecting_loot_template`)");
616  handler->SendGlobalGMSysMessage("DB table `prospecting_loot_template` reloaded.");
617  sConditionMgr->LoadConditions(true);
618  return true;
619  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
LootStore LootTemplates_Prospecting("prospecting_loot_template","item entry (ore)", true)
void LoadLootTemplates_Prospecting()
Definition: LootMgr.cpp:1724
void CheckLootRefs(LootIdSet *ref_set=NULL) const
Definition: LootMgr.cpp:257
#define sConditionMgr
Definition: ConditionMgr.h:307
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLootTemplatesReferenceCommand ( ChatHandler handler,
const char *   
)
inlinestatic
632  {
633  TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`reference_loot_template`)");
635  handler->SendGlobalGMSysMessage("DB table `reference_loot_template` reloaded.");
636  sConditionMgr->LoadConditions(true);
637  return true;
638  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
void LoadLootTemplates_Reference()
Definition: LootMgr.cpp:1853
#define sConditionMgr
Definition: ConditionMgr.h:307
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLootTemplatesSkinningCommand ( ChatHandler handler,
const char *   
)
inlinestatic
641  {
642  TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`skinning_loot_template`)");
645  handler->SendGlobalGMSysMessage("DB table `skinning_loot_template` reloaded.");
646  sConditionMgr->LoadConditions(true);
647  return true;
648  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
LootStore LootTemplates_Skinning("skinning_loot_template","creature skinning id", true)
void LoadLootTemplates_Skinning()
Definition: LootMgr.cpp:1777
void CheckLootRefs(LootIdSet *ref_set=NULL) const
Definition: LootMgr.cpp:257
#define sConditionMgr
Definition: ConditionMgr.h:307
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadLootTemplatesSpellCommand ( ChatHandler handler,
const char *   
)
inlinestatic
651  {
652  TC_LOG_INFO("misc", "Re-Loading Loot Tables... (`spell_loot_template`)");
655  handler->SendGlobalGMSysMessage("DB table `spell_loot_template` reloaded.");
656  sConditionMgr->LoadConditions(true);
657  return true;
658  }
void LoadLootTemplates_Spell()
Definition: LootMgr.cpp:1811
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
void CheckLootRefs(LootIdSet *ref_set=NULL) const
Definition: LootMgr.cpp:257
#define sConditionMgr
Definition: ConditionMgr.h:307
LootStore LootTemplates_Spell("spell_loot_template","spell id (random item creating)", false)
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadMailLevelRewardCommand ( ChatHandler handler,
const char *   
)
inlinestatic
1064  {
1065  TC_LOG_INFO("misc", "Re-Loading Player level dependent mail rewards...");
1066  sObjectMgr->LoadMailLevelRewards();
1067  handler->SendGlobalGMSysMessage("DB table `mail_level_reward` reloaded.");
1068  return true;
1069  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadNpcTrainerCommand ( ChatHandler handler,
const char *   
)
inlinestatic
684  {
685  TC_LOG_INFO("misc", "Re-Loading `npc_trainer` Table!");
686  sObjectMgr->LoadTrainerSpell();
687  handler->SendGlobalGMSysMessage("DB table `npc_trainer` reloaded.");
688  return true;
689  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadNpcVendorCommand ( ChatHandler handler,
const char *   
)
inlinestatic
692  {
693  TC_LOG_INFO("misc", "Re-Loading `npc_vendor` Table!");
694  sObjectMgr->LoadVendors();
695  handler->SendGlobalGMSysMessage("DB table `npc_vendor` reloaded.");
696  return true;
697  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadOnKillReputationCommand ( ChatHandler handler,
const char *   
)
inlinestatic
400  {
401  TC_LOG_INFO("misc", "Re-Loading creature award reputation definitions...");
402  sObjectMgr->LoadReputationOnKill();
403  handler->SendGlobalGMSysMessage("DB table `creature_onkill_reputation` reloaded.");
404  return true;
405  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadPageTextsCommand ( ChatHandler handler,
const char *   
)
inlinestatic
869  {
870  TC_LOG_INFO("misc", "Re-Loading Page Text...");
871  sObjectMgr->LoadPageTexts();
872  handler->SendGlobalGMSysMessage("DB table `page_text` reloaded.");
873  return true;
874  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadPhaseDefinitionsCommand ( ChatHandler handler,
const char *   
)
inlinestatic
1123  {
1124  TC_LOG_INFO("misc", "Reloading terrain_phase_info table...");
1125  sObjectMgr->LoadTerrainPhaseInfo();
1126  handler->SendGlobalGMSysMessage("Terrain phase infos reloaded.");
1127  return true;
1128  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

static bool reload_commandscript::HandleReloadPointsOfInterestCommand ( ChatHandler handler,
const char *   
)
inlinestatic
700  {
701  TC_LOG_INFO("misc", "Re-Loading `points_of_interest` Table!");
702  sObjectMgr->LoadPointsOfInterest();
703  handler->SendGlobalGMSysMessage("DB table `points_of_interest` reloaded.");
704  return true;
705  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadQuestAreaTriggersCommand ( ChatHandler handler,
const char *   
)
inlinestatic
513  {
514  TC_LOG_INFO("misc", "Re-Loading Quest Area Triggers...");
515  sObjectMgr->LoadQuestAreaTriggers();
516  handler->SendGlobalGMSysMessage("DB table `areatrigger_involvedrelation` (quest area triggers) reloaded.");
517  return true;
518  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadQuestGreetingCommand ( ChatHandler handler,
const char *   
)
inlinestatic
521  {
522  TC_LOG_INFO("misc", "Re-Loading Quest Greeting ... ");
523  sObjectMgr->LoadQuestGreetings();
524  handler->SendGlobalGMSysMessage("DB table `quest_greeting` reloaded.");
525  return true;
526  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadQuestLocaleCommand ( ChatHandler handler,
const char *   
)
inlinestatic
1054  {
1055  TC_LOG_INFO("misc", "Re-Loading Quest Locale ... ");
1056  sObjectMgr->LoadQuestTemplateLocale();
1057  sObjectMgr->LoadQuestObjectivesLocale();
1058  handler->SendGlobalGMSysMessage("DB table `quest_template_locale` reloaded.");
1059  handler->SendGlobalGMSysMessage("DB table `quest_objectives_locale` reloaded.");
1060  return true;
1061  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadQuestPOICommand ( ChatHandler handler,
const char *   
)
inlinestatic
708  {
709  TC_LOG_INFO("misc", "Re-Loading Quest POI ..." );
710  sObjectMgr->LoadQuestPOI();
711  handler->SendGlobalGMSysMessage("DB Table `quest_poi` and `quest_poi_points` reloaded.");
712  return true;
713  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadQuestTemplateCommand ( ChatHandler handler,
const char *   
)
inlinestatic

dependent also from gameobject but this table not reloaded anyway

529  {
530  TC_LOG_INFO("misc", "Re-Loading Quest Templates...");
531  sObjectMgr->LoadQuests();
532  handler->SendGlobalGMSysMessage("DB table `quest_template` (quest definitions) reloaded.");
533 
535  TC_LOG_INFO("misc", "Re-Loading GameObjects for quests...");
536  sObjectMgr->LoadGameObjectForQuests();
537  handler->SendGlobalGMSysMessage("Data GameObjects for quests reloaded.");
538  return true;
539  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadRBACCommand ( ChatHandler handler,
const char *   
)
inlinestatic
1131  {
1132  TC_LOG_INFO("misc", "Reloading RBAC tables...");
1133  sAccountMgr->LoadRBAC();
1134  sWorld->ReloadRBAC();
1135  handler->SendGlobalGMSysMessage("RBAC data reloaded.");
1136  return true;
1137  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sWorld
Definition: World.h:887
#define sAccountMgr
Definition: AccountMgr.h:98
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadReputationRewardRateCommand ( ChatHandler handler,
const char *   
)
inlinestatic
732  {
733  TC_LOG_INFO("misc", "Re-Loading `reputation_reward_rate` Table!" );
734  sObjectMgr->LoadReputationRewardRate();
735  handler->SendGlobalSysMessage("DB table `reputation_reward_rate` reloaded.");
736  return true;
737  }
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
void SendGlobalSysMessage(const char *str)
Definition: Chat.cpp:189

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadReputationSpilloverTemplateCommand ( ChatHandler handler,
const char *   
)
inlinestatic
740  {
741  TC_LOG_INFO("misc", "Re-Loading `reputation_spillover_template` Table!" );
742  sObjectMgr->LoadReputationSpilloverTemplate();
743  handler->SendGlobalSysMessage("DB table `reputation_spillover_template` reloaded.");
744  return true;
745  }
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
void SendGlobalSysMessage(const char *str)
Definition: Chat.cpp:189

+ Here is the call graph for this function:

static bool reload_commandscript::HandleReloadReservedNameCommand ( ChatHandler handler,
const char *   
)
inlinestatic
724  {
725  TC_LOG_INFO("misc", "Loading ReservedNames... (`reserved_name`)");
726  sObjectMgr->LoadReservedPlayersNames();
727  handler->SendGlobalGMSysMessage("DB table `reserved_name` (player reserved names) reloaded.");
728  return true;
729  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSkillDiscoveryTemplateCommand ( ChatHandler handler,
const char *   
)
inlinestatic
748  {
749  TC_LOG_INFO("misc", "Re-Loading Skill Discovery Table...");
751  handler->SendGlobalGMSysMessage("DB table `skill_discovery_template` (recipes discovered at crafting) reloaded.");
752  return true;
753  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
void LoadSkillDiscoveryTable()
Definition: SkillDiscovery.cpp:47
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSkillExtraItemTemplateCommand ( ChatHandler handler,
const char *  args 
)
inlinestatic
764  {
765  TC_LOG_INFO("misc", "Re-Loading Skill Extra Item Table...");
767  handler->SendGlobalGMSysMessage("DB table `skill_extra_item_template` (extra item creation when crafting) reloaded.");
768 
769  return HandleReloadSkillPerfectItemTemplateCommand(handler, args);
770  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
void LoadSkillExtraItemTable()
Definition: SkillExtraItems.cpp:139
static bool HandleReloadSkillPerfectItemTemplateCommand(ChatHandler *handler, const char *)
Definition: cs_reload.cpp:755
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSkillFishingBaseLevelCommand ( ChatHandler handler,
const char *   
)
inlinestatic
773  {
774  TC_LOG_INFO("misc", "Re-Loading Skill Fishing base level requirements...");
775  sObjectMgr->LoadFishingBaseSkillLevel();
776  handler->SendGlobalGMSysMessage("DB table `skill_fishing_base_level` (fishing base level for zone/subzone) reloaded.");
777  return true;
778  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSkillPerfectItemTemplateCommand ( ChatHandler handler,
const char *   
)
inlinestatic
756  { // latched onto HandleReloadSkillExtraItemTemplateCommand as it's part of that table group (and i don't want to chance all the command IDs)
757  TC_LOG_INFO("misc", "Re-Loading Skill Perfection Data Table...");
759  handler->SendGlobalGMSysMessage("DB table `skill_perfect_item_template` (perfect item procs when crafting) reloaded.");
760  return true;
761  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
void LoadSkillPerfectItemTable()
Definition: SkillExtraItems.cpp:52
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSmartScripts ( ChatHandler handler,
const char *   
)
inlinestatic
1098  {
1099  TC_LOG_INFO("misc", "Re-Loading Smart Scripts...");
1100  sSmartScriptMgr->LoadSmartAIFromDB();
1101  handler->SendGlobalGMSysMessage("Smart Scripts reloaded.");
1102  return true;
1103  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
#define sSmartScriptMgr
Definition: SmartScriptMgr.h:1669

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSpellAreaCommand ( ChatHandler handler,
const char *   
)
inlinestatic
781  {
782  TC_LOG_INFO("misc", "Re-Loading SpellArea Data...");
783  sSpellMgr->LoadSpellAreas();
784  handler->SendGlobalGMSysMessage("DB table `spell_area` (spell dependences from area/quest/auras state) reloaded.");
785  return true;
786  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sSpellMgr
Definition: SpellMgr.h:756
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSpellClickSpellsCommand ( ChatHandler handler,
const char *   
)
inlinestatic
716  {
717  TC_LOG_INFO("misc", "Re-Loading `npc_spellclick_spells` Table!");
718  sObjectMgr->LoadNPCSpellClickSpells();
719  handler->SendGlobalGMSysMessage("DB table `npc_spellclick_spells` reloaded.");
720  return true;
721  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSpellGroupsCommand ( ChatHandler handler,
const char *   
)
inlinestatic
797  {
798  TC_LOG_INFO("misc", "Re-Loading Spell Groups...");
799  sSpellMgr->LoadSpellGroups();
800  handler->SendGlobalGMSysMessage("DB table `spell_group` (spell groups) reloaded.");
801  return true;
802  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sSpellMgr
Definition: SpellMgr.h:756
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSpellGroupStackRulesCommand ( ChatHandler handler,
const char *   
)
inlinestatic
853  {
854  TC_LOG_INFO("misc", "Re-Loading Spell Group Stack Rules...");
855  sSpellMgr->LoadSpellGroupStackRules();
856  handler->SendGlobalGMSysMessage("DB table `spell_group_stack_rules` (spell stacking definitions) reloaded.");
857  return true;
858  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sSpellMgr
Definition: SpellMgr.h:756
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSpellLearnSpellCommand ( ChatHandler handler,
const char *   
)
inlinestatic
805  {
806  TC_LOG_INFO("misc", "Re-Loading Spell Learn Spells...");
807  sSpellMgr->LoadSpellLearnSpells();
808  handler->SendGlobalGMSysMessage("DB table `spell_learn_spell` reloaded.");
809  return true;
810  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sSpellMgr
Definition: SpellMgr.h:756
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSpellLinkedSpellCommand ( ChatHandler handler,
const char *   
)
inlinestatic
813  {
814  TC_LOG_INFO("misc", "Re-Loading Spell Linked Spells...");
815  sSpellMgr->LoadSpellLinked();
816  handler->SendGlobalGMSysMessage("DB table `spell_linked_spell` reloaded.");
817  return true;
818  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sSpellMgr
Definition: SpellMgr.h:756
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSpellPetAurasCommand ( ChatHandler handler,
const char *   
)
inlinestatic
861  {
862  TC_LOG_INFO("misc", "Re-Loading Spell pet auras...");
863  sSpellMgr->LoadSpellPetAuras();
864  handler->SendGlobalGMSysMessage("DB table `spell_pet_auras` reloaded.");
865  return true;
866  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sSpellMgr
Definition: SpellMgr.h:756
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSpellProcEventCommand ( ChatHandler handler,
const char *   
)
inlinestatic
821  {
822  TC_LOG_INFO("misc", "Re-Loading Spell Proc Event conditions...");
823  sSpellMgr->LoadSpellProcEvents();
824  handler->SendGlobalGMSysMessage("DB table `spell_proc_event` (spell proc trigger requirements) reloaded.");
825  return true;
826  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sSpellMgr
Definition: SpellMgr.h:756
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSpellProcsCommand ( ChatHandler handler,
const char *   
)
inlinestatic
829  {
830  TC_LOG_INFO("misc", "Re-Loading Spell Proc conditions and data...");
831  sSpellMgr->LoadSpellProcs();
832  handler->SendGlobalGMSysMessage("DB table `spell_proc` (spell proc conditions and data) reloaded.");
833  return true;
834  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sSpellMgr
Definition: SpellMgr.h:756
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSpellRequiredCommand ( ChatHandler handler,
const char *   
)
inlinestatic
789  {
790  TC_LOG_INFO("misc", "Re-Loading Spell Required Data... ");
791  sSpellMgr->LoadSpellRequired();
792  handler->SendGlobalGMSysMessage("DB table `spell_required` reloaded.");
793  return true;
794  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sSpellMgr
Definition: SpellMgr.h:756
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSpellScriptsCommand ( ChatHandler handler,
const char *  args 
)
inlinestatic
938  {
939  if (sScriptMgr->IsScriptScheduled())
940  {
941  handler->SendSysMessage("DB scripts used currently, please attempt reload later.");
942  handler->SetSentErrorMessage(true);
943  return false;
944  }
945 
946  if (*args != 'a')
947  TC_LOG_INFO("misc", "Re-Loading Scripts from `spell_scripts`...");
948 
949  sObjectMgr->LoadSpellScripts();
950 
951  if (*args != 'a')
952  handler->SendGlobalGMSysMessage("DB table `spell_scripts` reloaded.");
953 
954  return true;
955  }
void SetSentErrorMessage(bool val)
Definition: Chat.h:138
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
#define sScriptMgr
Definition: ScriptMgr.h:837
virtual void SendSysMessage(char const *str, bool escapeCharacters=false)
Definition: Chat.cpp:152

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSpellTargetPositionCommand ( ChatHandler handler,
const char *   
)
inlinestatic
837  {
838  TC_LOG_INFO("misc", "Re-Loading Spell target coordinates...");
839  sSpellMgr->LoadSpellTargetPositions();
840  handler->SendGlobalGMSysMessage("DB table `spell_target_position` (destination coordinates for spell targets) reloaded.");
841  return true;
842  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sSpellMgr
Definition: SpellMgr.h:756
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSpellThreatsCommand ( ChatHandler handler,
const char *   
)
inlinestatic
845  {
846  TC_LOG_INFO("misc", "Re-Loading Aggro Spells Definitions...");
847  sSpellMgr->LoadSpellThreats();
848  handler->SendGlobalGMSysMessage("DB table `spell_threat` (spell aggro definitions) reloaded.");
849  return true;
850  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sSpellMgr
Definition: SpellMgr.h:756
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadSupportSystemCommand ( ChatHandler handler,
const char *   
)
inlinestatic
165  {
166  TC_LOG_INFO("misc", "Re-Loading Support System Tables...");
167  sSupportMgr->LoadBugTickets();
168  sSupportMgr->LoadComplaintTickets();
169  sSupportMgr->LoadSuggestionTickets();
170  handler->SendGlobalGMSysMessage("DB tables `gm_*` reloaded.");
171  return true;
172  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sSupportMgr
Definition: SupportMgr.h:296
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadTrinityStringCommand ( ChatHandler handler,
const char *   
)
inlinestatic
661  {
662  TC_LOG_INFO("misc", "Re-Loading trinity_string Table!");
663  sObjectMgr->LoadTrinityStrings();
664  handler->SendGlobalGMSysMessage("DB table `trinity_string` reloaded.");
665  return true;
666  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadVehicleAccessoryCommand ( ChatHandler handler,
const char *   
)
inlinestatic
1106  {
1107  TC_LOG_INFO("misc", "Reloading vehicle_accessory table...");
1108  sObjectMgr->LoadVehicleAccessories();
1109  handler->SendGlobalGMSysMessage("Vehicle accessories reloaded.");
1110  return true;
1111  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadVehicleTemplateAccessoryCommand ( ChatHandler handler,
const char *   
)
inlinestatic
1114  {
1115  TC_LOG_INFO("misc", "Reloading vehicle_template_accessory table...");
1116  sObjectMgr->LoadVehicleTemplateAccessories();
1117  handler->SendGlobalGMSysMessage("Vehicle template accessories reloaded.");
1118  return true;
1119  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadWardenactionCommand ( ChatHandler handler,
const char *   
)
inlinestatic
669  {
670  if (!sWorld->getBoolConfig(CONFIG_WARDEN_ENABLED))
671  {
672  handler->SendSysMessage("Warden system disabled by config - reloading warden_action skipped.");
673  handler->SetSentErrorMessage(true);
674  return false;
675  }
676 
677  TC_LOG_INFO("misc", "Re-Loading warden_action Table!");
678  sWardenCheckMgr->LoadWardenOverrides();
679  handler->SendGlobalGMSysMessage("DB table `warden_action` reloaded.");
680  return true;
681  }
void SetSentErrorMessage(bool val)
Definition: Chat.h:138
Definition: World.h:166
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sWorld
Definition: World.h:887
#define sWardenCheckMgr
Definition: WardenCheckMgr.h:80
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
virtual void SendSysMessage(char const *str, bool escapeCharacters=false)
Definition: Chat.cpp:152

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadWpCommand ( ChatHandler handler,
const char *  args 
)
inlinestatic
925  {
926  if (*args != 'a')
927  TC_LOG_INFO("misc", "Re-Loading Waypoints data from 'waypoints_data'");
928 
929  sWaypointMgr->Load();
930 
931  if (*args != 'a')
932  handler->SendGlobalGMSysMessage("DB Table 'waypoint_data' reloaded.");
933 
934  return true;
935  }
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sWaypointMgr
Definition: WaypointManager.h:75
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool reload_commandscript::HandleReloadWpScriptsCommand ( ChatHandler handler,
const char *  args 
)
inlinestatic
905  {
906  if (sScriptMgr->IsScriptScheduled())
907  {
908  handler->SendSysMessage("DB scripts used currently, please attempt reload later.");
909  handler->SetSentErrorMessage(true);
910  return false;
911  }
912 
913  if (*args != 'a')
914  TC_LOG_INFO("misc", "Re-Loading Scripts from `waypoint_scripts`...");
915 
916  sObjectMgr->LoadWaypointScripts();
918  if (*args != 'a')
919  handler->SendGlobalGMSysMessage("DB table `waypoint_scripts` reloaded.");
920 
921  return true;
922  }
void SetSentErrorMessage(bool val)
Definition: Chat.h:138
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:207
#define sObjectMgr
Definition: ObjectMgr.h:1567
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
#define sScriptMgr
Definition: ScriptMgr.h:837
virtual void SendSysMessage(char const *str, bool escapeCharacters=false)
Definition: Chat.cpp:152

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: