AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
reload_commandscript Class Reference
Inheritance diagram for reload_commandscript:
CommandScript ScriptObject

Public Member Functions

 reload_commandscript ()
 
ChatCommandTable GetCommands () const override
 
virtual std::vector< Acore::ChatCommands::ChatCommandBuilderGetCommands () const =0
 
- Public Member Functions inherited from ScriptObject
virtual bool IsDatabaseBound () const
 
virtual bool isAfterLoadScript () const
 
virtual void checkValidity ()
 
const std::string & GetName () const
 
uint16 GetTotalAvailableHooks ()
 

Static Public Member Functions

static bool HandleReloadGMTicketsCommand (ChatHandler *)
 
static bool HandleReloadAllCommand (ChatHandler *handler)
 
static bool HandleReloadBattlegroundTemplate (ChatHandler *handler)
 
static bool HandleReloadAllAchievementCommand (ChatHandler *handler)
 
static bool HandleReloadAllAreaCommand (ChatHandler *handler)
 
static bool HandleReloadAllLootCommand (ChatHandler *handler)
 
static bool HandleReloadAllNpcCommand (ChatHandler *handler)
 
static bool HandleReloadAllQuestCommand (ChatHandler *handler)
 
static bool HandleReloadAllScriptsCommand (ChatHandler *handler)
 
static bool HandleReloadAllSpellCommand (ChatHandler *handler)
 
static bool HandleReloadAllGossipsCommand (ChatHandler *handler)
 
static bool HandleReloadAllItemCommand (ChatHandler *handler)
 
static bool HandleReloadAllLocalesCommand (ChatHandler *handler)
 
static bool HandleReloadConfigCommand (ChatHandler *handler)
 
static bool HandleReloadDungeonAccessCommand (ChatHandler *handler)
 
static bool HandleReloadAchievementCriteriaDataCommand (ChatHandler *handler)
 
static bool HandleReloadAchievementRewardCommand (ChatHandler *handler)
 
static bool HandleReloadAreaTriggerTavernCommand (ChatHandler *handler)
 
static bool HandleReloadAreaTriggerCommand (ChatHandler *handler)
 
static bool HandleReloadAreaTriggerTeleportCommand (ChatHandler *handler)
 
static bool HandleReloadAutobroadcastCommand (ChatHandler *handler)
 
static bool HandleReloadMotdCommand (ChatHandler *handler)
 
static bool HandleReloadBroadcastTextCommand (ChatHandler *handler)
 
static bool HandleReloadCommandCommand (ChatHandler *handler)
 
static bool HandleReloadOnKillReputationCommand (ChatHandler *handler)
 
static bool HandleReloadCreatureTemplateCommand (ChatHandler *handler, std::string_view args)
 
static bool HandleReloadCreatureQuestStarterCommand (ChatHandler *handler)
 
static bool HandleReloadLinkedRespawnCommand (ChatHandler *handler)
 
static bool HandleReloadCreatureQuestEnderCommand (ChatHandler *handler)
 
static bool HandleReloadGossipMenuCommand (ChatHandler *handler)
 
static bool HandleReloadGossipMenuOptionCommand (ChatHandler *handler)
 
static bool HandleReloadGOQuestStarterCommand (ChatHandler *handler)
 
static bool HandleReloadGOQuestEnderCommand (ChatHandler *handler)
 
static bool HandleReloadQuestAreaTriggersCommand (ChatHandler *handler)
 
static bool HandleReloadQuestGreetingCommand (ChatHandler *handler)
 
static bool HandleReloadQuestTemplateCommand (ChatHandler *handler)
 
static bool HandleReloadLootTemplatesCreatureCommand (ChatHandler *handler)
 
static bool HandleReloadCreatureMovementOverrideCommand (ChatHandler *handler)
 
static bool HandleReloadLootTemplatesDisenchantCommand (ChatHandler *handler)
 
static bool HandleReloadLootTemplatesFishingCommand (ChatHandler *handler)
 
static bool HandleReloadLootTemplatesGameobjectCommand (ChatHandler *handler)
 
static bool HandleReloadLootTemplatesItemCommand (ChatHandler *handler)
 
static bool HandleReloadLootTemplatesMillingCommand (ChatHandler *handler)
 
static bool HandleReloadLootTemplatesPickpocketingCommand (ChatHandler *handler)
 
static bool HandleReloadLootTemplatesProspectingCommand (ChatHandler *handler)
 
static bool HandleReloadLootTemplatesMailCommand (ChatHandler *handler)
 
static bool HandleReloadLootTemplatesReferenceCommand (ChatHandler *handler)
 
static bool HandleReloadLootTemplatesSkinningCommand (ChatHandler *handler)
 
static bool HandleReloadLootTemplatesSpellCommand (ChatHandler *handler)
 
static bool HandleReloadLootTemplatesPlayerCommand (ChatHandler *handler)
 
static bool HandleReloadModuleStringCommand (ChatHandler *handler)
 
static bool HandleReloadAcoreStringCommand (ChatHandler *handler)
 
static bool HandleReloadWardenactionCommand (ChatHandler *handler)
 
static bool HandleReloadNpcTrainerCommand (ChatHandler *handler)
 
static bool HandleReloadNpcVendorCommand (ChatHandler *handler)
 
static bool HandleReloadPointsOfInterestCommand (ChatHandler *handler)
 
static bool HandleReloadQuestPOICommand (ChatHandler *handler)
 
static bool HandleReloadSpellClickSpellsCommand (ChatHandler *handler)
 
static bool HandleReloadReservedNameCommand (ChatHandler *handler)
 
static bool HandleReloadProfanityNameCommand (ChatHandler *handler)
 
static bool HandleReloadReputationRewardRateCommand (ChatHandler *handler)
 
static bool HandleReloadReputationSpilloverTemplateCommand (ChatHandler *handler)
 
static bool HandleReloadSkillDiscoveryTemplateCommand (ChatHandler *handler)
 
static bool HandleReloadSkillPerfectItemTemplateCommand (ChatHandler *handler)
 
static bool HandleReloadSkillExtraItemTemplateCommand (ChatHandler *handler)
 
static bool HandleReloadSkillFishingBaseLevelCommand (ChatHandler *handler)
 
static bool HandleReloadSpellAreaCommand (ChatHandler *handler)
 
static bool HandleReloadSpellRequiredCommand (ChatHandler *handler)
 
static bool HandleReloadSpellGroupsCommand (ChatHandler *handler)
 
static bool HandleReloadSpellLinkedSpellCommand (ChatHandler *handler)
 
static bool HandleReloadSpellProcEventCommand (ChatHandler *handler)
 
static bool HandleReloadSpellProcsCommand (ChatHandler *handler)
 
static bool HandleReloadSpellBonusesCommand (ChatHandler *handler)
 
static bool HandleReloadSpellTargetPositionCommand (ChatHandler *handler)
 
static bool HandleReloadSpellThreatsCommand (ChatHandler *handler)
 
static bool HandleReloadSpellGroupStackRulesCommand (ChatHandler *handler)
 
static bool HandleReloadSpellPetAurasCommand (ChatHandler *handler)
 
static bool HandleReloadPageTextsCommand (ChatHandler *handler)
 
static bool HandleReloadItemEnchantementsCommand (ChatHandler *handler)
 
static bool HandleReloadItemSetNamesCommand (ChatHandler *handler)
 
static bool HandleReloadEventScriptsCommand (ChatHandler *handler)
 
static bool HandleReloadWpScriptsCommand (ChatHandler *handler)
 
static bool HandleReloadWpCommand (ChatHandler *handler)
 
static bool HandleReloadSpellScriptsCommand (ChatHandler *handler)
 
static bool HandleReloadGameGraveyardZoneCommand (ChatHandler *handler)
 
static bool HandleReloadGameTeleCommand (ChatHandler *handler)
 
static bool HandleReloadDisablesCommand (ChatHandler *handler)
 
static bool HandleReloadLocalesAchievementRewardCommand (ChatHandler *handler)
 
static bool HandleReloadLfgRewardsCommand (ChatHandler *handler)
 
static bool HandleReloadLocalesCreatureCommand (ChatHandler *handler)
 
static bool HandleReloadLocalesCreatureTextCommand (ChatHandler *handler)
 
static bool HandleReloadLocalesGameobjectCommand (ChatHandler *handler)
 
static bool HandleReloadLocalesGossipMenuOptionCommand (ChatHandler *handler)
 
static bool HandleReloadLocalesItemCommand (ChatHandler *handler)
 
static bool HandleReloadLocalesItemSetNameCommand (ChatHandler *handler)
 
static bool HandleReloadLocalesNpcTextCommand (ChatHandler *handler)
 
static bool HandleReloadLocalesPageTextCommand (ChatHandler *handler)
 
static bool HandleReloadLocalesPointsOfInterestCommand (ChatHandler *handler)
 
static bool HandleReloadLocalesQuestCommand (ChatHandler *handler)
 
static bool HandleReloadLocalesQuestOfferRewardCommand (ChatHandler *handler)
 
static bool HandleReloadLocalesQuestRequestItemsCommand (ChatHandler *handler)
 
static bool HandleReloadMailLevelRewardCommand (ChatHandler *handler)
 
static bool HandleReloadMailServerTemplateCommand (ChatHandler *handler)
 
static bool HandleReloadAuctionsCommand (ChatHandler *handler)
 
static bool HandleReloadConditions (ChatHandler *handler)
 
static bool HandleReloadCreatureText (ChatHandler *handler)
 
static bool HandleReloadSmartScripts (ChatHandler *handler)
 
static bool HandleReloadVehicleAccessoryCommand (ChatHandler *handler)
 
static bool HandleReloadVehicleTemplateAccessoryCommand (ChatHandler *handler)
 
static bool HandleReloadGameGraveyardCommand (ChatHandler *handler)
 

Additional Inherited Members

- Protected Member Functions inherited from CommandScript
 CommandScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name, uint16 totalAvailableHooks=0)
 
virtual ~ScriptObject ()=default
 

Detailed Description

Constructor & Destructor Documentation

◆ reload_commandscript()

reload_commandscript::reload_commandscript ( )
inline
56: CommandScript("reload_commandscript") { }
Definition: CommandScript.h:25

Member Function Documentation

◆ GetCommands()

ChatCommandTable reload_commandscript::GetCommands ( ) const
inlineoverridevirtual

Implements CommandScript.

59 {
60 static ChatCommandTable reloadAllCommandTable =
61 {
62 { "achievement", HandleReloadAllAchievementCommand, SEC_ADMINISTRATOR, Console::Yes },
63 { "area", HandleReloadAllAreaCommand, SEC_ADMINISTRATOR, Console::Yes },
64 { "gossips", HandleReloadAllGossipsCommand, SEC_ADMINISTRATOR, Console::Yes },
65 { "item", HandleReloadAllItemCommand, SEC_ADMINISTRATOR, Console::Yes },
66 { "locales", HandleReloadAllLocalesCommand, SEC_ADMINISTRATOR, Console::Yes },
67 { "loot", HandleReloadAllLootCommand, SEC_ADMINISTRATOR, Console::Yes },
68 { "npc", HandleReloadAllNpcCommand, SEC_ADMINISTRATOR, Console::Yes },
69 { "quest", HandleReloadAllQuestCommand, SEC_ADMINISTRATOR, Console::Yes },
70 { "scripts", HandleReloadAllScriptsCommand, SEC_ADMINISTRATOR, Console::Yes },
71 { "spell", HandleReloadAllSpellCommand, SEC_ADMINISTRATOR, Console::Yes },
72 { "", HandleReloadAllCommand, SEC_ADMINISTRATOR, Console::Yes },
73 };
74 static ChatCommandTable reloadCommandTable =
75 {
76 { "auctions", HandleReloadAuctionsCommand, SEC_ADMINISTRATOR, Console::Yes },
77 { "dungeon_access_template", HandleReloadDungeonAccessCommand, SEC_ADMINISTRATOR, Console::Yes },
78 { "dungeon_access_requirements", HandleReloadDungeonAccessCommand, SEC_ADMINISTRATOR, Console::Yes },
79 { "achievement_criteria_data", HandleReloadAchievementCriteriaDataCommand, SEC_ADMINISTRATOR, Console::Yes },
80 { "achievement_reward", HandleReloadAchievementRewardCommand, SEC_ADMINISTRATOR, Console::Yes },
81 { "all", reloadAllCommandTable },
82 { "areatrigger", HandleReloadQuestAreaTriggersCommand, SEC_ADMINISTRATOR, Console::Yes },
83 { "areatrigger_involvedrelation", HandleReloadQuestAreaTriggersCommand, SEC_ADMINISTRATOR, Console::Yes },
84 { "areatrigger_tavern", HandleReloadAreaTriggerTavernCommand, SEC_ADMINISTRATOR, Console::Yes },
85 { "areatrigger_teleport", HandleReloadAreaTriggerTeleportCommand, SEC_ADMINISTRATOR, Console::Yes },
86 { "autobroadcast", HandleReloadAutobroadcastCommand, SEC_ADMINISTRATOR, Console::Yes },
87 { "motd", HandleReloadMotdCommand, SEC_ADMINISTRATOR, Console::Yes },
88 { "broadcast_text", HandleReloadBroadcastTextCommand, SEC_ADMINISTRATOR, Console::Yes },
89 { "battleground_template", HandleReloadBattlegroundTemplate, SEC_ADMINISTRATOR, Console::Yes },
90 { "command", HandleReloadCommandCommand, SEC_ADMINISTRATOR, Console::Yes },
91 { "conditions", HandleReloadConditions, SEC_ADMINISTRATOR, Console::Yes },
92 { "config", HandleReloadConfigCommand, SEC_ADMINISTRATOR, Console::Yes },
93 { "creature_text", HandleReloadCreatureText, SEC_ADMINISTRATOR, Console::Yes },
94 { "creature_questender", HandleReloadCreatureQuestEnderCommand, SEC_ADMINISTRATOR, Console::Yes },
95 { "creature_linked_respawn", HandleReloadLinkedRespawnCommand, SEC_ADMINISTRATOR, Console::Yes },
96 { "creature_loot_template", HandleReloadLootTemplatesCreatureCommand, SEC_ADMINISTRATOR, Console::Yes },
97 { "creature_movement_override", HandleReloadCreatureMovementOverrideCommand, SEC_ADMINISTRATOR, Console::Yes},
98 { "creature_onkill_reputation", HandleReloadOnKillReputationCommand, SEC_ADMINISTRATOR, Console::Yes },
99 { "creature_queststarter", HandleReloadCreatureQuestStarterCommand, SEC_ADMINISTRATOR, Console::Yes },
100 { "creature_template", HandleReloadCreatureTemplateCommand, SEC_ADMINISTRATOR, Console::Yes },
101 { "disables", HandleReloadDisablesCommand, SEC_ADMINISTRATOR, Console::Yes },
102 { "disenchant_loot_template", HandleReloadLootTemplatesDisenchantCommand, SEC_ADMINISTRATOR, Console::Yes },
103 { "event_scripts", HandleReloadEventScriptsCommand, SEC_ADMINISTRATOR, Console::Yes },
104 { "fishing_loot_template", HandleReloadLootTemplatesFishingCommand, SEC_ADMINISTRATOR, Console::Yes },
105 { "game_graveyard", HandleReloadGameGraveyardCommand, SEC_ADMINISTRATOR, Console::Yes },
106 { "graveyard_zone", HandleReloadGameGraveyardZoneCommand, SEC_ADMINISTRATOR, Console::Yes },
107 { "game_tele", HandleReloadGameTeleCommand, SEC_ADMINISTRATOR, Console::Yes },
108 { "gameobject_questender", HandleReloadGOQuestEnderCommand, SEC_ADMINISTRATOR, Console::Yes },
109 { "gameobject_loot_template", HandleReloadLootTemplatesGameobjectCommand, SEC_ADMINISTRATOR, Console::Yes },
110 { "gameobject_queststarter", HandleReloadGOQuestStarterCommand, SEC_ADMINISTRATOR, Console::Yes },
111 { "gm_tickets", HandleReloadGMTicketsCommand, SEC_ADMINISTRATOR, Console::Yes },
112 { "gossip_menu", HandleReloadGossipMenuCommand, SEC_ADMINISTRATOR, Console::Yes },
113 { "gossip_menu_option", HandleReloadGossipMenuOptionCommand, SEC_ADMINISTRATOR, Console::Yes },
114 { "item_enchantment_template", HandleReloadItemEnchantementsCommand, SEC_ADMINISTRATOR, Console::Yes },
115 { "item_loot_template", HandleReloadLootTemplatesItemCommand, SEC_ADMINISTRATOR, Console::Yes },
116 { "item_set_names", HandleReloadItemSetNamesCommand, SEC_ADMINISTRATOR, Console::Yes },
117 { "lfg_dungeon_rewards", HandleReloadLfgRewardsCommand, SEC_ADMINISTRATOR, Console::Yes },
118 { "achievement_reward_locale", HandleReloadLocalesAchievementRewardCommand, SEC_ADMINISTRATOR, Console::Yes },
119 { "creature_template_locale", HandleReloadLocalesCreatureCommand, SEC_ADMINISTRATOR, Console::Yes },
120 { "creature_text_locale", HandleReloadLocalesCreatureTextCommand, SEC_ADMINISTRATOR, Console::Yes },
121 { "gameobject_template_locale", HandleReloadLocalesGameobjectCommand, SEC_ADMINISTRATOR, Console::Yes },
122 { "gossip_menu_option_locale", HandleReloadLocalesGossipMenuOptionCommand, SEC_ADMINISTRATOR, Console::Yes },
123 { "item_template_locale", HandleReloadLocalesItemCommand, SEC_ADMINISTRATOR, Console::Yes },
124 { "item_set_name_locale", HandleReloadLocalesItemSetNameCommand, SEC_ADMINISTRATOR, Console::Yes },
125 { "npc_text_locale", HandleReloadLocalesNpcTextCommand, SEC_ADMINISTRATOR, Console::Yes },
126 { "page_text_locale", HandleReloadLocalesPageTextCommand, SEC_ADMINISTRATOR, Console::Yes },
127 { "points_of_interest_locale", HandleReloadLocalesPointsOfInterestCommand, SEC_ADMINISTRATOR, Console::Yes },
128 { "quest_template_locale", HandleReloadLocalesQuestCommand, SEC_ADMINISTRATOR, Console::Yes },
129 { "quest_offer_reward_locale", HandleReloadLocalesQuestOfferRewardCommand, SEC_ADMINISTRATOR, Console::Yes },
130 { "quest_request_item_locale", HandleReloadLocalesQuestRequestItemsCommand, SEC_ADMINISTRATOR, Console::Yes },
131 { "mail_level_reward", HandleReloadMailLevelRewardCommand, SEC_ADMINISTRATOR, Console::Yes },
132 { "mail_loot_template", HandleReloadLootTemplatesMailCommand, SEC_ADMINISTRATOR, Console::Yes },
133 { "mail_server_template", HandleReloadMailServerTemplateCommand, SEC_ADMINISTRATOR, Console::Yes },
134 { "milling_loot_template", HandleReloadLootTemplatesMillingCommand, SEC_ADMINISTRATOR, Console::Yes },
135 { "npc_spellclick_spells", HandleReloadSpellClickSpellsCommand, SEC_ADMINISTRATOR, Console::Yes },
136 { "npc_trainer", HandleReloadNpcTrainerCommand, SEC_ADMINISTRATOR, Console::Yes },
137 { "npc_vendor", HandleReloadNpcVendorCommand, SEC_ADMINISTRATOR, Console::Yes },
138 { "page_text", HandleReloadPageTextsCommand, SEC_ADMINISTRATOR, Console::Yes },
139 { "pickpocketing_loot_template", HandleReloadLootTemplatesPickpocketingCommand, SEC_ADMINISTRATOR, Console::Yes },
140 { "points_of_interest", HandleReloadPointsOfInterestCommand, SEC_ADMINISTRATOR, Console::Yes },
141 { "prospecting_loot_template", HandleReloadLootTemplatesProspectingCommand, SEC_ADMINISTRATOR, Console::Yes },
142 { "quest_greeting", HandleReloadQuestGreetingCommand, SEC_ADMINISTRATOR, Console::Yes },
143 { "quest_poi", HandleReloadQuestPOICommand, SEC_ADMINISTRATOR, Console::Yes },
144 { "quest_template", HandleReloadQuestTemplateCommand, SEC_ADMINISTRATOR, Console::Yes },
145 { "reference_loot_template", HandleReloadLootTemplatesReferenceCommand, SEC_ADMINISTRATOR, Console::Yes },
146 { "reserved_name", HandleReloadReservedNameCommand, SEC_ADMINISTRATOR, Console::Yes },
147 { "profanity_name", HandleReloadProfanityNameCommand, SEC_ADMINISTRATOR, Console::Yes },
148 { "reputation_reward_rate", HandleReloadReputationRewardRateCommand, SEC_ADMINISTRATOR, Console::Yes },
149 { "reputation_spillover_template", HandleReloadReputationRewardRateCommand, SEC_ADMINISTRATOR, Console::Yes },
150 { "skill_discovery_template", HandleReloadSkillDiscoveryTemplateCommand, SEC_ADMINISTRATOR, Console::Yes },
151 { "skill_extra_item_template", HandleReloadSkillExtraItemTemplateCommand, SEC_ADMINISTRATOR, Console::Yes },
152 { "skill_fishing_base_level", HandleReloadSkillFishingBaseLevelCommand, SEC_ADMINISTRATOR, Console::Yes },
153 { "skinning_loot_template", HandleReloadLootTemplatesSkinningCommand, SEC_ADMINISTRATOR, Console::Yes },
154 { "smart_scripts", HandleReloadSmartScripts, SEC_ADMINISTRATOR, Console::Yes },
155 { "spell_required", HandleReloadSpellRequiredCommand, SEC_ADMINISTRATOR, Console::Yes },
156 { "spell_area", HandleReloadSpellAreaCommand, SEC_ADMINISTRATOR, Console::Yes },
157 { "spell_bonus_data", HandleReloadSpellBonusesCommand, SEC_ADMINISTRATOR, Console::Yes },
158 { "spell_group", HandleReloadSpellGroupsCommand, SEC_ADMINISTRATOR, Console::Yes },
159 { "spell_loot_template", HandleReloadLootTemplatesSpellCommand, SEC_ADMINISTRATOR, Console::Yes },
160 { "spell_linked_spell", HandleReloadSpellLinkedSpellCommand, SEC_ADMINISTRATOR, Console::Yes },
161 { "spell_pet_auras", HandleReloadSpellPetAurasCommand, SEC_ADMINISTRATOR, Console::Yes },
162 { "spell_proc_event", HandleReloadSpellProcEventCommand, SEC_ADMINISTRATOR, Console::Yes },
163 { "spell_proc", HandleReloadSpellProcsCommand, SEC_ADMINISTRATOR, Console::Yes },
164 { "spell_scripts", HandleReloadSpellScriptsCommand, SEC_ADMINISTRATOR, Console::Yes },
165 { "spell_target_position", HandleReloadSpellTargetPositionCommand, SEC_ADMINISTRATOR, Console::Yes },
166 { "spell_threats", HandleReloadSpellThreatsCommand, SEC_ADMINISTRATOR, Console::Yes },
167 { "spell_group_stack_rules", HandleReloadSpellGroupStackRulesCommand, SEC_ADMINISTRATOR, Console::Yes },
168 { "player_loot_template", HandleReloadLootTemplatesPlayerCommand, SEC_ADMINISTRATOR, Console::Yes },
169 { "module_string", HandleReloadModuleStringCommand, SEC_ADMINISTRATOR, Console::Yes },
170 { "acore_string", HandleReloadAcoreStringCommand, SEC_ADMINISTRATOR, Console::Yes },
171 { "warden_action", HandleReloadWardenactionCommand, SEC_ADMINISTRATOR, Console::Yes },
172 { "waypoint_scripts", HandleReloadWpScriptsCommand, SEC_ADMINISTRATOR, Console::Yes },
173 { "waypoint_data", HandleReloadWpCommand, SEC_ADMINISTRATOR, Console::Yes },
174 { "vehicle_accessory", HandleReloadVehicleAccessoryCommand, SEC_ADMINISTRATOR, Console::Yes },
175 { "vehicle_template_accessory", HandleReloadVehicleTemplateAccessoryCommand, SEC_ADMINISTRATOR, Console::Yes },
176 };
177 static ChatCommandTable commandTable =
178 {
179 { "reload", reloadCommandTable }
180 };
181 return commandTable;
182 }
@ SEC_ADMINISTRATOR
Definition: Common.h:60
std::vector< ChatCommandBuilder > ChatCommandTable
Definition: ChatCommand.h:46
static bool HandleReloadAchievementCriteriaDataCommand(ChatHandler *handler)
Definition: cs_reload.cpp:364
static bool HandleReloadDisablesCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1049
static bool HandleReloadSkillFishingBaseLevelCommand(ChatHandler *handler)
Definition: cs_reload.cpp:846
static bool HandleReloadLootTemplatesDisenchantCommand(ChatHandler *handler)
Definition: cs_reload.cpp:595
static bool HandleReloadLocalesQuestCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1148
static bool HandleReloadReservedNameCommand(ChatHandler *handler)
Definition: cs_reload.cpp:787
static bool HandleReloadReputationRewardRateCommand(ChatHandler *handler)
Definition: cs_reload.cpp:805
static bool HandleReloadPointsOfInterestCommand(ChatHandler *handler)
Definition: cs_reload.cpp:763
static bool HandleReloadQuestTemplateCommand(ChatHandler *handler)
Definition: cs_reload.cpp:564
static bool HandleReloadLocalesAchievementRewardCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1059
static bool HandleReloadSpellProcsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:894
static bool HandleReloadPageTextsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:942
static bool HandleReloadMailServerTemplateCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1180
static bool HandleReloadSmartScripts(ChatHandler *handler)
Definition: cs_reload.cpp:1214
static bool HandleReloadLocalesItemSetNameCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1115
static bool HandleReloadAllQuestCommand(ChatHandler *handler)
Definition: cs_reload.cpp:267
static bool HandleReloadAllGossipsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:315
static bool HandleReloadSpellGroupsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:870
static bool HandleReloadVehicleTemplateAccessoryCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1230
static bool HandleReloadSpellAreaCommand(ChatHandler *handler)
Definition: cs_reload.cpp:854
static bool HandleReloadSkillDiscoveryTemplateCommand(ChatHandler *handler)
Definition: cs_reload.cpp:821
static bool HandleReloadLootTemplatesGameobjectCommand(ChatHandler *handler)
Definition: cs_reload.cpp:615
static bool HandleReloadLootTemplatesSkinningCommand(ChatHandler *handler)
Definition: cs_reload.cpp:684
static bool HandleReloadLocalesItemCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1107
static bool HandleReloadAllAreaCommand(ChatHandler *handler)
Definition: cs_reload.cpp:240
static bool HandleReloadLootTemplatesProspectingCommand(ChatHandler *handler)
Definition: cs_reload.cpp:655
static bool HandleReloadLfgRewardsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1067
static bool HandleReloadSpellLinkedSpellCommand(ChatHandler *handler)
Definition: cs_reload.cpp:878
static bool HandleReloadGameGraveyardCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1238
static bool HandleReloadProfanityNameCommand(ChatHandler *handler)
Definition: cs_reload.cpp:796
static bool HandleReloadLootTemplatesFishingCommand(ChatHandler *handler)
Definition: cs_reload.cpp:605
static bool HandleReloadAllLootCommand(ChatHandler *handler)
Definition: cs_reload.cpp:249
static bool HandleReloadLocalesGameobjectCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1091
static bool HandleReloadGOQuestEnderCommand(ChatHandler *handler)
Definition: cs_reload.cpp:537
static bool HandleReloadLootTemplatesCreatureCommand(ChatHandler *handler)
Definition: cs_reload.cpp:577
static bool HandleReloadAllCommand(ChatHandler *handler)
Definition: cs_reload.cpp:191
static bool HandleReloadNpcVendorCommand(ChatHandler *handler)
Definition: cs_reload.cpp:755
static bool HandleReloadAllSpellCommand(ChatHandler *handler)
Definition: cs_reload.cpp:297
static bool HandleReloadLootTemplatesItemCommand(ChatHandler *handler)
Definition: cs_reload.cpp:625
static bool HandleReloadSpellProcEventCommand(ChatHandler *handler)
Definition: cs_reload.cpp:886
static bool HandleReloadLocalesCreatureCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1075
static bool HandleReloadLocalesQuestOfferRewardCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1156
static bool HandleReloadSpellBonusesCommand(ChatHandler *handler)
Definition: cs_reload.cpp:902
static bool HandleReloadNpcTrainerCommand(ChatHandler *handler)
Definition: cs_reload.cpp:747
static bool HandleReloadCreatureMovementOverrideCommand(ChatHandler *handler)
Definition: cs_reload.cpp:587
static bool HandleReloadLootTemplatesMailCommand(ChatHandler *handler)
Definition: cs_reload.cpp:665
static bool HandleReloadLinkedRespawnCommand(ChatHandler *handler)
Definition: cs_reload.cpp:495
static bool HandleReloadEventScriptsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:967
static bool HandleReloadAllItemCommand(ChatHandler *handler)
Definition: cs_reload.cpp:323
static bool HandleReloadGMTicketsCommand(ChatHandler *)
Definition: cs_reload.cpp:185
static bool HandleReloadQuestAreaTriggersCommand(ChatHandler *handler)
Definition: cs_reload.cpp:545
static bool HandleReloadQuestGreetingCommand(ChatHandler *handler)
Definition: cs_reload.cpp:553
static bool HandleReloadSpellClickSpellsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:779
static bool HandleReloadAllScriptsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:280
static bool HandleReloadSkillExtraItemTemplateCommand(ChatHandler *handler)
Definition: cs_reload.cpp:838
static bool HandleReloadModuleStringCommand(ChatHandler *handler)
Definition: cs_reload.cpp:714
static bool HandleReloadSpellPetAurasCommand(ChatHandler *handler)
Definition: cs_reload.cpp:934
static bool HandleReloadLootTemplatesPlayerCommand(ChatHandler *handler)
Definition: cs_reload.cpp:704
static bool HandleReloadLocalesQuestRequestItemsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1164
static bool HandleReloadLootTemplatesReferenceCommand(ChatHandler *handler)
Definition: cs_reload.cpp:675
static bool HandleReloadSpellTargetPositionCommand(ChatHandler *handler)
Definition: cs_reload.cpp:910
static bool HandleReloadBattlegroundTemplate(ChatHandler *handler)
Definition: cs_reload.cpp:225
static bool HandleReloadLocalesGossipMenuOptionCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1099
static bool HandleReloadLocalesPageTextCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1131
static bool HandleReloadAreaTriggerTeleportCommand(ChatHandler *handler)
Definition: cs_reload.cpp:396
static bool HandleReloadCreatureText(ChatHandler *handler)
Definition: cs_reload.cpp:1206
static bool HandleReloadAreaTriggerTavernCommand(ChatHandler *handler)
Definition: cs_reload.cpp:380
static bool HandleReloadVehicleAccessoryCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1222
static bool HandleReloadDungeonAccessCommand(ChatHandler *handler)
Definition: cs_reload.cpp:356
static bool HandleReloadMailLevelRewardCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1172
static bool HandleReloadConditions(ChatHandler *handler)
Definition: cs_reload.cpp:1198
static bool HandleReloadGossipMenuOptionCommand(ChatHandler *handler)
Definition: cs_reload.cpp:520
static bool HandleReloadAuctionsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1188
static bool HandleReloadGameTeleCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1038
static bool HandleReloadAllLocalesCommand(ChatHandler *handler)
Definition: cs_reload.cpp:330
static bool HandleReloadLocalesNpcTextCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1123
static bool HandleReloadAcoreStringCommand(ChatHandler *handler)
Definition: cs_reload.cpp:725
static bool HandleReloadSpellThreatsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:918
static bool HandleReloadSpellScriptsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1010
static bool HandleReloadConfigCommand(ChatHandler *handler)
Definition: cs_reload.cpp:347
static bool HandleReloadCreatureQuestEnderCommand(ChatHandler *handler)
Definition: cs_reload.cpp:503
static bool HandleReloadLootTemplatesSpellCommand(ChatHandler *handler)
Definition: cs_reload.cpp:694
static bool HandleReloadGossipMenuCommand(ChatHandler *handler)
Definition: cs_reload.cpp:511
static bool HandleReloadItemEnchantementsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:951
static bool HandleReloadCommandCommand(ChatHandler *handler)
Definition: cs_reload.cpp:430
static bool HandleReloadLootTemplatesPickpocketingCommand(ChatHandler *handler)
Definition: cs_reload.cpp:645
static bool HandleReloadAllNpcCommand(ChatHandler *handler)
Definition: cs_reload.cpp:258
static bool HandleReloadMotdCommand(ChatHandler *handler)
Definition: cs_reload.cpp:412
static bool HandleReloadWardenactionCommand(ChatHandler *handler)
Definition: cs_reload.cpp:733
static bool HandleReloadLocalesCreatureTextCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1083
static bool HandleReloadSpellGroupStackRulesCommand(ChatHandler *handler)
Definition: cs_reload.cpp:926
static bool HandleReloadAutobroadcastCommand(ChatHandler *handler)
Definition: cs_reload.cpp:404
static bool HandleReloadSpellRequiredCommand(ChatHandler *handler)
Definition: cs_reload.cpp:862
static bool HandleReloadBroadcastTextCommand(ChatHandler *handler)
Definition: cs_reload.cpp:421
static bool HandleReloadWpScriptsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:984
static bool HandleReloadQuestPOICommand(ChatHandler *handler)
Definition: cs_reload.cpp:771
static bool HandleReloadAllAchievementCommand(ChatHandler *handler)
Definition: cs_reload.cpp:233
static bool HandleReloadWpCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1001
static bool HandleReloadGOQuestStarterCommand(ChatHandler *handler)
Definition: cs_reload.cpp:529
static bool HandleReloadCreatureQuestStarterCommand(ChatHandler *handler)
Definition: cs_reload.cpp:487
static bool HandleReloadGameGraveyardZoneCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1027
static bool HandleReloadOnKillReputationCommand(ChatHandler *handler)
Definition: cs_reload.cpp:441
static bool HandleReloadAchievementRewardCommand(ChatHandler *handler)
Definition: cs_reload.cpp:372
static bool HandleReloadCreatureTemplateCommand(ChatHandler *handler, std::string_view args)
Definition: cs_reload.cpp:449
static bool HandleReloadLootTemplatesMillingCommand(ChatHandler *handler)
Definition: cs_reload.cpp:635
static bool HandleReloadItemSetNamesCommand(ChatHandler *handler)
Definition: cs_reload.cpp:959
static bool HandleReloadLocalesPointsOfInterestCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1140

References HandleReloadAchievementCriteriaDataCommand(), HandleReloadAchievementRewardCommand(), HandleReloadAcoreStringCommand(), HandleReloadAllAchievementCommand(), HandleReloadAllAreaCommand(), HandleReloadAllCommand(), HandleReloadAllGossipsCommand(), HandleReloadAllItemCommand(), HandleReloadAllLocalesCommand(), HandleReloadAllLootCommand(), HandleReloadAllNpcCommand(), HandleReloadAllQuestCommand(), HandleReloadAllScriptsCommand(), HandleReloadAllSpellCommand(), HandleReloadAreaTriggerTavernCommand(), HandleReloadAreaTriggerTeleportCommand(), HandleReloadAuctionsCommand(), HandleReloadAutobroadcastCommand(), HandleReloadBattlegroundTemplate(), HandleReloadBroadcastTextCommand(), HandleReloadCommandCommand(), HandleReloadConditions(), HandleReloadConfigCommand(), HandleReloadCreatureMovementOverrideCommand(), HandleReloadCreatureQuestEnderCommand(), HandleReloadCreatureQuestStarterCommand(), HandleReloadCreatureTemplateCommand(), HandleReloadCreatureText(), HandleReloadDisablesCommand(), HandleReloadDungeonAccessCommand(), HandleReloadEventScriptsCommand(), HandleReloadGameGraveyardCommand(), HandleReloadGameGraveyardZoneCommand(), HandleReloadGameTeleCommand(), HandleReloadGMTicketsCommand(), HandleReloadGOQuestEnderCommand(), HandleReloadGOQuestStarterCommand(), HandleReloadGossipMenuCommand(), HandleReloadGossipMenuOptionCommand(), HandleReloadItemEnchantementsCommand(), HandleReloadItemSetNamesCommand(), HandleReloadLfgRewardsCommand(), HandleReloadLinkedRespawnCommand(), HandleReloadLocalesAchievementRewardCommand(), HandleReloadLocalesCreatureCommand(), HandleReloadLocalesCreatureTextCommand(), HandleReloadLocalesGameobjectCommand(), HandleReloadLocalesGossipMenuOptionCommand(), HandleReloadLocalesItemCommand(), HandleReloadLocalesItemSetNameCommand(), HandleReloadLocalesNpcTextCommand(), HandleReloadLocalesPageTextCommand(), HandleReloadLocalesPointsOfInterestCommand(), HandleReloadLocalesQuestCommand(), HandleReloadLocalesQuestOfferRewardCommand(), HandleReloadLocalesQuestRequestItemsCommand(), HandleReloadLootTemplatesCreatureCommand(), HandleReloadLootTemplatesDisenchantCommand(), HandleReloadLootTemplatesFishingCommand(), HandleReloadLootTemplatesGameobjectCommand(), HandleReloadLootTemplatesItemCommand(), HandleReloadLootTemplatesMailCommand(), HandleReloadLootTemplatesMillingCommand(), HandleReloadLootTemplatesPickpocketingCommand(), HandleReloadLootTemplatesPlayerCommand(), HandleReloadLootTemplatesProspectingCommand(), HandleReloadLootTemplatesReferenceCommand(), HandleReloadLootTemplatesSkinningCommand(), HandleReloadLootTemplatesSpellCommand(), HandleReloadMailLevelRewardCommand(), HandleReloadMailServerTemplateCommand(), HandleReloadModuleStringCommand(), HandleReloadMotdCommand(), HandleReloadNpcTrainerCommand(), HandleReloadNpcVendorCommand(), HandleReloadOnKillReputationCommand(), HandleReloadPageTextsCommand(), HandleReloadPointsOfInterestCommand(), HandleReloadProfanityNameCommand(), HandleReloadQuestAreaTriggersCommand(), HandleReloadQuestGreetingCommand(), HandleReloadQuestPOICommand(), HandleReloadQuestTemplateCommand(), HandleReloadReputationRewardRateCommand(), HandleReloadReservedNameCommand(), HandleReloadSkillDiscoveryTemplateCommand(), HandleReloadSkillExtraItemTemplateCommand(), HandleReloadSkillFishingBaseLevelCommand(), HandleReloadSmartScripts(), HandleReloadSpellAreaCommand(), HandleReloadSpellBonusesCommand(), HandleReloadSpellClickSpellsCommand(), HandleReloadSpellGroupsCommand(), HandleReloadSpellGroupStackRulesCommand(), HandleReloadSpellLinkedSpellCommand(), HandleReloadSpellPetAurasCommand(), HandleReloadSpellProcEventCommand(), HandleReloadSpellProcsCommand(), HandleReloadSpellRequiredCommand(), HandleReloadSpellScriptsCommand(), HandleReloadSpellTargetPositionCommand(), HandleReloadSpellThreatsCommand(), HandleReloadVehicleAccessoryCommand(), HandleReloadVehicleTemplateAccessoryCommand(), HandleReloadWardenactionCommand(), HandleReloadWpCommand(), HandleReloadWpScriptsCommand(), and SEC_ADMINISTRATOR.

◆ HandleReloadAchievementCriteriaDataCommand()

static bool reload_commandscript::HandleReloadAchievementCriteriaDataCommand ( ChatHandler handler)
inlinestatic
365 {
366 LOG_INFO("server.loading", "Reloading Additional Achievement Criteria Data...");
367 sAchievementMgr->LoadAchievementCriteriaData();
368 handler->SendGlobalGMSysMessage("DB table `achievement_criteria_data` reloaded.");
369 return true;
370 }
#define LOG_INFO(filterType__,...)
Definition: Log.h:165
#define sAchievementMgr
Definition: AchievementMgr.h:451
void SendGlobalGMSysMessage(const char *str)
Definition: Chat.cpp:195

References LOG_INFO, sAchievementMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands(), and HandleReloadAllAchievementCommand().

◆ HandleReloadAchievementRewardCommand()

static bool reload_commandscript::HandleReloadAchievementRewardCommand ( ChatHandler handler)
inlinestatic
373 {
374 LOG_INFO("server.loading", "Reloading Achievement Reward Data...");
375 sAchievementMgr->LoadRewards();
376 handler->SendGlobalGMSysMessage("DB table `achievement_reward` reloaded.");
377 return true;
378 }

References LOG_INFO, sAchievementMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands(), and HandleReloadAllAchievementCommand().

◆ HandleReloadAcoreStringCommand()

static bool reload_commandscript::HandleReloadAcoreStringCommand ( ChatHandler handler)
inlinestatic
726 {
727 LOG_INFO("server.loading", "Reloading acore_string Table!");
728 sObjectMgr->LoadAcoreStrings();
729 handler->SendGlobalGMSysMessage("DB table `acore_string` reloaded.");
730 return true;
731 }
#define sObjectMgr
Definition: ObjectMgr.h:1635

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadAllAchievementCommand()

static bool reload_commandscript::HandleReloadAllAchievementCommand ( ChatHandler handler)
inlinestatic

◆ HandleReloadAllAreaCommand()

static bool reload_commandscript::HandleReloadAllAreaCommand ( ChatHandler handler)
inlinestatic
241 {
242 //HandleReloadQuestAreaTriggersCommand(handler); -- reloaded in HandleReloadAllQuestCommand
246 return true;
247 }

References HandleReloadAreaTriggerTavernCommand(), HandleReloadAreaTriggerTeleportCommand(), and HandleReloadGameGraveyardZoneCommand().

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadAllCommand()

static bool reload_commandscript::HandleReloadAllCommand ( ChatHandler handler)
inlinestatic

References HandleReloadAcoreStringCommand(), HandleReloadAllAchievementCommand(), HandleReloadAllAreaCommand(), HandleReloadAllGossipsCommand(), HandleReloadAllItemCommand(), HandleReloadAllLocalesCommand(), HandleReloadAllLootCommand(), HandleReloadAllNpcCommand(), HandleReloadAllQuestCommand(), HandleReloadAllSpellCommand(), HandleReloadAutobroadcastCommand(), HandleReloadBattlegroundTemplate(), HandleReloadBroadcastTextCommand(), HandleReloadCommandCommand(), HandleReloadCreatureMovementOverrideCommand(), HandleReloadDungeonAccessCommand(), HandleReloadGameTeleCommand(), HandleReloadMailLevelRewardCommand(), HandleReloadMailServerTemplateCommand(), HandleReloadMotdCommand(), HandleReloadProfanityNameCommand(), HandleReloadReservedNameCommand(), HandleReloadSkillFishingBaseLevelCommand(), HandleReloadVehicleAccessoryCommand(), and HandleReloadVehicleTemplateAccessoryCommand().

Referenced by GetCommands().

◆ HandleReloadAllGossipsCommand()

static bool reload_commandscript::HandleReloadAllGossipsCommand ( ChatHandler handler)
inlinestatic

◆ HandleReloadAllItemCommand()

static bool reload_commandscript::HandleReloadAllItemCommand ( ChatHandler handler)
inlinestatic

◆ HandleReloadAllLocalesCommand()

◆ HandleReloadAllLootCommand()

static bool reload_commandscript::HandleReloadAllLootCommand ( ChatHandler handler)
inlinestatic
250 {
251 LOG_INFO("server.loading", "Reloading Loot Tables...");
253 handler->SendGlobalGMSysMessage("DB tables `*_loot_template` reloaded.");
254 sConditionMgr->LoadConditions(true);
255 return true;
256 }
void LoadLootTables()
Definition: LootMgr.h:443
#define sConditionMgr
Definition: ConditionMgr.h:290

References LoadLootTables(), LOG_INFO, sConditionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadAllNpcCommand()

static bool reload_commandscript::HandleReloadAllNpcCommand ( ChatHandler handler)
inlinestatic

◆ HandleReloadAllQuestCommand()

static bool reload_commandscript::HandleReloadAllQuestCommand ( ChatHandler handler)
inlinestatic
268 {
273
274 LOG_INFO("server.loading", "Reloading Quests Relations...");
275 sObjectMgr->LoadQuestStartersAndEnders();
276 handler->SendGlobalGMSysMessage("DB tables `*_queststarter` and `*_questender` reloaded.");
277 return true;
278 }

References HandleReloadQuestAreaTriggersCommand(), HandleReloadQuestGreetingCommand(), HandleReloadQuestPOICommand(), HandleReloadQuestTemplateCommand(), LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadAllScriptsCommand()

static bool reload_commandscript::HandleReloadAllScriptsCommand ( ChatHandler handler)
inlinestatic
281 {
282 if (sScriptMgr->IsScriptScheduled())
283 {
284 handler->SendErrorMessage("DB scripts used currently, please attempt reload later.");
285 return false;
286 }
287
288 LOG_INFO("server.loading", "Reloading Scripts...");
291 handler->SendGlobalGMSysMessage("DB tables `*_scripts` reloaded.");
293 HandleReloadWpCommand(handler);
294 return true;
295 }
#define sScriptMgr
Definition: ScriptMgr.h:709
void SendErrorMessage(uint32 entry)
Definition: Chat.cpp:215

References HandleReloadEventScriptsCommand(), HandleReloadSpellScriptsCommand(), HandleReloadWpCommand(), HandleReloadWpScriptsCommand(), LOG_INFO, ChatHandler::SendErrorMessage(), ChatHandler::SendGlobalGMSysMessage(), and sScriptMgr.

Referenced by GetCommands().

◆ HandleReloadAllSpellCommand()

◆ HandleReloadAreaTriggerCommand()

static bool reload_commandscript::HandleReloadAreaTriggerCommand ( ChatHandler handler)
inlinestatic
389 {
390 LOG_INFO("server.loading", "Reloading Area Trigger definitions...");
391 sObjectMgr->LoadAreaTriggers();
392 handler->SendGlobalGMSysMessage("DB table `areatrigger` reloaded.");
393 return true;
394 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

◆ HandleReloadAreaTriggerTavernCommand()

static bool reload_commandscript::HandleReloadAreaTriggerTavernCommand ( ChatHandler handler)
inlinestatic
381 {
382 LOG_INFO("server.loading", "Reloading Tavern Area Triggers...");
383 sObjectMgr->LoadTavernAreaTriggers();
384 handler->SendGlobalGMSysMessage("DB table `areatrigger_tavern` reloaded.");
385 return true;
386 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllAreaCommand().

◆ HandleReloadAreaTriggerTeleportCommand()

static bool reload_commandscript::HandleReloadAreaTriggerTeleportCommand ( ChatHandler handler)
inlinestatic
397 {
398 LOG_INFO("server.loading", "Reloading Area Trigger teleport definitions...");
399 sObjectMgr->LoadAreaTriggerTeleports();
400 handler->SendGlobalGMSysMessage("DB table `areatrigger_teleport` reloaded.");
401 return true;
402 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllAreaCommand().

◆ HandleReloadAuctionsCommand()

static bool reload_commandscript::HandleReloadAuctionsCommand ( ChatHandler handler)
inlinestatic
  • Reload dynamic data tables from the database
1189 {
1191 LOG_INFO("server.loading", "Reloading Auctions...");
1192 sAuctionMgr->LoadAuctionItems();
1193 sAuctionMgr->LoadAuctions();
1194 handler->SendGlobalGMSysMessage("Auctions reloaded.");
1195 return true;
1196 }
#define sAuctionMgr
Definition: AuctionHouseMgr.h:227

References LOG_INFO, sAuctionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadAutobroadcastCommand()

static bool reload_commandscript::HandleReloadAutobroadcastCommand ( ChatHandler handler)
inlinestatic
405 {
406 LOG_INFO("server.loading", "Reloading Autobroadcasts...");
407 sAutobroadcastMgr->LoadAutobroadcasts();
408 handler->SendGlobalGMSysMessage("DB table `autobroadcast` reloaded.");
409 return true;
410 }
#define sAutobroadcastMgr
Definition: AutobroadcastMgr.h:52

References LOG_INFO, sAutobroadcastMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadBattlegroundTemplate()

static bool reload_commandscript::HandleReloadBattlegroundTemplate ( ChatHandler handler)
inlinestatic
226 {
227 LOG_INFO("server.loading", "Reloading Battleground Templates...");
228 sBattlegroundMgr->LoadBattlegroundTemplates();
229 handler->SendGlobalGMSysMessage("DB table `battleground_template` reloaded.");
230 return true;
231 }
#define sBattlegroundMgr
Definition: BattlegroundMgr.h:186

References LOG_INFO, sBattlegroundMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadBroadcastTextCommand()

static bool reload_commandscript::HandleReloadBroadcastTextCommand ( ChatHandler handler)
inlinestatic
422 {
423 LOG_INFO("server.loading", "Reloading Broadcast texts...");
424 sObjectMgr->LoadBroadcastTexts();
425 sObjectMgr->LoadBroadcastTextLocales();
426 handler->SendGlobalGMSysMessage("DB table `broadcast_text` reloaded.");
427 return true;
428 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadCommandCommand()

static bool reload_commandscript::HandleReloadCommandCommand ( ChatHandler handler)
inlinestatic
431 {
432 LOG_INFO("server.loading", "Reloading .command information...");
434 handler->SendGlobalGMSysMessage("DB table `command` reloaded.");
435
436 // do not log this invocation, otherwise we might crash (the command table we used to get here is no longer valid!)
437 handler->SetSentErrorMessage(true);
438 return false;
439 }
AC_GAME_API void LoadCommandMap()
Definition: ChatCommand.cpp:530
void SetSentErrorMessage(bool val)
Definition: Chat.h:238

References Acore::ChatCommands::LoadCommandMap(), LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and ChatHandler::SetSentErrorMessage().

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadConditions()

static bool reload_commandscript::HandleReloadConditions ( ChatHandler handler)
inlinestatic
1199 {
1200 LOG_INFO("server.loading", "Reloading Conditions...");
1201 sConditionMgr->LoadConditions(true);
1202 handler->SendGlobalGMSysMessage("Conditions reloaded.");
1203 return true;
1204 }

References LOG_INFO, sConditionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadConfigCommand()

static bool reload_commandscript::HandleReloadConfigCommand ( ChatHandler handler)
inlinestatic
348 {
349 LOG_INFO("server.loading", "Reloading config settings...");
350 sWorld->LoadConfigSettings(true);
351 sMapMgr->InitializeVisibilityDistanceInfo();
352 handler->SendGlobalGMSysMessage("World config settings reloaded.");
353 return true;
354 }
#define sMapMgr
Definition: MapMgr.h:219
#define sWorld
Definition: World.h:443

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), sMapMgr, and sWorld.

Referenced by GetCommands().

◆ HandleReloadCreatureMovementOverrideCommand()

static bool reload_commandscript::HandleReloadCreatureMovementOverrideCommand ( ChatHandler handler)
inlinestatic
588 {
589 LOG_INFO("server.loading", "Reloading Creature movement overrides...");
590 sObjectMgr->LoadCreatureMovementOverrides();
591 handler->SendGlobalGMSysMessage("DB table `creature_movement_override` reloaded.");
592 return true;
593 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadCreatureQuestEnderCommand()

static bool reload_commandscript::HandleReloadCreatureQuestEnderCommand ( ChatHandler handler)
inlinestatic
504 {
505 LOG_INFO("server.loading", "Loading Quests Relations... (`creature_questender`)");
506 sObjectMgr->LoadCreatureQuestEnders();
507 handler->SendGlobalGMSysMessage("DB table `creature_questender` reloaded.");
508 return true;
509 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands().

◆ HandleReloadCreatureQuestStarterCommand()

static bool reload_commandscript::HandleReloadCreatureQuestStarterCommand ( ChatHandler handler)
inlinestatic
488 {
489 LOG_INFO("server.loading", "Loading Quests Relations... (`creature_queststarter`)");
490 sObjectMgr->LoadCreatureQuestStarters();
491 handler->SendGlobalGMSysMessage("DB table `creature_queststarter` reloaded.");
492 return true;
493 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands().

◆ HandleReloadCreatureTemplateCommand()

static bool reload_commandscript::HandleReloadCreatureTemplateCommand ( ChatHandler handler,
std::string_view  args 
)
inlinestatic
450 {
451 if (args.empty())
452 return false;
453
454 for (std::string_view entryStr : Acore::Tokenize(args, ' ', false))
455 {
456 uint32 entry = Acore::StringTo<uint32>(entryStr).value_or(0);
457
459 stmt->SetData(0, entry);
460 PreparedQueryResult result = WorldDatabase.Query(stmt);
461
462 if (!result)
463 {
465 continue;
466 }
467
468 CreatureTemplate* cInfo = const_cast<CreatureTemplate*>(sObjectMgr->GetCreatureTemplate(entry));
469 if (!cInfo)
470 {
472 continue;
473 }
474
475 LOG_INFO("server.loading", "Reloading creature template entry {}", entry);
476
477 Field* fields = result->Fetch();
478
479 sObjectMgr->LoadCreatureTemplate(fields, true);
480 sObjectMgr->CheckCreatureTemplate(cInfo);
481 }
482
483 handler->SendGlobalGMSysMessage("Creature template reloaded.");
484 return true;
485 }
std::uint32_t uint32
Definition: Define.h:107
@ LANG_COMMAND_CREATURESTORAGE_NOTFOUND
Definition: Language.h:756
@ LANG_COMMAND_CREATURETEMPLATE_NOTFOUND
Definition: Language.h:755
@ WORLD_SEL_CREATURE_TEMPLATE
Definition: WorldDatabase.h:85
std::shared_ptr< PreparedResultSet > PreparedQueryResult
Definition: DatabaseEnvFwd.h:45
DatabaseWorkerPool< WorldDatabaseConnection > WorldDatabase
Accessor to the world database.
Definition: DatabaseEnv.cpp:20
std::vector< std::string_view > Tokenize(std::string_view str, char sep, bool keepEmpty)
Definition: Tokenize.cpp:20
Definition: PreparedStatement.h:157
Class used to access individual fields of database query result.
Definition: Field.h:98
Acore::Types::is_default< T > SetData(const uint8 index, T value)
Definition: PreparedStatement.h:77
void PSendSysMessage(std::string_view str, bool escapeCharacters=false)
Definition: Chat.cpp:210
Definition: CreatureData.h:186

References LANG_COMMAND_CREATURESTORAGE_NOTFOUND, LANG_COMMAND_CREATURETEMPLATE_NOTFOUND, LOG_INFO, ChatHandler::PSendSysMessage(), ChatHandler::SendGlobalGMSysMessage(), PreparedStatementBase::SetData(), sObjectMgr, Acore::Tokenize(), WORLD_SEL_CREATURE_TEMPLATE, and WorldDatabase.

Referenced by GetCommands().

◆ HandleReloadCreatureText()

static bool reload_commandscript::HandleReloadCreatureText ( ChatHandler handler)
inlinestatic
1207 {
1208 LOG_INFO("server.loading", "Reloading Creature Texts...");
1209 sCreatureTextMgr->LoadCreatureTexts();
1210 handler->SendGlobalGMSysMessage("Creature Texts reloaded.");
1211 return true;
1212 }
#define sCreatureTextMgr
Definition: CreatureTextMgr.h:118

References LOG_INFO, sCreatureTextMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadDisablesCommand()

static bool reload_commandscript::HandleReloadDisablesCommand ( ChatHandler handler)
inlinestatic
1050 {
1051 LOG_INFO("server.loading", "Reloading disables table...");
1053 LOG_INFO("server.loading", "Checking quest disables...");
1055 handler->SendGlobalGMSysMessage("DB table `disables` reloaded.");
1056 return true;
1057 }
void CheckQuestDisables()
Definition: DisableMgr.cpp:276
void LoadDisables()
Definition: DisableMgr.cpp:51

References DisableMgr::CheckQuestDisables(), DisableMgr::LoadDisables(), LOG_INFO, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadDungeonAccessCommand()

static bool reload_commandscript::HandleReloadDungeonAccessCommand ( ChatHandler handler)
inlinestatic
357 {
358 LOG_INFO("server.loading", "Reloading Dungeon Access Requirement definitions...");
359 sObjectMgr->LoadAccessRequirements();
360 handler->SendGlobalGMSysMessage("DB tables `dungeon_access_template` AND `dungeon_access_requirements` reloaded.");
361 return true;
362 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadEventScriptsCommand()

static bool reload_commandscript::HandleReloadEventScriptsCommand ( ChatHandler handler)
inlinestatic
968 {
969 if (sScriptMgr->IsScriptScheduled())
970 {
971 handler->SendErrorMessage("DB scripts used currently, please attempt reload later.");
972 return false;
973 }
974
975 LOG_INFO("server.loading", "Reloading Scripts from `event_scripts`...");
976
977 sObjectMgr->LoadEventScripts();
978
979 handler->SendGlobalGMSysMessage("DB table `event_scripts` reloaded.");
980
981 return true;
982 }

References LOG_INFO, ChatHandler::SendErrorMessage(), ChatHandler::SendGlobalGMSysMessage(), sObjectMgr, and sScriptMgr.

Referenced by GetCommands(), and HandleReloadAllScriptsCommand().

◆ HandleReloadGameGraveyardCommand()

static bool reload_commandscript::HandleReloadGameGraveyardCommand ( ChatHandler handler)
inlinestatic
1239 {
1240 LOG_INFO("server.loading", "Reloading game_graveyard table...");
1241 sGraveyard->LoadGraveyardFromDB();
1242 handler->SendGlobalGMSysMessage("DB table `game_graveyard` reloaded.");
1243 return true;
1244 }
#define sGraveyard
Definition: GameGraveyard.h:74

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sGraveyard.

Referenced by GetCommands().

◆ HandleReloadGameGraveyardZoneCommand()

static bool reload_commandscript::HandleReloadGameGraveyardZoneCommand ( ChatHandler handler)
inlinestatic
1028 {
1029 LOG_INFO("server.loading", "Reloading Graveyard-zone links...");
1030
1031 sGraveyard->LoadGraveyardZones();
1032
1033 handler->SendGlobalGMSysMessage("DB table `graveyard_zone` reloaded.");
1034
1035 return true;
1036 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sGraveyard.

Referenced by GetCommands(), and HandleReloadAllAreaCommand().

◆ HandleReloadGameTeleCommand()

static bool reload_commandscript::HandleReloadGameTeleCommand ( ChatHandler handler)
inlinestatic
1039 {
1040 LOG_INFO("server.loading", "Reloading Game Tele coordinates...");
1041
1042 sObjectMgr->LoadGameTele();
1043
1044 handler->SendGlobalGMSysMessage("DB table `game_tele` reloaded.");
1045
1046 return true;
1047 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadGMTicketsCommand()

static bool reload_commandscript::HandleReloadGMTicketsCommand ( ChatHandler )
inlinestatic
186 {
187 sTicketMgr->LoadTickets();
188 return true;
189 }
#define sTicketMgr
Definition: TicketMgr.h:260

References sTicketMgr.

Referenced by GetCommands().

◆ HandleReloadGOQuestEnderCommand()

static bool reload_commandscript::HandleReloadGOQuestEnderCommand ( ChatHandler handler)
inlinestatic
538 {
539 LOG_INFO("server.loading", "Loading Quests Relations... (`gameobject_questender`)");
540 sObjectMgr->LoadGameobjectQuestEnders();
541 handler->SendGlobalGMSysMessage("DB table `gameobject_questender` reloaded.");
542 return true;
543 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands().

◆ HandleReloadGOQuestStarterCommand()

static bool reload_commandscript::HandleReloadGOQuestStarterCommand ( ChatHandler handler)
inlinestatic
530 {
531 LOG_INFO("server.loading", "Loading Quests Relations... (`gameobject_queststarter`)");
532 sObjectMgr->LoadGameobjectQuestStarters();
533 handler->SendGlobalGMSysMessage("DB table `gameobject_queststarter` reloaded.");
534 return true;
535 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands().

◆ HandleReloadGossipMenuCommand()

static bool reload_commandscript::HandleReloadGossipMenuCommand ( ChatHandler handler)
inlinestatic
512 {
513 LOG_INFO("server.loading", "Reloading `gossip_menu` Table!");
514 sObjectMgr->LoadGossipMenu();
515 handler->SendGlobalGMSysMessage("DB table `gossip_menu` reloaded.");
516 sConditionMgr->LoadConditions(true);
517 return true;
518 }

References LOG_INFO, sConditionMgr, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllGossipsCommand().

◆ HandleReloadGossipMenuOptionCommand()

static bool reload_commandscript::HandleReloadGossipMenuOptionCommand ( ChatHandler handler)
inlinestatic
521 {
522 LOG_INFO("server.loading", "Reloading `gossip_menu_option` Table!");
523 sObjectMgr->LoadGossipMenuItems();
524 handler->SendGlobalGMSysMessage("DB table `gossip_menu_option` reloaded.");
525 sConditionMgr->LoadConditions(true);
526 return true;
527 }

References LOG_INFO, sConditionMgr, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllGossipsCommand().

◆ HandleReloadItemEnchantementsCommand()

static bool reload_commandscript::HandleReloadItemEnchantementsCommand ( ChatHandler handler)
inlinestatic
952 {
953 LOG_INFO("server.loading", "Reloading Item Random Enchantments Table...");
955 handler->SendGlobalGMSysMessage("DB table `item_enchantment_template` reloaded.");
956 return true;
957 }
void LoadRandomEnchantmentsTable()
Definition: ItemEnchantmentMgr.cpp:46

References LoadRandomEnchantmentsTable(), LOG_INFO, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands(), and HandleReloadAllItemCommand().

◆ HandleReloadItemSetNamesCommand()

static bool reload_commandscript::HandleReloadItemSetNamesCommand ( ChatHandler handler)
inlinestatic
960 {
961 LOG_INFO("server.loading", "Reloading Item set names...");
962 sObjectMgr->LoadItemSetNames();
963 handler->SendGlobalGMSysMessage("DB table `item_set_names` reloaded.");
964 return true;
965 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands().

◆ HandleReloadLfgRewardsCommand()

static bool reload_commandscript::HandleReloadLfgRewardsCommand ( ChatHandler handler)
inlinestatic
1068 {
1069 LOG_INFO("server.loading", "Reloading lfg dungeon rewards...");
1070 sLFGMgr->LoadRewards();
1071 handler->SendGlobalGMSysMessage("DB table `lfg_dungeon_rewards` reloaded.");
1072 return true;
1073 }
#define sLFGMgr
Definition: LFGMgr.h:641

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sLFGMgr.

Referenced by GetCommands().

◆ HandleReloadLinkedRespawnCommand()

static bool reload_commandscript::HandleReloadLinkedRespawnCommand ( ChatHandler handler)
inlinestatic
496 {
497 LOG_INFO("server.loading", "Loading Linked Respawns... (`creature_linked_respawn`)");
498 sObjectMgr->LoadLinkedRespawn();
499 handler->SendGlobalGMSysMessage("DB table `creature_linked_respawn` (creature linked respawns) reloaded.");
500 return true;
501 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands().

◆ HandleReloadLocalesAchievementRewardCommand()

static bool reload_commandscript::HandleReloadLocalesAchievementRewardCommand ( ChatHandler handler)
inlinestatic
1060 {
1061 LOG_INFO("server.loading", "Reloading Achievement Reward Data Locale...");
1062 sAchievementMgr->LoadRewardLocales();
1063 handler->SendGlobalGMSysMessage("DB table `achievement_reward_locale` reloaded.");
1064 return true;
1065 }

References LOG_INFO, sAchievementMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesCreatureCommand()

static bool reload_commandscript::HandleReloadLocalesCreatureCommand ( ChatHandler handler)
inlinestatic
1076 {
1077 LOG_INFO("server.loading", "Reloading Creature Template Locale...");
1078 sObjectMgr->LoadCreatureLocales();
1079 handler->SendGlobalGMSysMessage("DB table `creature_template_locale` reloaded.");
1080 return true;
1081 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesCreatureTextCommand()

static bool reload_commandscript::HandleReloadLocalesCreatureTextCommand ( ChatHandler handler)
inlinestatic
1084 {
1085 LOG_INFO("server.loading", "Reloading Creature Texts Locale...");
1086 sCreatureTextMgr->LoadCreatureTextLocales();
1087 handler->SendGlobalGMSysMessage("DB table `creature_text_locale` reloaded.");
1088 return true;
1089 }

References LOG_INFO, sCreatureTextMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesGameobjectCommand()

static bool reload_commandscript::HandleReloadLocalesGameobjectCommand ( ChatHandler handler)
inlinestatic
1092 {
1093 LOG_INFO("server.loading", "Reloading Gameobject Template Locale ... ");
1094 sObjectMgr->LoadGameObjectLocales();
1095 handler->SendGlobalGMSysMessage("DB table `gameobject_template_locale` reloaded.");
1096 return true;
1097 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesGossipMenuOptionCommand()

static bool reload_commandscript::HandleReloadLocalesGossipMenuOptionCommand ( ChatHandler handler)
inlinestatic
1100 {
1101 LOG_INFO("server.loading", "Reloading Gossip Menu Option Locale ... ");
1102 sObjectMgr->LoadGossipMenuItemsLocales();
1103 handler->SendGlobalGMSysMessage("DB table `gossip_menu_option_locale` reloaded.");
1104 return true;
1105 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesItemCommand()

static bool reload_commandscript::HandleReloadLocalesItemCommand ( ChatHandler handler)
inlinestatic
1108 {
1109 LOG_INFO("server.loading", "Reloading Item Template Locale ... ");
1110 sObjectMgr->LoadItemLocales();
1111 handler->SendGlobalGMSysMessage("DB table `item_template_locale` reloaded.");
1112 return true;
1113 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesItemSetNameCommand()

static bool reload_commandscript::HandleReloadLocalesItemSetNameCommand ( ChatHandler handler)
inlinestatic
1116 {
1117 LOG_INFO("server.loading", "Reloading Item set name Locale... ");
1118 sObjectMgr->LoadItemSetNameLocales();
1119 handler->SendGlobalGMSysMessage("DB table `item_set_name_locale` reloaded.");
1120 return true;
1121 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands().

◆ HandleReloadLocalesNpcTextCommand()

static bool reload_commandscript::HandleReloadLocalesNpcTextCommand ( ChatHandler handler)
inlinestatic
1124 {
1125 LOG_INFO("server.loading", "Reloading NPC Text Locale ... ");
1126 sObjectMgr->LoadNpcTextLocales();
1127 handler->SendGlobalGMSysMessage("DB table `npc_text_locale` reloaded.");
1128 return true;
1129 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesPageTextCommand()

static bool reload_commandscript::HandleReloadLocalesPageTextCommand ( ChatHandler handler)
inlinestatic
1132 {
1133 LOG_INFO("server.loading", "Reloading Page Text Locale ... ");
1134 sObjectMgr->LoadPageTextLocales();
1135 handler->SendGlobalGMSysMessage("DB table `page_text_locale` reloaded.");
1136 handler->SendGlobalGMSysMessage("You need to delete your client cache or change the cache number in config in order for your players see the changes.");
1137 return true;
1138 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesPointsOfInterestCommand()

static bool reload_commandscript::HandleReloadLocalesPointsOfInterestCommand ( ChatHandler handler)
inlinestatic
1141 {
1142 LOG_INFO("server.loading", "Reloading Points Of Interest Locale ... ");
1143 sObjectMgr->LoadPointOfInterestLocales();
1144 handler->SendGlobalGMSysMessage("DB table `points_of_interest_locale` reloaded.");
1145 return true;
1146 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesQuestCommand()

static bool reload_commandscript::HandleReloadLocalesQuestCommand ( ChatHandler handler)
inlinestatic
1149 {
1150 LOG_INFO("server.loading", "Reloading Locales Quest ... ");
1151 sObjectMgr->LoadQuestLocales();
1152 handler->SendGlobalGMSysMessage("DB table `quest_template_locale` reloaded.");
1153 return true;
1154 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesQuestOfferRewardCommand()

static bool reload_commandscript::HandleReloadLocalesQuestOfferRewardCommand ( ChatHandler handler)
inlinestatic
1157 {
1158 LOG_INFO("server.loading", "Reloading Quest Offer Reward Locale... ");
1159 sObjectMgr->LoadQuestOfferRewardLocale();
1160 handler->SendGlobalGMSysMessage("DB table `quest_offer_reward_locale` reloaded.");
1161 return true;
1162 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesQuestRequestItemsCommand()

static bool reload_commandscript::HandleReloadLocalesQuestRequestItemsCommand ( ChatHandler handler)
inlinestatic
1165 {
1166 LOG_INFO("server.loading", "Reloading Quest Request Item Locale... ");
1167 sObjectMgr->LoadQuestRequestItemsLocale();
1168 handler->SendGlobalGMSysMessage("DB table `quest_request_item_locale` reloaded.");
1169 return true;
1170 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLootTemplatesCreatureCommand()

static bool reload_commandscript::HandleReloadLootTemplatesCreatureCommand ( ChatHandler handler)
inlinestatic
578 {
579 LOG_INFO("server.loading", "Reloading Loot Tables... (`creature_loot_template`)");
582 handler->SendGlobalGMSysMessage("DB table `creature_loot_template` reloaded.");
583 sConditionMgr->LoadConditions(true);
584 return true;
585 }
void LoadLootTemplates_Creature()
Definition: LootMgr.cpp:1963
LootStore LootTemplates_Creature("creature_loot_template", "creature entry", true)
void CheckLootRefs(LootIdSet *ref_set=nullptr) const
Definition: LootMgr.cpp:277

References LootStore::CheckLootRefs(), LoadLootTemplates_Creature(), LOG_INFO, LootTemplates_Creature, sConditionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadLootTemplatesDisenchantCommand()

static bool reload_commandscript::HandleReloadLootTemplatesDisenchantCommand ( ChatHandler handler)
inlinestatic
596 {
597 LOG_INFO("server.loading", "Reloading Loot Tables... (`disenchant_loot_template`)");
600 handler->SendGlobalGMSysMessage("DB table `disenchant_loot_template` reloaded.");
601 sConditionMgr->LoadConditions(true);
602 return true;
603 }
LootStore LootTemplates_Disenchant("disenchant_loot_template", "item disenchant id", true)
void LoadLootTemplates_Disenchant()
Definition: LootMgr.cpp:1999

References LootStore::CheckLootRefs(), LoadLootTemplates_Disenchant(), LOG_INFO, LootTemplates_Disenchant, sConditionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadLootTemplatesFishingCommand()

static bool reload_commandscript::HandleReloadLootTemplatesFishingCommand ( ChatHandler handler)
inlinestatic
606 {
607 LOG_INFO("server.loading", "Reloading Loot Tables... (`fishing_loot_template`)");
610 handler->SendGlobalGMSysMessage("DB table `fishing_loot_template` reloaded.");
611 sConditionMgr->LoadConditions(true);
612 return true;
613 }
void LoadLootTemplates_Fishing()
Definition: LootMgr.cpp:2033
LootStore LootTemplates_Fishing("fishing_loot_template", "area id", true)

References LootStore::CheckLootRefs(), LoadLootTemplates_Fishing(), LOG_INFO, LootTemplates_Fishing, sConditionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadLootTemplatesGameobjectCommand()

static bool reload_commandscript::HandleReloadLootTemplatesGameobjectCommand ( ChatHandler handler)
inlinestatic
616 {
617 LOG_INFO("server.loading", "Reloading Loot Tables... (`gameobject_loot_template`)");
620 handler->SendGlobalGMSysMessage("DB table `gameobject_loot_template` reloaded.");
621 sConditionMgr->LoadConditions(true);
622 return true;
623 }
LootStore LootTemplates_Gameobject("gameobject_loot_template", "gameobject entry", true)
void LoadLootTemplates_Gameobject()
Definition: LootMgr.cpp:2059

References LootStore::CheckLootRefs(), LoadLootTemplates_Gameobject(), LOG_INFO, LootTemplates_Gameobject, sConditionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadLootTemplatesItemCommand()

static bool reload_commandscript::HandleReloadLootTemplatesItemCommand ( ChatHandler handler)
inlinestatic
626 {
627 LOG_INFO("server.loading", "Reloading Loot Tables... (`item_loot_template`)");
630 handler->SendGlobalGMSysMessage("DB table `item_loot_template` reloaded.");
631 sConditionMgr->LoadConditions(true);
632 return true;
633 }
LootStore LootTemplates_Item("item_loot_template", "item entry", true)
void LoadLootTemplates_Item()
Definition: LootMgr.cpp:2095

References LootStore::CheckLootRefs(), LoadLootTemplates_Item(), LOG_INFO, LootTemplates_Item, sConditionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadLootTemplatesMailCommand()

static bool reload_commandscript::HandleReloadLootTemplatesMailCommand ( ChatHandler handler)
inlinestatic
666 {
667 LOG_INFO("server.loading", "Reloading Loot Tables... (`mail_loot_template`)");
670 handler->SendGlobalGMSysMessage("DB table `mail_loot_template` reloaded.");
671 sConditionMgr->LoadConditions(true);
672 return true;
673 }
void LoadLootTemplates_Mail()
Definition: LootMgr.cpp:2219
LootStore LootTemplates_Mail("mail_loot_template", "mail template id", false)

References LootStore::CheckLootRefs(), LoadLootTemplates_Mail(), LOG_INFO, LootTemplates_Mail, sConditionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadLootTemplatesMillingCommand()

static bool reload_commandscript::HandleReloadLootTemplatesMillingCommand ( ChatHandler handler)
inlinestatic
636 {
637 LOG_INFO("server.loading", "Reloading Loot Tables... (`milling_loot_template`)");
640 handler->SendGlobalGMSysMessage("DB table `milling_loot_template` reloaded.");
641 sConditionMgr->LoadConditions(true);
642 return true;
643 }
void LoadLootTemplates_Milling()
Definition: LootMgr.cpp:2121
LootStore LootTemplates_Milling("milling_loot_template", "item entry (herb)", true)

References LootStore::CheckLootRefs(), LoadLootTemplates_Milling(), LOG_INFO, LootTemplates_Milling, sConditionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadLootTemplatesPickpocketingCommand()

static bool reload_commandscript::HandleReloadLootTemplatesPickpocketingCommand ( ChatHandler handler)
inlinestatic
646 {
647 LOG_INFO("server.loading", "Reloading Loot Tables... (`pickpocketing_loot_template`)");
650 handler->SendGlobalGMSysMessage("DB table `pickpocketing_loot_template` reloaded.");
651 sConditionMgr->LoadConditions(true);
652 return true;
653 }
void LoadLootTemplates_Pickpocketing()
Definition: LootMgr.cpp:2152
LootStore LootTemplates_Pickpocketing("pickpocketing_loot_template", "creature pickpocket lootid", true)

References LootStore::CheckLootRefs(), LoadLootTemplates_Pickpocketing(), LOG_INFO, LootTemplates_Pickpocketing, sConditionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadLootTemplatesPlayerCommand()

static bool reload_commandscript::HandleReloadLootTemplatesPlayerCommand ( ChatHandler handler)
inlinestatic
705 {
706 LOG_INFO("server.loading", "Reloading Loot Tables... (`player_loot_template`)");
709 handler->SendGlobalGMSysMessage("DB table `player_loot_template` reloaded.");
710 sConditionMgr->LoadConditions(true);
711 return true;
712 }
void LoadLootTemplates_Player()
Definition: LootMgr.cpp:2324
LootStore LootTemplates_Player("player_loot_template", "team id", true)

References LootStore::CheckLootRefs(), LoadLootTemplates_Player(), LOG_INFO, LootTemplates_Player, sConditionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadLootTemplatesProspectingCommand()

static bool reload_commandscript::HandleReloadLootTemplatesProspectingCommand ( ChatHandler handler)
inlinestatic
656 {
657 LOG_INFO("server.loading", "Reloading Loot Tables... (`prospecting_loot_template`)");
660 handler->SendGlobalGMSysMessage("DB table `prospecting_loot_template` reloaded.");
661 sConditionMgr->LoadConditions(true);
662 return true;
663 }
LootStore LootTemplates_Prospecting("prospecting_loot_template", "item entry (ore)", true)
void LoadLootTemplates_Prospecting()
Definition: LootMgr.cpp:2188

References LootStore::CheckLootRefs(), LoadLootTemplates_Prospecting(), LOG_INFO, LootTemplates_Prospecting, sConditionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadLootTemplatesReferenceCommand()

static bool reload_commandscript::HandleReloadLootTemplatesReferenceCommand ( ChatHandler handler)
inlinestatic
676 {
677 LOG_INFO("server.loading", "Reloading Loot Tables... (`reference_loot_template`)");
679 handler->SendGlobalGMSysMessage("DB table `reference_loot_template` reloaded.");
680 sConditionMgr->LoadConditions(true);
681 return true;
682 }
void LoadLootTemplates_Reference()
Definition: LootMgr.cpp:2345

References LoadLootTemplates_Reference(), LOG_INFO, sConditionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadLootTemplatesSkinningCommand()

static bool reload_commandscript::HandleReloadLootTemplatesSkinningCommand ( ChatHandler handler)
inlinestatic
685 {
686 LOG_INFO("server.loading", "Reloading Loot Tables... (`skinning_loot_template`)");
689 handler->SendGlobalGMSysMessage("DB table `skinning_loot_template` reloaded.");
690 sConditionMgr->LoadConditions(true);
691 return true;
692 }
LootStore LootTemplates_Skinning("skinning_loot_template", "creature skinning id", true)
void LoadLootTemplates_Skinning()
Definition: LootMgr.cpp:2245

References LootStore::CheckLootRefs(), LoadLootTemplates_Skinning(), LOG_INFO, LootTemplates_Skinning, sConditionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadLootTemplatesSpellCommand()

static bool reload_commandscript::HandleReloadLootTemplatesSpellCommand ( ChatHandler handler)
inlinestatic
695 {
696 LOG_INFO("server.loading", "Reloading Loot Tables... (`spell_loot_template`)");
699 handler->SendGlobalGMSysMessage("DB table `spell_loot_template` reloaded.");
700 sConditionMgr->LoadConditions(true);
701 return true;
702 }
LootStore LootTemplates_Spell("spell_loot_template", "spell id (random item creating)", false)
void LoadLootTemplates_Spell()
Definition: LootMgr.cpp:2281

References LootStore::CheckLootRefs(), LoadLootTemplates_Spell(), LOG_INFO, LootTemplates_Spell, sConditionMgr, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands().

◆ HandleReloadMailLevelRewardCommand()

static bool reload_commandscript::HandleReloadMailLevelRewardCommand ( ChatHandler handler)
inlinestatic
1173 {
1174 LOG_INFO("server.loading", "Reloading Player level dependent mail rewards...");
1175 sObjectMgr->LoadMailLevelRewards();
1176 handler->SendGlobalGMSysMessage("DB table `mail_level_reward` reloaded.");
1177 return true;
1178 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadMailServerTemplateCommand()

static bool reload_commandscript::HandleReloadMailServerTemplateCommand ( ChatHandler handler)
inlinestatic
1181 {
1182 LOG_INFO("server.loading", "Reloading `server_mail_template` table");
1183 sObjectMgr->LoadMailServerTemplates();
1184 handler->SendGlobalGMSysMessage("DB table `server_mail_template` reloaded.");
1185 return true;
1186 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadModuleStringCommand()

static bool reload_commandscript::HandleReloadModuleStringCommand ( ChatHandler handler)
inlinestatic
715 {
716 LOG_INFO("server.loading", "Reloading module_string Table!");
717 sObjectMgr->LoadModuleStrings();
718 handler->SendGlobalGMSysMessage("DB table `module_string` reloaded.");
719 LOG_INFO("server.loading", "Reloading module_string_locale Table!");
720 sObjectMgr->LoadModuleStringsLocale();
721 handler->SendGlobalGMSysMessage("DB table `module_string_locale` reloaded.");
722 return true;
723 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands().

◆ HandleReloadMotdCommand()

static bool reload_commandscript::HandleReloadMotdCommand ( ChatHandler handler)
inlinestatic
413 {
414 LOG_INFO("server.loading", "Reloading Motd...");
415 sMotdMgr->LoadMotd();
416 handler->SendGlobalGMSysMessage("DB table `motd` reloaded.");
417 handler->SendGlobalSysMessage(sMotdMgr->GetMotd());
418 return true;
419 }
#define sMotdMgr
Definition: MotdMgr.h:44
void SendGlobalSysMessage(const char *str)
Definition: Chat.cpp:185

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), ChatHandler::SendGlobalSysMessage(), and sMotdMgr.

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadNpcTrainerCommand()

static bool reload_commandscript::HandleReloadNpcTrainerCommand ( ChatHandler handler)
inlinestatic
748 {
749 LOG_INFO("server.loading", "Reloading `npc_trainer` Table!");
750 sObjectMgr->LoadTrainerSpell();
751 handler->SendGlobalGMSysMessage("DB table `npc_trainer` reloaded.");
752 return true;
753 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllNpcCommand().

◆ HandleReloadNpcVendorCommand()

static bool reload_commandscript::HandleReloadNpcVendorCommand ( ChatHandler handler)
inlinestatic
756 {
757 LOG_INFO("server.loading", "Reloading `npc_vendor` Table!");
758 sObjectMgr->LoadVendors();
759 handler->SendGlobalGMSysMessage("DB table `npc_vendor` reloaded.");
760 return true;
761 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllNpcCommand().

◆ HandleReloadOnKillReputationCommand()

static bool reload_commandscript::HandleReloadOnKillReputationCommand ( ChatHandler handler)
inlinestatic
442 {
443 LOG_INFO("server.loading", "Reloading creature award reputation definitions...");
444 sObjectMgr->LoadReputationOnKill();
445 handler->SendGlobalGMSysMessage("DB table `creature_onkill_reputation` reloaded.");
446 return true;
447 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands().

◆ HandleReloadPageTextsCommand()

static bool reload_commandscript::HandleReloadPageTextsCommand ( ChatHandler handler)
inlinestatic
943 {
944 LOG_INFO("server.loading", "Reloading Page Texts...");
945 sObjectMgr->LoadPageTexts();
946 handler->SendGlobalGMSysMessage("DB table `page_texts` reloaded.");
947 handler->SendGlobalGMSysMessage("You need to delete your client cache or change the cache number in config in order for your players see the changes.");
948 return true;
949 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllItemCommand().

◆ HandleReloadPointsOfInterestCommand()

static bool reload_commandscript::HandleReloadPointsOfInterestCommand ( ChatHandler handler)
inlinestatic
764 {
765 LOG_INFO("server.loading", "Reloading `points_of_interest` Table!");
766 sObjectMgr->LoadPointsOfInterest();
767 handler->SendGlobalGMSysMessage("DB table `points_of_interest` reloaded.");
768 return true;
769 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), HandleReloadAllGossipsCommand(), and HandleReloadAllNpcCommand().

◆ HandleReloadProfanityNameCommand()

static bool reload_commandscript::HandleReloadProfanityNameCommand ( ChatHandler handler)
inlinestatic
797 {
798 LOG_INFO("server.loading", "Reloading Profanity Names!");
799 sObjectMgr->LoadProfanityNamesFromDB();
800 sObjectMgr->LoadProfanityNamesFromDBC(); // Needed because we clear the store in LoadProfanityNamesFromDB()
801 handler->SendGlobalGMSysMessage("Profanity Names reloaded.");
802 return true;
803 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadQuestAreaTriggersCommand()

static bool reload_commandscript::HandleReloadQuestAreaTriggersCommand ( ChatHandler handler)
inlinestatic
546 {
547 LOG_INFO("server.loading", "Reloading Quest Area Triggers...");
548 sObjectMgr->LoadQuestAreaTriggers();
549 handler->SendGlobalGMSysMessage("DB table `areatrigger_involvedrelation` (quest area triggers) reloaded.");
550 return true;
551 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllQuestCommand().

◆ HandleReloadQuestGreetingCommand()

static bool reload_commandscript::HandleReloadQuestGreetingCommand ( ChatHandler handler)
inlinestatic
554 {
555 LOG_INFO("server.loading", "Reloading Quest Greeting ...");
556 sObjectMgr->LoadQuestGreetings();
557 handler->SendGlobalGMSysMessage("DB table `quest_greeting` reloaded.");
558 LOG_INFO("server.loading", "Reloading Quest Greeting locales...");
559 sObjectMgr->LoadQuestGreetingsLocales(); // Must be after LoadQuestGreetings()
560 handler->SendGlobalGMSysMessage("DB table `quest_greeting_locale` reloaded.");
561 return true;
562 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllQuestCommand().

◆ HandleReloadQuestPOICommand()

static bool reload_commandscript::HandleReloadQuestPOICommand ( ChatHandler handler)
inlinestatic
772 {
773 LOG_INFO("server.loading", "Reloading Quest POI ..." );
774 sObjectMgr->LoadQuestPOI();
775 handler->SendGlobalGMSysMessage("DB Table `quest_poi` and `quest_poi_points` reloaded.");
776 return true;
777 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllQuestCommand().

◆ HandleReloadQuestTemplateCommand()

static bool reload_commandscript::HandleReloadQuestTemplateCommand ( ChatHandler handler)
inlinestatic

dependent also from gameobject but this table not reloaded anyway

565 {
566 LOG_INFO("server.loading", "Reloading Quest Templates...");
567 sObjectMgr->LoadQuests();
568 handler->SendGlobalGMSysMessage("DB table `quest_template` (quest definitions) reloaded.");
569
571 LOG_INFO("server.loading", "Reloading GameObjects for quests...");
572 sObjectMgr->LoadGameObjectForQuests();
573 handler->SendGlobalGMSysMessage("Data GameObjects for quests reloaded.");
574 return true;
575 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllQuestCommand().

◆ HandleReloadReputationRewardRateCommand()

static bool reload_commandscript::HandleReloadReputationRewardRateCommand ( ChatHandler handler)
inlinestatic
806 {
807 LOG_INFO("server.loading", "Reloading `reputation_reward_rate` Table!" );
808 sObjectMgr->LoadReputationRewardRate();
809 handler->SendGlobalGMSysMessage("DB table `reputation_reward_rate` reloaded.");
810 return true;
811 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands().

◆ HandleReloadReputationSpilloverTemplateCommand()

static bool reload_commandscript::HandleReloadReputationSpilloverTemplateCommand ( ChatHandler handler)
inlinestatic
814 {
815 LOG_INFO("server.loading", "Reloading `reputation_spillover_template` Table!" );
816 sObjectMgr->LoadReputationSpilloverTemplate();
817 handler->SendGlobalGMSysMessage("DB table `reputation_spillover_template` reloaded.");
818 return true;
819 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

◆ HandleReloadReservedNameCommand()

static bool reload_commandscript::HandleReloadReservedNameCommand ( ChatHandler handler)
inlinestatic
788 {
789 LOG_INFO("server.loading", "Reloading Reserved Names!");
790 sObjectMgr->LoadReservedPlayerNamesDB();
791 sObjectMgr->LoadReservedPlayerNamesDBC(); // Needed because we clear the store in LoadReservedPlayerNamesDB()
792 handler->SendGlobalGMSysMessage("Reserved Names reloaded.");
793 return true;
794 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadSkillDiscoveryTemplateCommand()

static bool reload_commandscript::HandleReloadSkillDiscoveryTemplateCommand ( ChatHandler handler)
inlinestatic
822 {
823 LOG_INFO("server.loading", "Reloading Skill Discovery Table...");
825 handler->SendGlobalGMSysMessage("DB table `skill_discovery_template` (recipes discovered at crafting) reloaded.");
826 return true;
827 }
void LoadSkillDiscoveryTable()
Definition: SkillDiscovery.cpp:46

References LoadSkillDiscoveryTable(), LOG_INFO, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSkillExtraItemTemplateCommand()

static bool reload_commandscript::HandleReloadSkillExtraItemTemplateCommand ( ChatHandler handler)
inlinestatic
839 {
840 LOG_INFO("server.loading", "Reloading Skill Extra Item Table...");
842 handler->SendGlobalGMSysMessage("DB table `skill_extra_item_template` (extra item creation when crafting) reloaded.");
844 }
void LoadSkillExtraItemTable()
Definition: SkillExtraItems.cpp:138
static bool HandleReloadSkillPerfectItemTemplateCommand(ChatHandler *handler)
Definition: cs_reload.cpp:829

References HandleReloadSkillPerfectItemTemplateCommand(), LoadSkillExtraItemTable(), LOG_INFO, and ChatHandler::SendGlobalGMSysMessage().

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSkillFishingBaseLevelCommand()

static bool reload_commandscript::HandleReloadSkillFishingBaseLevelCommand ( ChatHandler handler)
inlinestatic
847 {
848 LOG_INFO("server.loading", "Reloading Skill Fishing base level requirements...");
849 sObjectMgr->LoadFishingBaseSkillLevel();
850 handler->SendGlobalGMSysMessage("DB table `skill_fishing_base_level` (fishing base level for zone/subzone) reloaded.");
851 return true;
852 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadSkillPerfectItemTemplateCommand()

static bool reload_commandscript::HandleReloadSkillPerfectItemTemplateCommand ( ChatHandler handler)
inlinestatic
830 {
831 // latched onto HandleReloadSkillExtraItemTemplateCommand as it's part of that table group (and i don't want to chance all the command IDs)
832 LOG_INFO("server.loading", "Reloading Skill Perfection Data Table...");
834 handler->SendGlobalGMSysMessage("DB table `skill_perfect_item_template` (perfect item procs when crafting) reloaded.");
835 return true;
836 }
void LoadSkillPerfectItemTable()
Definition: SkillExtraItems.cpp:52

References LoadSkillPerfectItemTable(), LOG_INFO, and ChatHandler::SendGlobalGMSysMessage().

Referenced by HandleReloadSkillExtraItemTemplateCommand().

◆ HandleReloadSmartScripts()

static bool reload_commandscript::HandleReloadSmartScripts ( ChatHandler handler)
inlinestatic
1215 {
1216 LOG_INFO("server.loading", "Reloading Smart Scripts...");
1217 sSmartScriptMgr->LoadSmartAIFromDB();
1218 handler->SendGlobalGMSysMessage("Smart Scripts reloaded.");
1219 return true;
1220 }
#define sSmartScriptMgr
Definition: SmartScriptMgr.h:2228

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sSmartScriptMgr.

Referenced by GetCommands().

◆ HandleReloadSpellAreaCommand()

static bool reload_commandscript::HandleReloadSpellAreaCommand ( ChatHandler handler)
inlinestatic
855 {
856 LOG_INFO("server.loading", "Reloading SpellArea Data...");
857 sSpellMgr->LoadSpellAreas();
858 handler->SendGlobalGMSysMessage("DB table `spell_area` (spell dependences from area/quest/auras state) reloaded.");
859 return true;
860 }
#define sSpellMgr
Definition: SpellMgr.h:825

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sSpellMgr.

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellBonusesCommand()

static bool reload_commandscript::HandleReloadSpellBonusesCommand ( ChatHandler handler)
inlinestatic
903 {
904 LOG_INFO("server.loading", "Reloading Spell Bonus Data...");
905 sSpellMgr->LoadSpellBonuses();
906 handler->SendGlobalGMSysMessage("DB table `spell_bonus_data` (spell damage/healing coefficients) reloaded.");
907 return true;
908 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sSpellMgr.

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellClickSpellsCommand()

static bool reload_commandscript::HandleReloadSpellClickSpellsCommand ( ChatHandler handler)
inlinestatic
780 {
781 LOG_INFO("server.loading", "Reloading `npc_spellclick_spells` Table!");
782 sObjectMgr->LoadNPCSpellClickSpells();
783 handler->SendGlobalGMSysMessage("DB table `npc_spellclick_spells` reloaded.");
784 return true;
785 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllNpcCommand().

◆ HandleReloadSpellGroupsCommand()

static bool reload_commandscript::HandleReloadSpellGroupsCommand ( ChatHandler handler)
inlinestatic
871 {
872 LOG_INFO("server.loading", "Reloading Spell Groups...");
873 sSpellMgr->LoadSpellGroups();
874 handler->SendGlobalGMSysMessage("DB table `spell_group` (spell groups) reloaded.");
875 return true;
876 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sSpellMgr.

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellGroupStackRulesCommand()

static bool reload_commandscript::HandleReloadSpellGroupStackRulesCommand ( ChatHandler handler)
inlinestatic
927 {
928 LOG_INFO("server.loading", "Reloading Spell Group Stack Rules...");
929 sSpellMgr->LoadSpellGroupStackRules();
930 handler->SendGlobalGMSysMessage("DB table `spell_group_stack_rules` (spell stacking definitions) reloaded.");
931 return true;
932 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sSpellMgr.

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellLinkedSpellCommand()

static bool reload_commandscript::HandleReloadSpellLinkedSpellCommand ( ChatHandler handler)
inlinestatic
879 {
880 LOG_INFO("server.loading", "Reloading Spell Linked Spells...");
881 sSpellMgr->LoadSpellLinked();
882 handler->SendGlobalGMSysMessage("DB table `spell_linked_spell` reloaded.");
883 return true;
884 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sSpellMgr.

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellPetAurasCommand()

static bool reload_commandscript::HandleReloadSpellPetAurasCommand ( ChatHandler handler)
inlinestatic
935 {
936 LOG_INFO("server.loading", "Reloading Spell pet auras...");
937 sSpellMgr->LoadSpellPetAuras();
938 handler->SendGlobalGMSysMessage("DB table `spell_pet_auras` reloaded.");
939 return true;
940 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sSpellMgr.

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellProcEventCommand()

static bool reload_commandscript::HandleReloadSpellProcEventCommand ( ChatHandler handler)
inlinestatic
887 {
888 LOG_INFO("server.loading", "Reloading Spell Proc Event conditions...");
889 sSpellMgr->LoadSpellProcEvents();
890 handler->SendGlobalGMSysMessage("DB table `spell_proc_event` (spell proc trigger requirements) reloaded.");
891 return true;
892 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sSpellMgr.

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellProcsCommand()

static bool reload_commandscript::HandleReloadSpellProcsCommand ( ChatHandler handler)
inlinestatic
895 {
896 LOG_INFO("server.loading", "Reloading Spell Proc conditions and data...");
897 sSpellMgr->LoadSpellProcs();
898 handler->SendGlobalGMSysMessage("DB table `spell_proc` (spell proc conditions and data) reloaded.");
899 return true;
900 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sSpellMgr.

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellRequiredCommand()

static bool reload_commandscript::HandleReloadSpellRequiredCommand ( ChatHandler handler)
inlinestatic
863 {
864 LOG_INFO("server.loading", "Reloading Spell Required Data... ");
865 sSpellMgr->LoadSpellRequired();
866 handler->SendGlobalGMSysMessage("DB table `spell_required` reloaded.");
867 return true;
868 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sSpellMgr.

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellScriptsCommand()

static bool reload_commandscript::HandleReloadSpellScriptsCommand ( ChatHandler handler)
inlinestatic
1011 {
1012 if (sScriptMgr->IsScriptScheduled())
1013 {
1014 handler->SendErrorMessage("DB scripts used currently, please attempt reload later.");
1015 return false;
1016 }
1017
1018 LOG_INFO("server.loading", "Reloading Scripts from `spell_scripts`...");
1019
1020 sObjectMgr->LoadSpellScripts();
1021
1022 handler->SendGlobalGMSysMessage("DB table `spell_scripts` reloaded.");
1023
1024 return true;
1025 }

References LOG_INFO, ChatHandler::SendErrorMessage(), ChatHandler::SendGlobalGMSysMessage(), sObjectMgr, and sScriptMgr.

Referenced by GetCommands(), and HandleReloadAllScriptsCommand().

◆ HandleReloadSpellTargetPositionCommand()

static bool reload_commandscript::HandleReloadSpellTargetPositionCommand ( ChatHandler handler)
inlinestatic
911 {
912 LOG_INFO("server.loading", "Reloading Spell target coordinates...");
913 sSpellMgr->LoadSpellTargetPositions();
914 handler->SendGlobalGMSysMessage("DB table `spell_target_position` (destination coordinates for spell targets) reloaded.");
915 return true;
916 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sSpellMgr.

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellThreatsCommand()

static bool reload_commandscript::HandleReloadSpellThreatsCommand ( ChatHandler handler)
inlinestatic
919 {
920 LOG_INFO("server.loading", "Reloading Aggro Spells Definitions...");
921 sSpellMgr->LoadSpellThreats();
922 handler->SendGlobalGMSysMessage("DB table `spell_threat` (spell aggro definitions) reloaded.");
923 return true;
924 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sSpellMgr.

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadVehicleAccessoryCommand()

static bool reload_commandscript::HandleReloadVehicleAccessoryCommand ( ChatHandler handler)
inlinestatic
1223 {
1224 LOG_INFO("server.loading", "Reloading vehicle_accessory table...");
1225 sObjectMgr->LoadVehicleAccessories();
1226 handler->SendGlobalGMSysMessage("Vehicle accessories reloaded.");
1227 return true;
1228 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadVehicleTemplateAccessoryCommand()

static bool reload_commandscript::HandleReloadVehicleTemplateAccessoryCommand ( ChatHandler handler)
inlinestatic
1231 {
1232 LOG_INFO("server.loading", "Reloading vehicle_template_accessory table...");
1233 sObjectMgr->LoadVehicleTemplateAccessories();
1234 handler->SendGlobalGMSysMessage("Vehicle template accessories reloaded.");
1235 return true;
1236 }

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sObjectMgr.

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadWardenactionCommand()

static bool reload_commandscript::HandleReloadWardenactionCommand ( ChatHandler handler)
inlinestatic
734 {
735 if (!sWorld->getBoolConfig(CONFIG_WARDEN_ENABLED))
736 {
737 handler->SendErrorMessage("Warden system disabled by config - reloading warden_action skipped.");
738 return false;
739 }
740
741 LOG_INFO("server.loading", "Reloading warden_action Table!");
742 sWardenCheckMgr->LoadWardenOverrides();
743 handler->SendGlobalGMSysMessage("DB table `warden_action` reloaded.");
744 return true;
745 }
@ CONFIG_WARDEN_ENABLED
Definition: IWorld.h:148
#define sWardenCheckMgr
Definition: WardenCheckMgr.h:89

References CONFIG_WARDEN_ENABLED, LOG_INFO, ChatHandler::SendErrorMessage(), ChatHandler::SendGlobalGMSysMessage(), sWardenCheckMgr, and sWorld.

Referenced by GetCommands().

◆ HandleReloadWpCommand()

static bool reload_commandscript::HandleReloadWpCommand ( ChatHandler handler)
inlinestatic
1002 {
1003 LOG_INFO("server.loading", "Reloading Waypoints data from 'waypoints_data'");
1004 sWaypointMgr->Load();
1005 handler->SendGlobalGMSysMessage("DB Table 'waypoint_data' reloaded.");
1006
1007 return true;
1008 }
#define sWaypointMgr
Definition: WaypointMgr.h:78

References LOG_INFO, ChatHandler::SendGlobalGMSysMessage(), and sWaypointMgr.

Referenced by GetCommands(), and HandleReloadAllScriptsCommand().

◆ HandleReloadWpScriptsCommand()

static bool reload_commandscript::HandleReloadWpScriptsCommand ( ChatHandler handler)
inlinestatic
985 {
986 if (sScriptMgr->IsScriptScheduled())
987 {
988 handler->SendErrorMessage("DB scripts used currently, please attempt reload later.");
989 return false;
990 }
991
992 LOG_INFO("server.loading", "Reloading Scripts from `waypoint_scripts`...");
993
994 sObjectMgr->LoadWaypointScripts();
995
996 handler->SendGlobalGMSysMessage("DB table `waypoint_scripts` reloaded.");
997
998 return true;
999 }

References LOG_INFO, ChatHandler::SendErrorMessage(), ChatHandler::SendGlobalGMSysMessage(), sObjectMgr, and sScriptMgr.

Referenced by GetCommands(), and HandleReloadAllScriptsCommand().