65 {
"instance", deserterInstanceCommandTable },
66 {
"bg", deserterBGCommandTable },
70 {
"deserter", deserterCommandTable },
Role Based Access Control related classes definition.
void SetDuration(int32 duration, bool withMods=false)
Player * getSelectedPlayer()
void SetSentErrorMessage(bool val)
virtual void SendSysMessage(std::string_view str, bool escapeCharacters=false)
void RemoveAura(AuraApplicationMap::iterator &i, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
Aura * AddAura(uint32 spellId, Unit *target)
static bool HandleDeserterInstanceRemove(ChatHandler *handler)
ChatCommandTable GetCommands() const override
Returns the command structure for the system.
static bool HandleDeserterAdd(ChatHandler *handler, uint32 time, bool isInstance)
Applies the Deserter Debuff to a player.
static bool HandleDeserterRemove(ChatHandler *handler, bool isInstance)
Removes the Deserter Debuff from a player.
static bool HandleDeserterBGRemove(ChatHandler *handler)
static bool HandleDeserterBGAdd(ChatHandler *handler, uint32 time)
static bool HandleDeserterInstanceAdd(ChatHandler *handler, uint32 time)
void AddSC_deserter_commandscript()
@ LFG_SPELL_DUNGEON_DESERTER
std::vector< ChatCommandBuilder > ChatCommandTable
@ RBAC_PERM_COMMAND_DESERTER_BG_REMOVE
@ RBAC_PERM_COMMAND_DESERTER_INSTANCE_REMOVE
@ RBAC_PERM_COMMAND_DESERTER_INSTANCE_ADD
@ RBAC_PERM_COMMAND_DESERTER_BG_ADD