AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
cheat_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 | HandleGodModeCheatCommand (ChatHandler *handler, Optional< bool > enableArg) |
static bool | HandleCasttimeCheatCommand (ChatHandler *handler, Optional< bool > enableArg) |
static bool | HandleCoolDownCheatCommand (ChatHandler *handler, Optional< bool > enableArg) |
static bool | HandlePowerCheatCommand (ChatHandler *handler, Optional< bool > enableArg) |
static bool | HandleCheatStatusCommand (ChatHandler *handler) |
static bool | HandleWaterWalkCheatCommand (ChatHandler *handler, Optional< bool > enableArg) |
static bool | HandleTaxiCheatCommand (ChatHandler *handler, Optional< bool > enableArg) |
static bool | HandleExploreCheatCommand (ChatHandler *handler, bool reveal) |
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 HandleCasttimeCheatCommand(), HandleCheatStatusCommand(), HandleCoolDownCheatCommand(), HandleExploreCheatCommand(), HandleGodModeCheatCommand(), HandlePowerCheatCommand(), HandleTaxiCheatCommand(), HandleWaterWalkCheatCommand(), and SEC_GAMEMASTER.
|
inlinestatic |
References CHEAT_CASTTIME, Player::GetCommandStatus(), WorldSession::GetPlayer(), ChatHandler::GetSession(), ChatHandler::SendSysMessage(), Player::SetCommandStatusOff(), and Player::SetCommandStatusOn().
Referenced by GetCommands().
|
inlinestatic |
References CHEAT_CASTTIME, CHEAT_COOLDOWN, CHEAT_GOD, CHEAT_POWER, CHEAT_WATERWALK, Player::GetCommandStatus(), WorldSession::GetPlayer(), ChatHandler::GetSession(), Player::isTaxiCheater(), LANG_COMMAND_CHEAT_CD, LANG_COMMAND_CHEAT_CT, LANG_COMMAND_CHEAT_GOD, LANG_COMMAND_CHEAT_POWER, LANG_COMMAND_CHEAT_STATUS, LANG_COMMAND_CHEAT_TAXINODES, LANG_COMMAND_CHEAT_WW, ChatHandler::PSendSysMessage(), and ChatHandler::SendSysMessage().
Referenced by GetCommands().
|
inlinestatic |
References CHEAT_COOLDOWN, Player::GetCommandStatus(), WorldSession::GetPlayer(), ChatHandler::GetSession(), ChatHandler::SendSysMessage(), Player::SetCommandStatusOff(), and Player::SetCommandStatusOn().
Referenced by GetCommands().
|
inlinestatic |
References ChatHandler::GetNameLink(), WorldSession::GetPlayer(), ChatHandler::getSelectedPlayer(), ChatHandler::GetSession(), Player::GetSession(), LANG_NO_CHAR_SELECTED, LANG_YOU_SET_EXPLORE_ALL, LANG_YOU_SET_EXPLORE_NOTHING, LANG_YOURS_EXPLORE_SET_ALL, LANG_YOURS_EXPLORE_SET_NOTHING, ChatHandler::needReportToTarget(), PLAYER_EXPLORED_ZONES_1, PLAYER_EXPLORED_ZONES_SIZE, ChatHandler::PSendSysMessage(), ChatHandler::SendErrorMessage(), and Object::SetFlag().
Referenced by GetCommands().
|
inlinestatic |
References CHEAT_GOD, Player::GetCommandStatus(), WorldSession::GetPlayer(), ChatHandler::GetSession(), ChatHandler::SendSysMessage(), Player::SetCommandStatusOff(), and Player::SetCommandStatusOn().
Referenced by GetCommands().
|
inlinestatic |
References CHEAT_POWER, Player::GetCommandStatus(), WorldSession::GetPlayer(), ChatHandler::GetSession(), ChatHandler::SendSysMessage(), Player::SetCommandStatusOff(), and Player::SetCommandStatusOn().
Referenced by GetCommands().
|
inlinestatic |
References ObjectGuid::Empty, ChatHandler::GetNameLink(), WorldSession::GetPlayer(), ChatHandler::getSelectedPlayer(), ChatHandler::GetSession(), Player::GetSession(), ChatHandler::HasLowerSecurity(), Player::isTaxiCheater(), LANG_YOU_GIVE_TAXIS, LANG_YOU_REMOVE_TAXIS, LANG_YOURS_TAXIS_ADDED, LANG_YOURS_TAXIS_REMOVED, ChatHandler::needReportToTarget(), ChatHandler::PSendSysMessage(), and Player::SetTaxiCheater().
Referenced by GetCommands().
|
inlinestatic |
References CHEAT_WATERWALK, Player::GetCommandStatus(), WorldSession::GetPlayer(), ChatHandler::GetSession(), MOVE_LAND_WALK, MOVE_WATER_WALK, ChatHandler::SendSysMessage(), Player::SetCommandStatusOff(), Player::SetCommandStatusOn(), and Player::SetMovement().
Referenced by GetCommands().