AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
player_commandscript () | |
ChatCommandTable | GetCommands () const override |
virtual std::vector< Acore::ChatCommands::ChatCommandBuilder > | GetCommands () 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 | HandlePlayerLearnCommand (ChatHandler *handler, Optional< PlayerIdentifier > player, SpellInfo const *spell, Optional< EXACT_SEQUENCE("all")> allRanks) |
static bool | HandlePlayerUnLearnCommand (ChatHandler *handler, Optional< PlayerIdentifier > player, SpellInfo const *spell, Optional< EXACT_SEQUENCE("all")> allRanks) |
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 |
|
inline |
|
inlineoverridevirtual |
Implements CommandScript.
References HandlePlayerLearnCommand(), HandlePlayerUnLearnCommand(), and SEC_GAMEMASTER.
|
inlinestatic |
References Acore::ChatCommands::PlayerIdentifier::FromTargetOrSelf(), and Acore::PlayerCommand::HandleLearnSpellCommand().
Referenced by GetCommands().
|
inlinestatic |
References Acore::ChatCommands::PlayerIdentifier::FromTargetOrSelf(), and Acore::PlayerCommand::HandleUnlearnSpellCommand().
Referenced by GetCommands().