Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
debug_commandscript Class Reference
Inheritance diagram for debug_commandscript:
Collaboration diagram for debug_commandscript:

Public Member Functions

 debug_commandscript ()
std::vector< ChatCommandGetCommands () const OVERRIDE
Public Member Functions inherited from ScriptObject
const std::string & GetName () const
virtual bool IsDatabaseBound () const

Static Public Member Functions

static Skyfire::Rest::InnAreaBounds BuildInnAreaBounds (Player const *player)
static Skyfire::Rest::InnAreaBounds BuildInnAreaBounds (TavernRestArea const &restArea)
static char const * GetRestTypeName (RestType restType)
static BattlegroundSAGetSOTABattlegroundForBoatCommand (ChatHandler *handler)
static bool HandleBoatStartCommand (ChatHandler *handler, char const *)
static bool HandleBoatStopCommand (ChatHandler *handler, char const *)
static bool HandleDebugAnimCommand (ChatHandler *handler, char const *args)
static bool HandleDebugAreaTriggersCommand (ChatHandler *handler, char const *)
static bool HandleDebugArenaCommand (ChatHandler *, char const *)
static bool HandleDebugBattlegroundCommand (ChatHandler *, char const *)
static bool HandleDebugEnterVehicleCommand (ChatHandler *handler, char const *args)
static bool HandleDebugGetItemStateCommand (ChatHandler *handler, char const *args)
static bool HandleDebugGetItemValueCommand (ChatHandler *handler, char const *args)
static bool HandleDebugGetLootRecipientCommand (ChatHandler *handler, char const *)
static bool HandleDebugGetValueCommand (ChatHandler *handler, char const *args)
static bool HandleDebugHostileRefListCommand (ChatHandler *handler, char const *)
static bool HandleDebugItemExpireCommand (ChatHandler *handler, char const *args)
static bool HandleDebugLfgFlexCommand (ChatHandler *handler, char const *args)
static bool HandleDebugLfgGroupCommand (ChatHandler *handler, char const *args)
static bool HandleDebugLfgRequirementsCommand (ChatHandler *handler, char const *args)
static bool HandleDebugLoSCommand (ChatHandler *handler, char const *)
static bool HandleDebugMod32ValueCommand (ChatHandler *handler, char const *args)
static bool HandleDebugMoveflagsCommand (ChatHandler *handler, char const *args)
static bool HandleDebugPlayCinematicCommand (ChatHandler *handler, char const *args)
static bool HandleDebugPlayMovieCommand (ChatHandler *handler, char const *args)
static bool HandleDebugPlaySoundCommand (ChatHandler *handler, char const *args)
static bool HandleDebugRestCommand (ChatHandler *handler, char const *)
static bool HandleDebugSendBuyErrorCommand (ChatHandler *handler, char const *args)
static bool HandleDebugSendChannelNotifyCommand (ChatHandler *handler, char const *args)
static bool HandleDebugSendChatMsgCommand (ChatHandler *handler, char const *args)
static bool HandleDebugSendEquipErrorCommand (ChatHandler *handler, char const *args)
static bool HandleDebugSendLargePacketCommand (ChatHandler *handler, char const *)
static bool HandleDebugSendQuestInvalidMsgCommand (ChatHandler *handler, char const *args)
static bool HandleDebugSendQuestPartyMsgCommand (ChatHandler *handler, char const *args)
static bool HandleDebugSendSellErrorCommand (ChatHandler *handler, char const *args)
static bool HandleDebugSendSetPhaseShiftCommand (ChatHandler *handler, char const *args)
static bool HandleDebugSendSpellFailCommand (ChatHandler *handler, char const *args)
static bool HandleDebugSet32BitCommand (ChatHandler *handler, char const *args)
static bool HandleDebugSetAuraStateCommand (ChatHandler *handler, char const *args)
static bool HandleDebugSetItemValueCommand (ChatHandler *handler, char const *args)
static bool HandleDebugSetValueCommand (ChatHandler *handler, char const *args)
static bool HandleDebugSetVehicleIdCommand (ChatHandler *handler, char const *args)
static bool HandleDebugSpawnVehicleCommand (ChatHandler *handler, char const *args)
static bool HandleDebugThreatListCommand (ChatHandler *handler, char const *)
static bool HandleDebugTransportCommand (ChatHandler *handler, char const *args)
static bool HandleDebugUpdateCommand (ChatHandler *handler, char const *args)
static bool HandleDebugUpdateWorldStateCommand (ChatHandler *handler, char const *args)
static bool HandleWPGPSCommand (ChatHandler *handler, char const *)
static void RefreshLfgLockInfoForOnlinePlayers ()

Additional Inherited Members

Protected Member Functions inherited from CommandScript
 CommandScript (const char *name)
Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name)
virtual ~ScriptObject ()

Detailed Description

Definition at line 32 of file cs_debug.cpp.

Constructor & Destructor Documentation

◆ debug_commandscript()

debug_commandscript::debug_commandscript ( )
inline

Definition at line 35 of file cs_debug.cpp.

References CommandScript::CommandScript().

Member Function Documentation

◆ BuildInnAreaBounds() [1/2]

◆ BuildInnAreaBounds() [2/2]

◆ GetCommands()

std::vector< ChatCommand > debug_commandscript::GetCommands ( ) const
inlinevirtual

Implements CommandScript.

Definition at line 37 of file cs_debug.cpp.

References HandleBoatStartCommand(), HandleBoatStopCommand(), HandleDebugAnimCommand(), HandleDebugAreaTriggersCommand(), HandleDebugArenaCommand(), HandleDebugBattlegroundCommand(), HandleDebugEnterVehicleCommand(), HandleDebugGetItemStateCommand(), HandleDebugGetItemValueCommand(), HandleDebugGetLootRecipientCommand(), HandleDebugGetValueCommand(), HandleDebugHostileRefListCommand(), HandleDebugItemExpireCommand(), HandleDebugLfgFlexCommand(), HandleDebugLfgGroupCommand(), HandleDebugLfgRequirementsCommand(), HandleDebugLoSCommand(), HandleDebugMod32ValueCommand(), HandleDebugMoveflagsCommand(), HandleDebugPlayCinematicCommand(), HandleDebugPlayMovieCommand(), HandleDebugPlaySoundCommand(), HandleDebugRestCommand(), HandleDebugSendBuyErrorCommand(), HandleDebugSendChannelNotifyCommand(), HandleDebugSendChatMsgCommand(), HandleDebugSendEquipErrorCommand(), HandleDebugSendLargePacketCommand(), HandleDebugSendQuestInvalidMsgCommand(), HandleDebugSendQuestPartyMsgCommand(), HandleDebugSendSellErrorCommand(), HandleDebugSendSetPhaseShiftCommand(), HandleDebugSendSpellFailCommand(), HandleDebugSet32BitCommand(), HandleDebugSetAuraStateCommand(), HandleDebugSetItemValueCommand(), HandleDebugSetValueCommand(), HandleDebugSetVehicleIdCommand(), HandleDebugSpawnVehicleCommand(), HandleDebugThreatListCommand(), HandleDebugTransportCommand(), HandleDebugUpdateCommand(), HandleDebugUpdateWorldStateCommand(), HandleWPGPSCommand(), OVERRIDE, rbac::RBAC_PERM_COMMAND_DEBUG, rbac::RBAC_PERM_COMMAND_DEBUG_ANIM, rbac::RBAC_PERM_COMMAND_DEBUG_AREATRIGGERS, rbac::RBAC_PERM_COMMAND_DEBUG_ARENA, rbac::RBAC_PERM_COMMAND_DEBUG_BG, rbac::RBAC_PERM_COMMAND_DEBUG_ENTERVEHICLE, rbac::RBAC_PERM_COMMAND_DEBUG_GETITEMSTATE, rbac::RBAC_PERM_COMMAND_DEBUG_GETITEMVALUE, rbac::RBAC_PERM_COMMAND_DEBUG_GETVALUE, rbac::RBAC_PERM_COMMAND_DEBUG_HOSTIL, rbac::RBAC_PERM_COMMAND_DEBUG_ITEMEXPIRE, rbac::RBAC_PERM_COMMAND_DEBUG_LFG_FLEX, rbac::RBAC_PERM_COMMAND_DEBUG_LFG_REQUIREMENTS, rbac::RBAC_PERM_COMMAND_DEBUG_LOOTRECIPIENT, rbac::RBAC_PERM_COMMAND_DEBUG_LOS, rbac::RBAC_PERM_COMMAND_DEBUG_MOD32VALUE, rbac::RBAC_PERM_COMMAND_DEBUG_MOVEFLAGS, rbac::RBAC_PERM_COMMAND_DEBUG_PLAY, rbac::RBAC_PERM_COMMAND_DEBUG_PLAY_CINEMATIC, rbac::RBAC_PERM_COMMAND_DEBUG_PLAY_MOVIE, rbac::RBAC_PERM_COMMAND_DEBUG_PLAY_SOUND, rbac::RBAC_PERM_COMMAND_DEBUG_REST, rbac::RBAC_PERM_COMMAND_DEBUG_SEND, rbac::RBAC_PERM_COMMAND_DEBUG_SEND_BUYERROR, rbac::RBAC_PERM_COMMAND_DEBUG_SEND_CHANNELNOTIFY, rbac::RBAC_PERM_COMMAND_DEBUG_SEND_CHATMESSAGE, rbac::RBAC_PERM_COMMAND_DEBUG_SEND_EQUIPERROR, rbac::RBAC_PERM_COMMAND_DEBUG_SEND_LARGEPACKET, rbac::RBAC_PERM_COMMAND_DEBUG_SEND_QINVALIDMSG, rbac::RBAC_PERM_COMMAND_DEBUG_SEND_QPARTYMSG, rbac::RBAC_PERM_COMMAND_DEBUG_SEND_SELLERROR, rbac::RBAC_PERM_COMMAND_DEBUG_SEND_SETPHASESHIFT, rbac::RBAC_PERM_COMMAND_DEBUG_SEND_SPELLFAIL, rbac::RBAC_PERM_COMMAND_DEBUG_SETAURASTATE, rbac::RBAC_PERM_COMMAND_DEBUG_SETBIT, rbac::RBAC_PERM_COMMAND_DEBUG_SETITEMVALUE, rbac::RBAC_PERM_COMMAND_DEBUG_SETVALUE, rbac::RBAC_PERM_COMMAND_DEBUG_SETVID, rbac::RBAC_PERM_COMMAND_DEBUG_SPAWNVEHICLE, rbac::RBAC_PERM_COMMAND_DEBUG_THREAT, rbac::RBAC_PERM_COMMAND_DEBUG_TRANSPORT, rbac::RBAC_PERM_COMMAND_DEBUG_UPDATE, rbac::RBAC_PERM_COMMAND_DEBUG_UWS, and rbac::RBAC_PERM_COMMAND_WPGPS.

◆ GetRestTypeName()

char const * debug_commandscript::GetRestTypeName ( RestType restType)
inlinestatic

Definition at line 1411 of file cs_debug.cpp.

References REST_TYPE_IN_CITY, REST_TYPE_IN_TAVERN, and REST_TYPE_NO.

Referenced by HandleDebugRestCommand().

◆ GetSOTABattlegroundForBoatCommand()

◆ HandleBoatStartCommand()

◆ HandleBoatStopCommand()

◆ HandleDebugAnimCommand()

bool debug_commandscript::HandleDebugAnimCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugAreaTriggersCommand()

bool debug_commandscript::HandleDebugAreaTriggersCommand ( ChatHandler * handler,
char const *  )
inlinestatic

◆ HandleDebugArenaCommand()

bool debug_commandscript::HandleDebugArenaCommand ( ChatHandler * ,
char const *  )
inlinestatic

Definition at line 847 of file cs_debug.cpp.

References sBattlegroundMgr.

Referenced by GetCommands().

◆ HandleDebugBattlegroundCommand()

bool debug_commandscript::HandleDebugBattlegroundCommand ( ChatHandler * ,
char const *  )
inlinestatic

Definition at line 841 of file cs_debug.cpp.

References sBattlegroundMgr.

Referenced by GetCommands().

◆ HandleDebugEnterVehicleCommand()

bool debug_commandscript::HandleDebugEnterVehicleCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugGetItemStateCommand()

◆ HandleDebugGetItemValueCommand()

bool debug_commandscript::HandleDebugGetItemValueCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugGetLootRecipientCommand()

bool debug_commandscript::HandleDebugGetLootRecipientCommand ( ChatHandler * handler,
char const *  )
inlinestatic

◆ HandleDebugGetValueCommand()

◆ HandleDebugHostileRefListCommand()

◆ HandleDebugItemExpireCommand()

bool debug_commandscript::HandleDebugItemExpireCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugLfgFlexCommand()

bool debug_commandscript::HandleDebugLfgFlexCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugLfgGroupCommand()

◆ HandleDebugLfgRequirementsCommand()

bool debug_commandscript::HandleDebugLfgRequirementsCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugLoSCommand()

bool debug_commandscript::HandleDebugLoSCommand ( ChatHandler * handler,
char const *  )
inlinestatic

◆ HandleDebugMod32ValueCommand()

bool debug_commandscript::HandleDebugMod32ValueCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugMoveflagsCommand()

◆ HandleDebugPlayCinematicCommand()

bool debug_commandscript::HandleDebugPlayCinematicCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugPlayMovieCommand()

bool debug_commandscript::HandleDebugPlayMovieCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugPlaySoundCommand()

◆ HandleDebugRestCommand()

◆ HandleDebugSendBuyErrorCommand()

bool debug_commandscript::HandleDebugSendBuyErrorCommand ( ChatHandler * handler,
char const * args )
inlinestatic

Definition at line 472 of file cs_debug.cpp.

References WorldSession::GetPlayer(), ChatHandler::GetSession(), and Player::SendBuyFailed().

Referenced by GetCommands().

◆ HandleDebugSendChannelNotifyCommand()

bool debug_commandscript::HandleDebugSendChannelNotifyCommand ( ChatHandler * handler,
char const * args )
inlinestatic

Definition at line 513 of file cs_debug.cpp.

References ChatHandler::GetSession(), WorldSession::SendPacket(), and SMSG_CHANNEL_NOTIFY.

Referenced by GetCommands().

◆ HandleDebugSendChatMsgCommand()

bool debug_commandscript::HandleDebugSendChatMsgCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugSendEquipErrorCommand()

bool debug_commandscript::HandleDebugSendEquipErrorCommand ( ChatHandler * handler,
char const * args )
inlinestatic

Definition at line 452 of file cs_debug.cpp.

References WorldSession::GetPlayer(), ChatHandler::GetSession(), and Player::SendEquipError().

Referenced by GetCommands().

◆ HandleDebugSendLargePacketCommand()

bool debug_commandscript::HandleDebugSendLargePacketCommand ( ChatHandler * handler,
char const *  )
inlinestatic

Definition at line 999 of file cs_debug.cpp.

References ChatHandler::SendSysMessage().

Referenced by GetCommands().

◆ HandleDebugSendQuestInvalidMsgCommand()

bool debug_commandscript::HandleDebugSendQuestInvalidMsgCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugSendQuestPartyMsgCommand()

bool debug_commandscript::HandleDebugSendQuestPartyMsgCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugSendSellErrorCommand()

bool debug_commandscript::HandleDebugSendSellErrorCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugSendSetPhaseShiftCommand()

bool debug_commandscript::HandleDebugSendSetPhaseShiftCommand ( ChatHandler * handler,
char const * args )
inlinestatic

Definition at line 1009 of file cs_debug.cpp.

References ChatHandler::GetSession(), and WorldSession::SendSetPhaseShift().

Referenced by GetCommands().

◆ HandleDebugSendSpellFailCommand()

bool debug_commandscript::HandleDebugSendSpellFailCommand ( ChatHandler * handler,
char const * args )
inlinestatic

Definition at line 419 of file cs_debug.cpp.

References ChatHandler::GetSession(), WorldSession::SendPacket(), and SMSG_CAST_FAILED.

Referenced by GetCommands().

◆ HandleDebugSet32BitCommand()

bool debug_commandscript::HandleDebugSet32BitCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugSetAuraStateCommand()

bool debug_commandscript::HandleDebugSetAuraStateCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugSetItemValueCommand()

bool debug_commandscript::HandleDebugSetItemValueCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugSetValueCommand()

◆ HandleDebugSetVehicleIdCommand()

bool debug_commandscript::HandleDebugSetVehicleIdCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugSpawnVehicleCommand()

◆ HandleDebugThreatListCommand()

bool debug_commandscript::HandleDebugThreatListCommand ( ChatHandler * handler,
char const *  )
inlinestatic

◆ HandleDebugTransportCommand()

bool debug_commandscript::HandleDebugTransportCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleDebugUpdateCommand()

◆ HandleDebugUpdateWorldStateCommand()

bool debug_commandscript::HandleDebugUpdateWorldStateCommand ( ChatHandler * handler,
char const * args )
inlinestatic

◆ HandleWPGPSCommand()

bool debug_commandscript::HandleWPGPSCommand ( ChatHandler * handler,
char const *  )
inlinestatic

◆ RefreshLfgLockInfoForOnlinePlayers()

void debug_commandscript::RefreshLfgLockInfoForOnlinePlayers ( )
inlinestatic

The documentation for this class was generated from the following file: