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:1054
static bool HandleReloadSkillFishingBaseLevelCommand(ChatHandler *handler)
Definition: cs_reload.cpp:851
static bool HandleReloadLootTemplatesDisenchantCommand(ChatHandler *handler)
Definition: cs_reload.cpp:600
static bool HandleReloadLocalesQuestCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1153
static bool HandleReloadReservedNameCommand(ChatHandler *handler)
Definition: cs_reload.cpp:792
static bool HandleReloadReputationRewardRateCommand(ChatHandler *handler)
Definition: cs_reload.cpp:810
static bool HandleReloadPointsOfInterestCommand(ChatHandler *handler)
Definition: cs_reload.cpp:768
static bool HandleReloadQuestTemplateCommand(ChatHandler *handler)
Definition: cs_reload.cpp:569
static bool HandleReloadLocalesAchievementRewardCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1064
static bool HandleReloadSpellProcsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:899
static bool HandleReloadPageTextsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:947
static bool HandleReloadMailServerTemplateCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1185
static bool HandleReloadSmartScripts(ChatHandler *handler)
Definition: cs_reload.cpp:1219
static bool HandleReloadLocalesItemSetNameCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1120
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:875
static bool HandleReloadVehicleTemplateAccessoryCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1235
static bool HandleReloadSpellAreaCommand(ChatHandler *handler)
Definition: cs_reload.cpp:859
static bool HandleReloadSkillDiscoveryTemplateCommand(ChatHandler *handler)
Definition: cs_reload.cpp:826
static bool HandleReloadLootTemplatesGameobjectCommand(ChatHandler *handler)
Definition: cs_reload.cpp:620
static bool HandleReloadLootTemplatesSkinningCommand(ChatHandler *handler)
Definition: cs_reload.cpp:689
static bool HandleReloadLocalesItemCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1112
static bool HandleReloadAllAreaCommand(ChatHandler *handler)
Definition: cs_reload.cpp:240
static bool HandleReloadLootTemplatesProspectingCommand(ChatHandler *handler)
Definition: cs_reload.cpp:660
static bool HandleReloadLfgRewardsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1072
static bool HandleReloadSpellLinkedSpellCommand(ChatHandler *handler)
Definition: cs_reload.cpp:883
static bool HandleReloadGameGraveyardCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1243
static bool HandleReloadProfanityNameCommand(ChatHandler *handler)
Definition: cs_reload.cpp:801
static bool HandleReloadLootTemplatesFishingCommand(ChatHandler *handler)
Definition: cs_reload.cpp:610
static bool HandleReloadAllLootCommand(ChatHandler *handler)
Definition: cs_reload.cpp:249
static bool HandleReloadLocalesGameobjectCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1096
static bool HandleReloadGOQuestEnderCommand(ChatHandler *handler)
Definition: cs_reload.cpp:542
static bool HandleReloadLootTemplatesCreatureCommand(ChatHandler *handler)
Definition: cs_reload.cpp:582
static bool HandleReloadAllCommand(ChatHandler *handler)
Definition: cs_reload.cpp:191
static bool HandleReloadNpcVendorCommand(ChatHandler *handler)
Definition: cs_reload.cpp:760
static bool HandleReloadAllSpellCommand(ChatHandler *handler)
Definition: cs_reload.cpp:297
static bool HandleReloadLootTemplatesItemCommand(ChatHandler *handler)
Definition: cs_reload.cpp:630
static bool HandleReloadSpellProcEventCommand(ChatHandler *handler)
Definition: cs_reload.cpp:891
static bool HandleReloadLocalesCreatureCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1080
static bool HandleReloadLocalesQuestOfferRewardCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1161
static bool HandleReloadSpellBonusesCommand(ChatHandler *handler)
Definition: cs_reload.cpp:907
static bool HandleReloadNpcTrainerCommand(ChatHandler *handler)
Definition: cs_reload.cpp:752
static bool HandleReloadCreatureMovementOverrideCommand(ChatHandler *handler)
Definition: cs_reload.cpp:592
static bool HandleReloadLootTemplatesMailCommand(ChatHandler *handler)
Definition: cs_reload.cpp:670
static bool HandleReloadLinkedRespawnCommand(ChatHandler *handler)
Definition: cs_reload.cpp:500
static bool HandleReloadEventScriptsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:972
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:550
static bool HandleReloadQuestGreetingCommand(ChatHandler *handler)
Definition: cs_reload.cpp:558
static bool HandleReloadSpellClickSpellsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:784
static bool HandleReloadAllScriptsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:280
static bool HandleReloadSkillExtraItemTemplateCommand(ChatHandler *handler)
Definition: cs_reload.cpp:843
static bool HandleReloadModuleStringCommand(ChatHandler *handler)
Definition: cs_reload.cpp:719
static bool HandleReloadSpellPetAurasCommand(ChatHandler *handler)
Definition: cs_reload.cpp:939
static bool HandleReloadLootTemplatesPlayerCommand(ChatHandler *handler)
Definition: cs_reload.cpp:709
static bool HandleReloadLocalesQuestRequestItemsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1169
static bool HandleReloadLootTemplatesReferenceCommand(ChatHandler *handler)
Definition: cs_reload.cpp:680
static bool HandleReloadSpellTargetPositionCommand(ChatHandler *handler)
Definition: cs_reload.cpp:915
static bool HandleReloadBattlegroundTemplate(ChatHandler *handler)
Definition: cs_reload.cpp:225
static bool HandleReloadLocalesGossipMenuOptionCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1104
static bool HandleReloadLocalesPageTextCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1136
static bool HandleReloadAreaTriggerTeleportCommand(ChatHandler *handler)
Definition: cs_reload.cpp:396
static bool HandleReloadCreatureText(ChatHandler *handler)
Definition: cs_reload.cpp:1211
static bool HandleReloadAreaTriggerTavernCommand(ChatHandler *handler)
Definition: cs_reload.cpp:380
static bool HandleReloadVehicleAccessoryCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1227
static bool HandleReloadDungeonAccessCommand(ChatHandler *handler)
Definition: cs_reload.cpp:356
static bool HandleReloadMailLevelRewardCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1177
static bool HandleReloadConditions(ChatHandler *handler)
Definition: cs_reload.cpp:1203
static bool HandleReloadGossipMenuOptionCommand(ChatHandler *handler)
Definition: cs_reload.cpp:525
static bool HandleReloadAuctionsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1193
static bool HandleReloadGameTeleCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1043
static bool HandleReloadAllLocalesCommand(ChatHandler *handler)
Definition: cs_reload.cpp:330
static bool HandleReloadLocalesNpcTextCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1128
static bool HandleReloadAcoreStringCommand(ChatHandler *handler)
Definition: cs_reload.cpp:730
static bool HandleReloadSpellThreatsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:923
static bool HandleReloadSpellScriptsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1015
static bool HandleReloadConfigCommand(ChatHandler *handler)
Definition: cs_reload.cpp:347
static bool HandleReloadCreatureQuestEnderCommand(ChatHandler *handler)
Definition: cs_reload.cpp:508
static bool HandleReloadLootTemplatesSpellCommand(ChatHandler *handler)
Definition: cs_reload.cpp:699
static bool HandleReloadGossipMenuCommand(ChatHandler *handler)
Definition: cs_reload.cpp:516
static bool HandleReloadItemEnchantementsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:956
static bool HandleReloadCommandCommand(ChatHandler *handler)
Definition: cs_reload.cpp:435
static bool HandleReloadLootTemplatesPickpocketingCommand(ChatHandler *handler)
Definition: cs_reload.cpp:650
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:738
static bool HandleReloadLocalesCreatureTextCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1088
static bool HandleReloadSpellGroupStackRulesCommand(ChatHandler *handler)
Definition: cs_reload.cpp:931
static bool HandleReloadAutobroadcastCommand(ChatHandler *handler)
Definition: cs_reload.cpp:404
static bool HandleReloadSpellRequiredCommand(ChatHandler *handler)
Definition: cs_reload.cpp:867
static bool HandleReloadBroadcastTextCommand(ChatHandler *handler)
Definition: cs_reload.cpp:426
static bool HandleReloadWpScriptsCommand(ChatHandler *handler)
Definition: cs_reload.cpp:989
static bool HandleReloadQuestPOICommand(ChatHandler *handler)
Definition: cs_reload.cpp:776
static bool HandleReloadAllAchievementCommand(ChatHandler *handler)
Definition: cs_reload.cpp:233
static bool HandleReloadWpCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1006
static bool HandleReloadGOQuestStarterCommand(ChatHandler *handler)
Definition: cs_reload.cpp:534
static bool HandleReloadCreatureQuestStarterCommand(ChatHandler *handler)
Definition: cs_reload.cpp:492
static bool HandleReloadGameGraveyardZoneCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1032
static bool HandleReloadOnKillReputationCommand(ChatHandler *handler)
Definition: cs_reload.cpp:446
static bool HandleReloadAchievementRewardCommand(ChatHandler *handler)
Definition: cs_reload.cpp:372
static bool HandleReloadCreatureTemplateCommand(ChatHandler *handler, std::string_view args)
Definition: cs_reload.cpp:454
static bool HandleReloadLootTemplatesMillingCommand(ChatHandler *handler)
Definition: cs_reload.cpp:640
static bool HandleReloadItemSetNamesCommand(ChatHandler *handler)
Definition: cs_reload.cpp:964
static bool HandleReloadLocalesPointsOfInterestCommand(ChatHandler *handler)
Definition: cs_reload.cpp:1145

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
731 {
732 LOG_INFO("server.loading", "Reloading acore_string Table!");
733 sObjectMgr->LoadAcoreStrings();
734 handler->SendGlobalGMSysMessage("DB table `acore_string` reloaded.");
735 return true;
736 }
#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
1194 {
1196 LOG_INFO("server.loading", "Reloading Auctions...");
1197 sAuctionMgr->LoadAuctionItems();
1198 sAuctionMgr->LoadAuctions();
1199 handler->SendGlobalGMSysMessage("Auctions reloaded.");
1200 return true;
1201 }
#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
427 {
428 LOG_INFO("server.loading", "Reloading Broadcast texts...");
429 sObjectMgr->LoadBroadcastTexts();
430 sObjectMgr->LoadBroadcastTextLocales();
431 handler->SendGlobalGMSysMessage("DB table `broadcast_text` reloaded.");
432 return true;
433 }

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

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadCommandCommand()

static bool reload_commandscript::HandleReloadCommandCommand ( ChatHandler handler)
inlinestatic
436 {
437 LOG_INFO("server.loading", "Reloading .command information...");
439 handler->SendGlobalGMSysMessage("DB table `command` reloaded.");
440
441 // do not log this invocation, otherwise we might crash (the command table we used to get here is no longer valid!)
442 handler->SetSentErrorMessage(true);
443 return false;
444 }
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
1204 {
1205 LOG_INFO("server.loading", "Reloading Conditions...");
1206 sConditionMgr->LoadConditions(true);
1207 handler->SendGlobalGMSysMessage("Conditions reloaded.");
1208 return true;
1209 }

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
593 {
594 LOG_INFO("server.loading", "Reloading Creature movement overrides...");
595 sObjectMgr->LoadCreatureMovementOverrides();
596 handler->SendGlobalGMSysMessage("DB table `creature_movement_override` reloaded.");
597 return true;
598 }

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

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadCreatureQuestEnderCommand()

static bool reload_commandscript::HandleReloadCreatureQuestEnderCommand ( ChatHandler handler)
inlinestatic
509 {
510 LOG_INFO("server.loading", "Loading Quests Relations... (`creature_questender`)");
511 sObjectMgr->LoadCreatureQuestEnders();
512 handler->SendGlobalGMSysMessage("DB table `creature_questender` reloaded.");
513 return true;
514 }

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

Referenced by GetCommands().

◆ HandleReloadCreatureQuestStarterCommand()

static bool reload_commandscript::HandleReloadCreatureQuestStarterCommand ( ChatHandler handler)
inlinestatic
493 {
494 LOG_INFO("server.loading", "Loading Quests Relations... (`creature_queststarter`)");
495 sObjectMgr->LoadCreatureQuestStarters();
496 handler->SendGlobalGMSysMessage("DB table `creature_queststarter` reloaded.");
497 return true;
498 }

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

Referenced by GetCommands().

◆ HandleReloadCreatureTemplateCommand()

static bool reload_commandscript::HandleReloadCreatureTemplateCommand ( ChatHandler handler,
std::string_view  args 
)
inlinestatic
455 {
456 if (args.empty())
457 return false;
458
459 for (std::string_view entryStr : Acore::Tokenize(args, ' ', false))
460 {
461 uint32 entry = Acore::StringTo<uint32>(entryStr).value_or(0);
462
464 stmt->SetData(0, entry);
465 PreparedQueryResult result = WorldDatabase.Query(stmt);
466
467 if (!result)
468 {
470 continue;
471 }
472
473 CreatureTemplate* cInfo = const_cast<CreatureTemplate*>(sObjectMgr->GetCreatureTemplate(entry));
474 if (!cInfo)
475 {
477 continue;
478 }
479
480 LOG_INFO("server.loading", "Reloading creature template entry {}", entry);
481
482 Field* fields = result->Fetch();
483
484 sObjectMgr->LoadCreatureTemplate(fields, true);
485 sObjectMgr->CheckCreatureTemplate(cInfo);
486 }
487
488 handler->SendGlobalGMSysMessage("Creature template reloaded.");
489 return true;
490 }
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
1212 {
1213 LOG_INFO("server.loading", "Reloading Creature Texts...");
1214 sCreatureTextMgr->LoadCreatureTexts();
1215 handler->SendGlobalGMSysMessage("Creature Texts reloaded.");
1216 return true;
1217 }
#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
1055 {
1056 LOG_INFO("server.loading", "Reloading disables table...");
1058 LOG_INFO("server.loading", "Checking quest disables...");
1060 handler->SendGlobalGMSysMessage("DB table `disables` reloaded.");
1061 return true;
1062 }
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
973 {
974 if (sScriptMgr->IsScriptScheduled())
975 {
976 handler->SendErrorMessage("DB scripts used currently, please attempt reload later.");
977 return false;
978 }
979
980 LOG_INFO("server.loading", "Reloading Scripts from `event_scripts`...");
981
982 sObjectMgr->LoadEventScripts();
983
984 handler->SendGlobalGMSysMessage("DB table `event_scripts` reloaded.");
985
986 return true;
987 }

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

Referenced by GetCommands(), and HandleReloadAllScriptsCommand().

◆ HandleReloadGameGraveyardCommand()

static bool reload_commandscript::HandleReloadGameGraveyardCommand ( ChatHandler handler)
inlinestatic
1244 {
1245 LOG_INFO("server.loading", "Reloading game_graveyard table...");
1246 sGraveyard->LoadGraveyardFromDB();
1247 handler->SendGlobalGMSysMessage("DB table `game_graveyard` reloaded.");
1248 return true;
1249 }
#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
1033 {
1034 LOG_INFO("server.loading", "Reloading Graveyard-zone links...");
1035
1036 sGraveyard->LoadGraveyardZones();
1037
1038 handler->SendGlobalGMSysMessage("DB table `graveyard_zone` reloaded.");
1039
1040 return true;
1041 }

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

Referenced by GetCommands(), and HandleReloadAllAreaCommand().

◆ HandleReloadGameTeleCommand()

static bool reload_commandscript::HandleReloadGameTeleCommand ( ChatHandler handler)
inlinestatic
1044 {
1045 LOG_INFO("server.loading", "Reloading Game Tele coordinates...");
1046
1047 sObjectMgr->LoadGameTele();
1048
1049 handler->SendGlobalGMSysMessage("DB table `game_tele` reloaded.");
1050
1051 return true;
1052 }

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
543 {
544 LOG_INFO("server.loading", "Loading Quests Relations... (`gameobject_questender`)");
545 sObjectMgr->LoadGameobjectQuestEnders();
546 handler->SendGlobalGMSysMessage("DB table `gameobject_questender` reloaded.");
547 return true;
548 }

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

Referenced by GetCommands().

◆ HandleReloadGOQuestStarterCommand()

static bool reload_commandscript::HandleReloadGOQuestStarterCommand ( ChatHandler handler)
inlinestatic
535 {
536 LOG_INFO("server.loading", "Loading Quests Relations... (`gameobject_queststarter`)");
537 sObjectMgr->LoadGameobjectQuestStarters();
538 handler->SendGlobalGMSysMessage("DB table `gameobject_queststarter` reloaded.");
539 return true;
540 }

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

Referenced by GetCommands().

◆ HandleReloadGossipMenuCommand()

static bool reload_commandscript::HandleReloadGossipMenuCommand ( ChatHandler handler)
inlinestatic
517 {
518 LOG_INFO("server.loading", "Reloading `gossip_menu` Table!");
519 sObjectMgr->LoadGossipMenu();
520 handler->SendGlobalGMSysMessage("DB table `gossip_menu` reloaded.");
521 sConditionMgr->LoadConditions(true);
522 return true;
523 }

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

Referenced by GetCommands(), and HandleReloadAllGossipsCommand().

◆ HandleReloadGossipMenuOptionCommand()

static bool reload_commandscript::HandleReloadGossipMenuOptionCommand ( ChatHandler handler)
inlinestatic
526 {
527 LOG_INFO("server.loading", "Reloading `gossip_menu_option` Table!");
528 sObjectMgr->LoadGossipMenuItems();
529 handler->SendGlobalGMSysMessage("DB table `gossip_menu_option` reloaded.");
530 sConditionMgr->LoadConditions(true);
531 return true;
532 }

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

Referenced by GetCommands(), and HandleReloadAllGossipsCommand().

◆ HandleReloadItemEnchantementsCommand()

static bool reload_commandscript::HandleReloadItemEnchantementsCommand ( ChatHandler handler)
inlinestatic
957 {
958 LOG_INFO("server.loading", "Reloading Item Random Enchantments Table...");
960 handler->SendGlobalGMSysMessage("DB table `item_enchantment_template` reloaded.");
961 return true;
962 }
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
965 {
966 LOG_INFO("server.loading", "Reloading Item set names...");
967 sObjectMgr->LoadItemSetNames();
968 handler->SendGlobalGMSysMessage("DB table `item_set_names` reloaded.");
969 return true;
970 }

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

Referenced by GetCommands().

◆ HandleReloadLfgRewardsCommand()

static bool reload_commandscript::HandleReloadLfgRewardsCommand ( ChatHandler handler)
inlinestatic
1073 {
1074 LOG_INFO("server.loading", "Reloading lfg dungeon rewards...");
1075 sLFGMgr->LoadRewards();
1076 handler->SendGlobalGMSysMessage("DB table `lfg_dungeon_rewards` reloaded.");
1077 return true;
1078 }
#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
501 {
502 LOG_INFO("server.loading", "Loading Linked Respawns... (`creature_linked_respawn`)");
503 sObjectMgr->LoadLinkedRespawn();
504 handler->SendGlobalGMSysMessage("DB table `creature_linked_respawn` (creature linked respawns) reloaded.");
505 return true;
506 }

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

Referenced by GetCommands().

◆ HandleReloadLocalesAchievementRewardCommand()

static bool reload_commandscript::HandleReloadLocalesAchievementRewardCommand ( ChatHandler handler)
inlinestatic
1065 {
1066 LOG_INFO("server.loading", "Reloading Achievement Reward Data Locale...");
1067 sAchievementMgr->LoadRewardLocales();
1068 handler->SendGlobalGMSysMessage("DB table `achievement_reward_locale` reloaded.");
1069 return true;
1070 }

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

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesCreatureCommand()

static bool reload_commandscript::HandleReloadLocalesCreatureCommand ( ChatHandler handler)
inlinestatic
1081 {
1082 LOG_INFO("server.loading", "Reloading Creature Template Locale...");
1083 sObjectMgr->LoadCreatureLocales();
1084 handler->SendGlobalGMSysMessage("DB table `creature_template_locale` reloaded.");
1085 return true;
1086 }

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

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesCreatureTextCommand()

static bool reload_commandscript::HandleReloadLocalesCreatureTextCommand ( ChatHandler handler)
inlinestatic
1089 {
1090 LOG_INFO("server.loading", "Reloading Creature Texts Locale...");
1091 sCreatureTextMgr->LoadCreatureTextLocales();
1092 handler->SendGlobalGMSysMessage("DB table `creature_text_locale` reloaded.");
1093 return true;
1094 }

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

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesGameobjectCommand()

static bool reload_commandscript::HandleReloadLocalesGameobjectCommand ( ChatHandler handler)
inlinestatic
1097 {
1098 LOG_INFO("server.loading", "Reloading Gameobject Template Locale ... ");
1099 sObjectMgr->LoadGameObjectLocales();
1100 handler->SendGlobalGMSysMessage("DB table `gameobject_template_locale` reloaded.");
1101 return true;
1102 }

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

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesGossipMenuOptionCommand()

static bool reload_commandscript::HandleReloadLocalesGossipMenuOptionCommand ( ChatHandler handler)
inlinestatic
1105 {
1106 LOG_INFO("server.loading", "Reloading Gossip Menu Option Locale ... ");
1107 sObjectMgr->LoadGossipMenuItemsLocales();
1108 handler->SendGlobalGMSysMessage("DB table `gossip_menu_option_locale` reloaded.");
1109 return true;
1110 }

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

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesItemCommand()

static bool reload_commandscript::HandleReloadLocalesItemCommand ( ChatHandler handler)
inlinestatic
1113 {
1114 LOG_INFO("server.loading", "Reloading Item Template Locale ... ");
1115 sObjectMgr->LoadItemLocales();
1116 handler->SendGlobalGMSysMessage("DB table `item_template_locale` reloaded.");
1117 return true;
1118 }

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

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesItemSetNameCommand()

static bool reload_commandscript::HandleReloadLocalesItemSetNameCommand ( ChatHandler handler)
inlinestatic
1121 {
1122 LOG_INFO("server.loading", "Reloading Item set name Locale... ");
1123 sObjectMgr->LoadItemSetNameLocales();
1124 handler->SendGlobalGMSysMessage("DB table `item_set_name_locale` reloaded.");
1125 return true;
1126 }

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

Referenced by GetCommands().

◆ HandleReloadLocalesNpcTextCommand()

static bool reload_commandscript::HandleReloadLocalesNpcTextCommand ( ChatHandler handler)
inlinestatic
1129 {
1130 LOG_INFO("server.loading", "Reloading NPC Text Locale ... ");
1131 sObjectMgr->LoadNpcTextLocales();
1132 handler->SendGlobalGMSysMessage("DB table `npc_text_locale` reloaded.");
1133 return true;
1134 }

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

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesPageTextCommand()

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

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

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesPointsOfInterestCommand()

static bool reload_commandscript::HandleReloadLocalesPointsOfInterestCommand ( ChatHandler handler)
inlinestatic
1146 {
1147 LOG_INFO("server.loading", "Reloading Points Of Interest Locale ... ");
1148 sObjectMgr->LoadPointOfInterestLocales();
1149 handler->SendGlobalGMSysMessage("DB table `points_of_interest_locale` reloaded.");
1150 return true;
1151 }

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

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesQuestCommand()

static bool reload_commandscript::HandleReloadLocalesQuestCommand ( ChatHandler handler)
inlinestatic
1154 {
1155 LOG_INFO("server.loading", "Reloading Locales Quest ... ");
1156 sObjectMgr->LoadQuestLocales();
1157 handler->SendGlobalGMSysMessage("DB table `quest_template_locale` reloaded.");
1158 return true;
1159 }

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

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesQuestOfferRewardCommand()

static bool reload_commandscript::HandleReloadLocalesQuestOfferRewardCommand ( ChatHandler handler)
inlinestatic
1162 {
1163 LOG_INFO("server.loading", "Reloading Quest Offer Reward Locale... ");
1164 sObjectMgr->LoadQuestOfferRewardLocale();
1165 handler->SendGlobalGMSysMessage("DB table `quest_offer_reward_locale` reloaded.");
1166 return true;
1167 }

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

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLocalesQuestRequestItemsCommand()

static bool reload_commandscript::HandleReloadLocalesQuestRequestItemsCommand ( ChatHandler handler)
inlinestatic
1170 {
1171 LOG_INFO("server.loading", "Reloading Quest Request Item Locale... ");
1172 sObjectMgr->LoadQuestRequestItemsLocale();
1173 handler->SendGlobalGMSysMessage("DB table `quest_request_item_locale` reloaded.");
1174 return true;
1175 }

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

Referenced by GetCommands(), and HandleReloadAllLocalesCommand().

◆ HandleReloadLootTemplatesCreatureCommand()

static bool reload_commandscript::HandleReloadLootTemplatesCreatureCommand ( ChatHandler handler)
inlinestatic
583 {
584 LOG_INFO("server.loading", "Reloading Loot Tables... (`creature_loot_template`)");
587 handler->SendGlobalGMSysMessage("DB table `creature_loot_template` reloaded.");
588 sConditionMgr->LoadConditions(true);
589 return true;
590 }
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
601 {
602 LOG_INFO("server.loading", "Reloading Loot Tables... (`disenchant_loot_template`)");
605 handler->SendGlobalGMSysMessage("DB table `disenchant_loot_template` reloaded.");
606 sConditionMgr->LoadConditions(true);
607 return true;
608 }
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
611 {
612 LOG_INFO("server.loading", "Reloading Loot Tables... (`fishing_loot_template`)");
615 handler->SendGlobalGMSysMessage("DB table `fishing_loot_template` reloaded.");
616 sConditionMgr->LoadConditions(true);
617 return true;
618 }
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
621 {
622 LOG_INFO("server.loading", "Reloading Loot Tables... (`gameobject_loot_template`)");
625 handler->SendGlobalGMSysMessage("DB table `gameobject_loot_template` reloaded.");
626 sConditionMgr->LoadConditions(true);
627 return true;
628 }
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
631 {
632 LOG_INFO("server.loading", "Reloading Loot Tables... (`item_loot_template`)");
635 handler->SendGlobalGMSysMessage("DB table `item_loot_template` reloaded.");
636 sConditionMgr->LoadConditions(true);
637 return true;
638 }
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
671 {
672 LOG_INFO("server.loading", "Reloading Loot Tables... (`mail_loot_template`)");
675 handler->SendGlobalGMSysMessage("DB table `mail_loot_template` reloaded.");
676 sConditionMgr->LoadConditions(true);
677 return true;
678 }
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
641 {
642 LOG_INFO("server.loading", "Reloading Loot Tables... (`milling_loot_template`)");
645 handler->SendGlobalGMSysMessage("DB table `milling_loot_template` reloaded.");
646 sConditionMgr->LoadConditions(true);
647 return true;
648 }
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
651 {
652 LOG_INFO("server.loading", "Reloading Loot Tables... (`pickpocketing_loot_template`)");
655 handler->SendGlobalGMSysMessage("DB table `pickpocketing_loot_template` reloaded.");
656 sConditionMgr->LoadConditions(true);
657 return true;
658 }
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
710 {
711 LOG_INFO("server.loading", "Reloading Loot Tables... (`player_loot_template`)");
714 handler->SendGlobalGMSysMessage("DB table `player_loot_template` reloaded.");
715 sConditionMgr->LoadConditions(true);
716 return true;
717 }
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
661 {
662 LOG_INFO("server.loading", "Reloading Loot Tables... (`prospecting_loot_template`)");
665 handler->SendGlobalGMSysMessage("DB table `prospecting_loot_template` reloaded.");
666 sConditionMgr->LoadConditions(true);
667 return true;
668 }
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
681 {
682 LOG_INFO("server.loading", "Reloading Loot Tables... (`reference_loot_template`)");
684 handler->SendGlobalGMSysMessage("DB table `reference_loot_template` reloaded.");
685 sConditionMgr->LoadConditions(true);
686 return true;
687 }
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
690 {
691 LOG_INFO("server.loading", "Reloading Loot Tables... (`skinning_loot_template`)");
694 handler->SendGlobalGMSysMessage("DB table `skinning_loot_template` reloaded.");
695 sConditionMgr->LoadConditions(true);
696 return true;
697 }
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
700 {
701 LOG_INFO("server.loading", "Reloading Loot Tables... (`spell_loot_template`)");
704 handler->SendGlobalGMSysMessage("DB table `spell_loot_template` reloaded.");
705 sConditionMgr->LoadConditions(true);
706 return true;
707 }
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
1178 {
1179 LOG_INFO("server.loading", "Reloading Player level dependent mail rewards...");
1180 sObjectMgr->LoadMailLevelRewards();
1181 handler->SendGlobalGMSysMessage("DB table `mail_level_reward` reloaded.");
1182 return true;
1183 }

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

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadMailServerTemplateCommand()

static bool reload_commandscript::HandleReloadMailServerTemplateCommand ( ChatHandler handler)
inlinestatic
1186 {
1187 LOG_INFO("server.loading", "Reloading `server_mail_template` table");
1188 sObjectMgr->LoadMailServerTemplates();
1189 handler->SendGlobalGMSysMessage("DB table `server_mail_template` reloaded.");
1190 return true;
1191 }

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

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadModuleStringCommand()

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

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.");
418
419 if (Player* player = handler->GetPlayer())
420 locale = player->GetSession()->GetSessionDbLocaleIndex();
421
422 handler->SendGlobalSysMessage(sMotdMgr->GetMotd(locale));
423 return true;
424 }
LocaleConstant
Definition: Common.h:65
#define DEFAULT_LOCALE
Definition: Common.h:79
#define sMotdMgr
Definition: MotdMgr.h:61
void SendGlobalSysMessage(const char *str)
Definition: Chat.cpp:185
Player * GetPlayer() const
Definition: Chat.cpp:35
Definition: Player.h:1081

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

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadNpcTrainerCommand()

static bool reload_commandscript::HandleReloadNpcTrainerCommand ( ChatHandler handler)
inlinestatic
753 {
754 LOG_INFO("server.loading", "Reloading `npc_trainer` Table!");
755 sObjectMgr->LoadTrainerSpell();
756 handler->SendGlobalGMSysMessage("DB table `npc_trainer` reloaded.");
757 return true;
758 }

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

Referenced by GetCommands(), and HandleReloadAllNpcCommand().

◆ HandleReloadNpcVendorCommand()

static bool reload_commandscript::HandleReloadNpcVendorCommand ( ChatHandler handler)
inlinestatic
761 {
762 LOG_INFO("server.loading", "Reloading `npc_vendor` Table!");
763 sObjectMgr->LoadVendors();
764 handler->SendGlobalGMSysMessage("DB table `npc_vendor` reloaded.");
765 return true;
766 }

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

Referenced by GetCommands(), and HandleReloadAllNpcCommand().

◆ HandleReloadOnKillReputationCommand()

static bool reload_commandscript::HandleReloadOnKillReputationCommand ( ChatHandler handler)
inlinestatic
447 {
448 LOG_INFO("server.loading", "Reloading creature award reputation definitions...");
449 sObjectMgr->LoadReputationOnKill();
450 handler->SendGlobalGMSysMessage("DB table `creature_onkill_reputation` reloaded.");
451 return true;
452 }

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

Referenced by GetCommands().

◆ HandleReloadPageTextsCommand()

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

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

Referenced by GetCommands(), and HandleReloadAllItemCommand().

◆ HandleReloadPointsOfInterestCommand()

static bool reload_commandscript::HandleReloadPointsOfInterestCommand ( ChatHandler handler)
inlinestatic
769 {
770 LOG_INFO("server.loading", "Reloading `points_of_interest` Table!");
771 sObjectMgr->LoadPointsOfInterest();
772 handler->SendGlobalGMSysMessage("DB table `points_of_interest` reloaded.");
773 return true;
774 }

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

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

◆ HandleReloadProfanityNameCommand()

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

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

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadQuestAreaTriggersCommand()

static bool reload_commandscript::HandleReloadQuestAreaTriggersCommand ( ChatHandler handler)
inlinestatic
551 {
552 LOG_INFO("server.loading", "Reloading Quest Area Triggers...");
553 sObjectMgr->LoadQuestAreaTriggers();
554 handler->SendGlobalGMSysMessage("DB table `areatrigger_involvedrelation` (quest area triggers) reloaded.");
555 return true;
556 }

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

Referenced by GetCommands(), and HandleReloadAllQuestCommand().

◆ HandleReloadQuestGreetingCommand()

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

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

Referenced by GetCommands(), and HandleReloadAllQuestCommand().

◆ HandleReloadQuestPOICommand()

static bool reload_commandscript::HandleReloadQuestPOICommand ( ChatHandler handler)
inlinestatic
777 {
778 LOG_INFO("server.loading", "Reloading Quest POI ..." );
779 sObjectMgr->LoadQuestPOI();
780 handler->SendGlobalGMSysMessage("DB Table `quest_poi` and `quest_poi_points` reloaded.");
781 return true;
782 }

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

570 {
571 LOG_INFO("server.loading", "Reloading Quest Templates...");
572 sObjectMgr->LoadQuests();
573 handler->SendGlobalGMSysMessage("DB table `quest_template` (quest definitions) reloaded.");
574
576 LOG_INFO("server.loading", "Reloading GameObjects for quests...");
577 sObjectMgr->LoadGameObjectForQuests();
578 handler->SendGlobalGMSysMessage("Data GameObjects for quests reloaded.");
579 return true;
580 }

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

Referenced by GetCommands(), and HandleReloadAllQuestCommand().

◆ HandleReloadReputationRewardRateCommand()

static bool reload_commandscript::HandleReloadReputationRewardRateCommand ( ChatHandler handler)
inlinestatic
811 {
812 LOG_INFO("server.loading", "Reloading `reputation_reward_rate` Table!" );
813 sObjectMgr->LoadReputationRewardRate();
814 handler->SendGlobalGMSysMessage("DB table `reputation_reward_rate` reloaded.");
815 return true;
816 }

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

Referenced by GetCommands().

◆ HandleReloadReputationSpilloverTemplateCommand()

static bool reload_commandscript::HandleReloadReputationSpilloverTemplateCommand ( ChatHandler handler)
inlinestatic
819 {
820 LOG_INFO("server.loading", "Reloading `reputation_spillover_template` Table!" );
821 sObjectMgr->LoadReputationSpilloverTemplate();
822 handler->SendGlobalGMSysMessage("DB table `reputation_spillover_template` reloaded.");
823 return true;
824 }

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

◆ HandleReloadReservedNameCommand()

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

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

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadSkillDiscoveryTemplateCommand()

static bool reload_commandscript::HandleReloadSkillDiscoveryTemplateCommand ( ChatHandler handler)
inlinestatic
827 {
828 LOG_INFO("server.loading", "Reloading Skill Discovery Table...");
830 handler->SendGlobalGMSysMessage("DB table `skill_discovery_template` (recipes discovered at crafting) reloaded.");
831 return true;
832 }
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
844 {
845 LOG_INFO("server.loading", "Reloading Skill Extra Item Table...");
847 handler->SendGlobalGMSysMessage("DB table `skill_extra_item_template` (extra item creation when crafting) reloaded.");
849 }
void LoadSkillExtraItemTable()
Definition: SkillExtraItems.cpp:138
static bool HandleReloadSkillPerfectItemTemplateCommand(ChatHandler *handler)
Definition: cs_reload.cpp:834

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

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSkillFishingBaseLevelCommand()

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

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

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadSkillPerfectItemTemplateCommand()

static bool reload_commandscript::HandleReloadSkillPerfectItemTemplateCommand ( ChatHandler handler)
inlinestatic
835 {
836 // latched onto HandleReloadSkillExtraItemTemplateCommand as it's part of that table group (and i don't want to chance all the command IDs)
837 LOG_INFO("server.loading", "Reloading Skill Perfection Data Table...");
839 handler->SendGlobalGMSysMessage("DB table `skill_perfect_item_template` (perfect item procs when crafting) reloaded.");
840 return true;
841 }
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
1220 {
1221 LOG_INFO("server.loading", "Reloading Smart Scripts...");
1222 sSmartScriptMgr->LoadSmartAIFromDB();
1223 handler->SendGlobalGMSysMessage("Smart Scripts reloaded.");
1224 return true;
1225 }
#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
860 {
861 LOG_INFO("server.loading", "Reloading SpellArea Data...");
862 sSpellMgr->LoadSpellAreas();
863 handler->SendGlobalGMSysMessage("DB table `spell_area` (spell dependences from area/quest/auras state) reloaded.");
864 return true;
865 }
#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
908 {
909 LOG_INFO("server.loading", "Reloading Spell Bonus Data...");
910 sSpellMgr->LoadSpellBonuses();
911 handler->SendGlobalGMSysMessage("DB table `spell_bonus_data` (spell damage/healing coefficients) reloaded.");
912 return true;
913 }

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

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellClickSpellsCommand()

static bool reload_commandscript::HandleReloadSpellClickSpellsCommand ( ChatHandler handler)
inlinestatic
785 {
786 LOG_INFO("server.loading", "Reloading `npc_spellclick_spells` Table!");
787 sObjectMgr->LoadNPCSpellClickSpells();
788 handler->SendGlobalGMSysMessage("DB table `npc_spellclick_spells` reloaded.");
789 return true;
790 }

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

Referenced by GetCommands(), and HandleReloadAllNpcCommand().

◆ HandleReloadSpellGroupsCommand()

static bool reload_commandscript::HandleReloadSpellGroupsCommand ( ChatHandler handler)
inlinestatic
876 {
877 LOG_INFO("server.loading", "Reloading Spell Groups...");
878 sSpellMgr->LoadSpellGroups();
879 handler->SendGlobalGMSysMessage("DB table `spell_group` (spell groups) reloaded.");
880 return true;
881 }

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

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellGroupStackRulesCommand()

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

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

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellLinkedSpellCommand()

static bool reload_commandscript::HandleReloadSpellLinkedSpellCommand ( ChatHandler handler)
inlinestatic
884 {
885 LOG_INFO("server.loading", "Reloading Spell Linked Spells...");
886 sSpellMgr->LoadSpellLinked();
887 handler->SendGlobalGMSysMessage("DB table `spell_linked_spell` reloaded.");
888 return true;
889 }

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

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellPetAurasCommand()

static bool reload_commandscript::HandleReloadSpellPetAurasCommand ( ChatHandler handler)
inlinestatic
940 {
941 LOG_INFO("server.loading", "Reloading Spell pet auras...");
942 sSpellMgr->LoadSpellPetAuras();
943 handler->SendGlobalGMSysMessage("DB table `spell_pet_auras` reloaded.");
944 return true;
945 }

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

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellProcEventCommand()

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

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

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellProcsCommand()

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

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

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellRequiredCommand()

static bool reload_commandscript::HandleReloadSpellRequiredCommand ( ChatHandler handler)
inlinestatic
868 {
869 LOG_INFO("server.loading", "Reloading Spell Required Data... ");
870 sSpellMgr->LoadSpellRequired();
871 handler->SendGlobalGMSysMessage("DB table `spell_required` reloaded.");
872 return true;
873 }

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

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellScriptsCommand()

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

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

Referenced by GetCommands(), and HandleReloadAllScriptsCommand().

◆ HandleReloadSpellTargetPositionCommand()

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

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

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadSpellThreatsCommand()

static bool reload_commandscript::HandleReloadSpellThreatsCommand ( ChatHandler handler)
inlinestatic
924 {
925 LOG_INFO("server.loading", "Reloading Aggro Spells Definitions...");
926 sSpellMgr->LoadSpellThreats();
927 handler->SendGlobalGMSysMessage("DB table `spell_threat` (spell aggro definitions) reloaded.");
928 return true;
929 }

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

Referenced by GetCommands(), and HandleReloadAllSpellCommand().

◆ HandleReloadVehicleAccessoryCommand()

static bool reload_commandscript::HandleReloadVehicleAccessoryCommand ( ChatHandler handler)
inlinestatic
1228 {
1229 LOG_INFO("server.loading", "Reloading vehicle_accessory table...");
1230 sObjectMgr->LoadVehicleAccessories();
1231 handler->SendGlobalGMSysMessage("Vehicle accessories reloaded.");
1232 return true;
1233 }

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

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadVehicleTemplateAccessoryCommand()

static bool reload_commandscript::HandleReloadVehicleTemplateAccessoryCommand ( ChatHandler handler)
inlinestatic
1236 {
1237 LOG_INFO("server.loading", "Reloading vehicle_template_accessory table...");
1238 sObjectMgr->LoadVehicleTemplateAccessories();
1239 handler->SendGlobalGMSysMessage("Vehicle template accessories reloaded.");
1240 return true;
1241 }

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

Referenced by GetCommands(), and HandleReloadAllCommand().

◆ HandleReloadWardenactionCommand()

static bool reload_commandscript::HandleReloadWardenactionCommand ( ChatHandler handler)
inlinestatic
739 {
740 if (!sWorld->getBoolConfig(CONFIG_WARDEN_ENABLED))
741 {
742 handler->SendErrorMessage("Warden system disabled by config - reloading warden_action skipped.");
743 return false;
744 }
745
746 LOG_INFO("server.loading", "Reloading warden_action Table!");
747 sWardenCheckMgr->LoadWardenOverrides();
748 handler->SendGlobalGMSysMessage("DB table `warden_action` reloaded.");
749 return true;
750 }
@ 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
1007 {
1008 LOG_INFO("server.loading", "Reloading Waypoints data from 'waypoints_data'");
1009 sWaypointMgr->Load();
1010 handler->SendGlobalGMSysMessage("DB Table 'waypoint_data' reloaded.");
1011
1012 return true;
1013 }
#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
990 {
991 if (sScriptMgr->IsScriptScheduled())
992 {
993 handler->SendErrorMessage("DB scripts used currently, please attempt reload later.");
994 return false;
995 }
996
997 LOG_INFO("server.loading", "Reloading Scripts from `waypoint_scripts`...");
998
999 sObjectMgr->LoadWaypointScripts();
1000
1001 handler->SendGlobalGMSysMessage("DB table `waypoint_scripts` reloaded.");
1002
1003 return true;
1004 }

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

Referenced by GetCommands(), and HandleReloadAllScriptsCommand().