AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
spectator_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 | HandleSpectatorCommand (ChatHandler *handler) |
static bool | HandleSpectatorVersionCommand (ChatHandler *handler, uint16 version) |
static bool | HandleSpectatorResetCommand (ChatHandler *handler) |
static bool | HandleSpectatorLeaveCommand (ChatHandler *handler) |
static bool | HandleSpectatorSpectateCommand (ChatHandler *handler, std::string const &name) |
static bool | HandleSpectatorWatchCommand (ChatHandler *handler, std::string const &name) |
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 HandleSpectatorCommand(), HandleSpectatorLeaveCommand(), HandleSpectatorResetCommand(), HandleSpectatorSpectateCommand(), HandleSpectatorVersionCommand(), HandleSpectatorWatchCommand(), and SEC_PLAYER.
|
inlinestatic |
References ChatHandler::PSendSysMessage().
Referenced by GetCommands().
|
inlinestatic |
References WorldObject::FindMap(), WorldSession::GetPlayer(), ChatHandler::GetSession(), Map::IsBattleArena(), Player::IsSpectator(), ChatHandler::SendSysMessage(), and Player::TeleportToEntryPoint().
Referenced by GetCommands().
|
inlinestatic |
References WorldSession::GetPlayer(), ChatHandler::GetSession(), ArenaSpectator::HandleResetCommand(), and Player::IsSpectator().
Referenced by GetCommands().
|
inlinestatic |
References ArenaSpectator::HandleSpectatorSpectateCommand().
Referenced by GetCommands().
|
inlinestatic |
References WorldSession::GetPlayer(), ChatHandler::GetSession(), ArenaSpectator::SendCommand(), SPECTATOR_ADDON_PREFIX, and SPECTATOR_ADDON_VERSION.
Referenced by GetCommands().
|
inlinestatic |
References ArenaSpectator::HandleSpectatorWatchCommand().
Referenced by GetCommands().