TrinityCore
Loading...
Searching...
No Matches
debug_commandscript Class Reference
+ Inheritance diagram for debug_commandscript:

Classes

class  CreatureCountWorker
 

Public Member Functions

 debug_commandscript ()
 
ChatCommandTable GetCommands () const override
 
- Public Member Functions inherited from ScriptObject
std::string const & GetName () const
 

Static Public Member Functions

static bool HandleDebugPlayCinematicCommand (ChatHandler *handler, uint32 cinematicId)
 
static bool HandleDebugPlayMovieCommand (ChatHandler *handler, uint32 movieId)
 
static bool HandleDebugPlaySoundCommand (ChatHandler *handler, uint32 soundId)
 
static bool HandleDebugPlayMusicCommand (ChatHandler *handler, uint32 musicId)
 
static bool HandleDebugSendSpellFailCommand (ChatHandler *handler, SpellCastResult result, Optional< uint32 > failArg1, Optional< uint32 > failArg2)
 
static bool HandleDebugSendEquipErrorCommand (ChatHandler *handler, InventoryResult error)
 
static bool HandleDebugSendSellErrorCommand (ChatHandler *handler, SellResult error)
 
static bool HandleDebugSendBuyErrorCommand (ChatHandler *handler, BuyResult error)
 
static bool HandleDebugSendOpcodeCommand (ChatHandler *handler)
 
static bool HandleDebugUpdateWorldStateCommand (ChatHandler *handler, uint32 variable, uint32 value)
 
static bool HandleDebugAreaTriggersCommand (ChatHandler *handler)
 
static bool HandleDebugSendChannelNotifyCommand (ChatHandler *handler, ChatNotify type)
 
static bool HandleDebugSendChatMsgCommand (ChatHandler *handler, ChatMsg type)
 
static bool HandleDebugSendQuestPartyMsgCommand (ChatHandler *handler, QuestShareMessages msg)
 
static bool HandleDebugGetLootRecipientCommand (ChatHandler *handler)
 
static bool HandleDebugSendQuestInvalidMsgCommand (ChatHandler *handler, QuestFailedReason msg)
 
static bool HandleDebugGetItemStateCommand (ChatHandler *handler, std::string itemState)
 
static bool HandleDebugBattlegroundCommand (ChatHandler *)
 
static bool HandleDebugArenaCommand (ChatHandler *)
 
static bool HandleDebugThreatListCommand (ChatHandler *handler)
 
static bool HandleDebugThreatInfoCommand (ChatHandler *handler)
 
static bool HandleDebugCombatListCommand (ChatHandler *handler)
 
static bool HandleDebugEnterVehicleCommand (ChatHandler *handler, uint32 entry, Optional< int8 > seatId)
 
static bool HandleDebugSpawnVehicleCommand (ChatHandler *handler, uint32 entry, Optional< uint32 > id)
 
static bool HandleDebugSendLargePacketCommand (ChatHandler *handler)
 
static bool HandleDebugSendSetPhaseShiftCommand (ChatHandler *handler, uint32 phaseShift)
 
static bool HandleDebugGetItemValueCommand (ChatHandler *handler, ObjectGuid::LowType guid, uint32 index)
 
static bool HandleDebugSetItemValueCommand (ChatHandler *handler, ObjectGuid::LowType guid, uint32 index, uint32 value)
 
static bool HandleDebugItemExpireCommand (ChatHandler *handler, ObjectGuid::LowType guid)
 
static bool HandleDebugAnimCommand (ChatHandler *handler, Emote emote)
 
static bool HandleDebugLoSCommand (ChatHandler *handler)
 
static bool HandleDebugSetAuraStateCommand (ChatHandler *handler, Optional< AuraStateType > state, bool apply)
 
static bool HandleDebugSetValueCommand (ChatHandler *handler, uint32 index, Variant< uint32, float > value)
 
static bool HandleDebugGetValueCommand (ChatHandler *handler, uint32 index, bool isInt)
 
static bool HandleDebugMod32ValueCommand (ChatHandler *handler, uint32 index, uint32 value)
 
static bool HandleDebugUpdateCommand (ChatHandler *handler, uint32 index, Optional< uint32 > value)
 
static bool HandleDebugSet32BitCommand (ChatHandler *handler, uint32 index, uint8 bit)
 
static bool HandleDebugMoveflagsCommand (ChatHandler *handler, Optional< uint32 > moveFlags, Optional< uint32 > moveFlagsExtra)
 
static bool HandleWPGPSCommand (ChatHandler *handler)
 
static bool HandleDebugTransportCommand (ChatHandler *handler, std::string operation)
 
static bool HandleDebugLoadCellsCommand (ChatHandler *handler, Optional< uint32 > mapId, Optional< uint32 > tileX, Optional< uint32 > tileY)
 
static bool HandleDebugBoundaryCommand (ChatHandler *handler, Optional< EXACT_SEQUENCE("fill")> fill, Optional< uint32 > durationArg)
 
static bool HandleDebugRaidResetCommand (ChatHandler *handler, uint32 mapId, Optional< uint8 > difficulty)
 
static bool HandleDebugQuestResetCommand (ChatHandler *handler, std::string arg)
 
static bool HandleDebugNearGraveyard (ChatHandler *handler, Optional< EXACT_SEQUENCE("linked")> linked)
 
static bool HandleDebugInstanceSpawns (ChatHandler *handler, Variant< uint32, EXACT_SEQUENCE("explain")> optArg)
 
static bool HandleDebugOutOfBounds (ChatHandler *handler)
 
static bool HandleDebugMemoryLeak (ChatHandler *handler)
 
static bool HandleDebugWardenForce (ChatHandler *handler, std::vector< uint16 > checkIds)
 
static bool HandleDebugGuidLimitsCommand (ChatHandler *handler, Optional< uint32 > mapId)
 
static void HandleDebugGuidLimitsMap (ChatHandler *handler, Map *map)
 
static bool HandleDebugObjectCountCommand (ChatHandler *handler, Optional< uint32 > mapId)
 
static void HandleDebugObjectCountMap (ChatHandler *handler, Map *map)
 
static bool HandleDebugDummyCommand (ChatHandler *handler)
 

Additional Inherited Members

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

Detailed Description

Definition at line 59 of file cs_debug.cpp.

Constructor & Destructor Documentation

◆ debug_commandscript()

debug_commandscript::debug_commandscript ( )
inline

Definition at line 62 of file cs_debug.cpp.

Member Function Documentation

◆ GetCommands()

ChatCommandTable debug_commandscript::GetCommands ( ) const
inlineoverridevirtual

Implements CommandScript.

Definition at line 64 of file cs_debug.cpp.

References HandleDebugAnimCommand(), HandleDebugAreaTriggersCommand(), HandleDebugArenaCommand(), HandleDebugBattlegroundCommand(), HandleDebugBoundaryCommand(), HandleDebugCombatListCommand(), HandleDebugDummyCommand(), HandleDebugEnterVehicleCommand(), HandleDebugGetItemStateCommand(), HandleDebugGetItemValueCommand(), HandleDebugGetLootRecipientCommand(), HandleDebugGetValueCommand(), HandleDebugGuidLimitsCommand(), HandleDebugInstanceSpawns(), HandleDebugItemExpireCommand(), HandleDebugLoadCellsCommand(), HandleDebugLoSCommand(), HandleDebugMemoryLeak(), HandleDebugMod32ValueCommand(), HandleDebugMoveflagsCommand(), HandleDebugNearGraveyard(), HandleDebugObjectCountCommand(), HandleDebugOutOfBounds(), HandleDebugPlayCinematicCommand(), HandleDebugPlayMovieCommand(), HandleDebugPlayMusicCommand(), HandleDebugPlaySoundCommand(), HandleDebugQuestResetCommand(), HandleDebugRaidResetCommand(), HandleDebugSendBuyErrorCommand(), HandleDebugSendChannelNotifyCommand(), HandleDebugSendChatMsgCommand(), HandleDebugSendEquipErrorCommand(), HandleDebugSendLargePacketCommand(), HandleDebugSendOpcodeCommand(), HandleDebugSendQuestInvalidMsgCommand(), HandleDebugSendQuestPartyMsgCommand(), HandleDebugSendSellErrorCommand(), HandleDebugSendSetPhaseShiftCommand(), HandleDebugSendSpellFailCommand(), HandleDebugSet32BitCommand(), HandleDebugSetAuraStateCommand(), HandleDebugSetItemValueCommand(), HandleDebugSetValueCommand(), HandleDebugSpawnVehicleCommand(), HandleDebugThreatInfoCommand(), HandleDebugThreatListCommand(), HandleDebugTransportCommand(), HandleDebugUpdateCommand(), HandleDebugUpdateWorldStateCommand(), HandleDebugWardenForce(), HandleWPGPSCommand(), and rbac::RBAC_PERM_COMMAND_DEBUG.

◆ HandleDebugAnimCommand()

static bool debug_commandscript::HandleDebugAnimCommand ( ChatHandler *  handler,
Emote  emote 
)
inlinestatic

◆ HandleDebugAreaTriggersCommand()

static bool debug_commandscript::HandleDebugAreaTriggersCommand ( ChatHandler *  handler)
inlinestatic

◆ HandleDebugArenaCommand()

static bool debug_commandscript::HandleDebugArenaCommand ( ChatHandler *  )
inlinestatic

Definition at line 796 of file cs_debug.cpp.

References sBattlegroundMgr.

Referenced by GetCommands().

◆ HandleDebugBattlegroundCommand()

static bool debug_commandscript::HandleDebugBattlegroundCommand ( ChatHandler *  )
inlinestatic

Definition at line 790 of file cs_debug.cpp.

References sBattlegroundMgr.

Referenced by GetCommands().

◆ HandleDebugBoundaryCommand()

static bool debug_commandscript::HandleDebugBoundaryCommand ( ChatHandler *  handler,
Optional< EXACT_SEQUENCE("fill")>  fill,
Optional< uint32 >  durationArg 
)
inlinestatic

◆ HandleDebugCombatListCommand()

◆ HandleDebugDummyCommand()

static bool debug_commandscript::HandleDebugDummyCommand ( ChatHandler *  handler)
inlinestatic

Definition at line 1832 of file cs_debug.cpp.

References ChatHandler::SendSysMessage().

Referenced by GetCommands().

◆ HandleDebugEnterVehicleCommand()

static bool debug_commandscript::HandleDebugEnterVehicleCommand ( ChatHandler *  handler,
uint32  entry,
Optional< int8 >  seatId 
)
inlinestatic

◆ HandleDebugGetItemStateCommand()

◆ HandleDebugGetItemValueCommand()

static bool debug_commandscript::HandleDebugGetItemValueCommand ( ChatHandler *  handler,
ObjectGuid::LowType  guid,
uint32  index 
)
inlinestatic

◆ HandleDebugGetLootRecipientCommand()

static bool debug_commandscript::HandleDebugGetLootRecipientCommand ( ChatHandler *  handler)
inlinestatic

◆ HandleDebugGetValueCommand()

◆ HandleDebugGuidLimitsCommand()

static bool debug_commandscript::HandleDebugGuidLimitsCommand ( ChatHandler *  handler,
Optional< uint32 >  mapId 
)
inlinestatic

◆ HandleDebugGuidLimitsMap()

static void debug_commandscript::HandleDebugGuidLimitsMap ( ChatHandler *  handler,
Map *  map 
)
inlinestatic

◆ HandleDebugInstanceSpawns()

◆ HandleDebugItemExpireCommand()

static bool debug_commandscript::HandleDebugItemExpireCommand ( ChatHandler *  handler,
ObjectGuid::LowType  guid 
)
inlinestatic

◆ HandleDebugLoadCellsCommand()

static bool debug_commandscript::HandleDebugLoadCellsCommand ( ChatHandler *  handler,
Optional< uint32 >  mapId,
Optional< uint32 >  tileX,
Optional< uint32 >  tileY 
)
inlinestatic

◆ HandleDebugLoSCommand()

static bool debug_commandscript::HandleDebugLoSCommand ( ChatHandler *  handler)
inlinestatic

◆ HandleDebugMemoryLeak()

static bool debug_commandscript::HandleDebugMemoryLeak ( ChatHandler *  handler)
inlinestatic

Definition at line 1696 of file cs_debug.cpp.

Referenced by GetCommands().

◆ HandleDebugMod32ValueCommand()

static bool debug_commandscript::HandleDebugMod32ValueCommand ( ChatHandler *  handler,
uint32  index,
uint32  value 
)
inlinestatic

◆ HandleDebugMoveflagsCommand()

◆ HandleDebugNearGraveyard()

◆ HandleDebugObjectCountCommand()

static bool debug_commandscript::HandleDebugObjectCountCommand ( ChatHandler *  handler,
Optional< uint32 >  mapId 
)
inlinestatic

Definition at line 1754 of file cs_debug.cpp.

References HandleDebugObjectCountMap(), and sMapMgr.

Referenced by GetCommands().

◆ HandleDebugObjectCountMap()

◆ HandleDebugOutOfBounds()

static bool debug_commandscript::HandleDebugOutOfBounds ( ChatHandler *  handler)
inlinestatic

Definition at line 1685 of file cs_debug.cpp.

Referenced by GetCommands().

◆ HandleDebugPlayCinematicCommand()

static bool debug_commandscript::HandleDebugPlayCinematicCommand ( ChatHandler *  handler,
uint32  cinematicId 
)
inlinestatic

◆ HandleDebugPlayMovieCommand()

static bool debug_commandscript::HandleDebugPlayMovieCommand ( ChatHandler *  handler,
uint32  movieId 
)
inlinestatic

◆ HandleDebugPlayMusicCommand()

static bool debug_commandscript::HandleDebugPlayMusicCommand ( ChatHandler *  handler,
uint32  musicId 
)
inlinestatic

◆ HandleDebugPlaySoundCommand()

◆ HandleDebugQuestResetCommand()

static bool debug_commandscript::HandleDebugQuestResetCommand ( ChatHandler *  handler,
std::string  arg 
)
inlinestatic

◆ HandleDebugRaidResetCommand()

◆ HandleDebugSendBuyErrorCommand()

static bool debug_commandscript::HandleDebugSendBuyErrorCommand ( ChatHandler *  handler,
BuyResult  error 
)
inlinestatic

Definition at line 249 of file cs_debug.cpp.

References ChatHandler::GetPlayer(), and Player::SendBuyError().

Referenced by GetCommands().

◆ HandleDebugSendChannelNotifyCommand()

static bool debug_commandscript::HandleDebugSendChannelNotifyCommand ( ChatHandler *  handler,
ChatNotify  type 
)
inlinestatic

Definition at line 481 of file cs_debug.cpp.

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

Referenced by GetCommands().

◆ HandleDebugSendChatMsgCommand()

static bool debug_commandscript::HandleDebugSendChatMsgCommand ( ChatHandler *  handler,
ChatMsg  type 
)
inlinestatic

◆ HandleDebugSendEquipErrorCommand()

static bool debug_commandscript::HandleDebugSendEquipErrorCommand ( ChatHandler *  handler,
InventoryResult  error 
)
inlinestatic

Definition at line 237 of file cs_debug.cpp.

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

Referenced by GetCommands().

◆ HandleDebugSendLargePacketCommand()

static bool debug_commandscript::HandleDebugSendLargePacketCommand ( ChatHandler *  handler)
inlinestatic

Definition at line 1041 of file cs_debug.cpp.

References ChatHandler::SendSysMessage().

Referenced by GetCommands().

◆ HandleDebugSendOpcodeCommand()

◆ HandleDebugSendQuestInvalidMsgCommand()

static bool debug_commandscript::HandleDebugSendQuestInvalidMsgCommand ( ChatHandler *  handler,
QuestFailedReason  msg 
)
inlinestatic

Definition at line 518 of file cs_debug.cpp.

References ChatHandler::GetPlayer(), and Player::SendCanTakeQuestResponse().

Referenced by GetCommands().

◆ HandleDebugSendQuestPartyMsgCommand()

static bool debug_commandscript::HandleDebugSendQuestPartyMsgCommand ( ChatHandler *  handler,
QuestShareMessages  msg 
)
inlinestatic

Definition at line 500 of file cs_debug.cpp.

References ChatHandler::GetPlayer(), and Player::SendPushToPartyResponse().

Referenced by GetCommands().

◆ HandleDebugSendSellErrorCommand()

static bool debug_commandscript::HandleDebugSendSellErrorCommand ( ChatHandler *  handler,
SellResult  error 
)
inlinestatic

Definition at line 243 of file cs_debug.cpp.

References ObjectGuid::Empty, ChatHandler::GetPlayer(), and Player::SendSellError().

Referenced by GetCommands().

◆ HandleDebugSendSetPhaseShiftCommand()

static bool debug_commandscript::HandleDebugSendSetPhaseShiftCommand ( ChatHandler *  handler,
uint32  phaseShift 
)
inlinestatic

Definition at line 1050 of file cs_debug.cpp.

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

Referenced by GetCommands().

◆ HandleDebugSendSpellFailCommand()

◆ HandleDebugSet32BitCommand()

static bool debug_commandscript::HandleDebugSet32BitCommand ( ChatHandler *  handler,
uint32  index,
uint8  bit 
)
inlinestatic

◆ HandleDebugSetAuraStateCommand()

static bool debug_commandscript::HandleDebugSetAuraStateCommand ( ChatHandler *  handler,
Optional< AuraStateType >  state,
bool  apply 
)
inlinestatic

◆ HandleDebugSetItemValueCommand()

static bool debug_commandscript::HandleDebugSetItemValueCommand ( ChatHandler *  handler,
ObjectGuid::LowType  guid,
uint32  index,
uint32  value 
)
inlinestatic

◆ HandleDebugSetValueCommand()

◆ HandleDebugSpawnVehicleCommand()

◆ HandleDebugThreatInfoCommand()

◆ HandleDebugThreatListCommand()

◆ HandleDebugTransportCommand()

static bool debug_commandscript::HandleDebugTransportCommand ( ChatHandler *  handler,
std::string  operation 
)
inlinestatic

◆ HandleDebugUpdateCommand()

◆ HandleDebugUpdateWorldStateCommand()

static bool debug_commandscript::HandleDebugUpdateWorldStateCommand ( ChatHandler *  handler,
uint32  variable,
uint32  value 
)
inlinestatic

Definition at line 459 of file cs_debug.cpp.

References ChatHandler::GetPlayer(), and Player::SendUpdateWorldState().

Referenced by GetCommands().

◆ HandleDebugWardenForce()

static bool debug_commandscript::HandleDebugWardenForce ( ChatHandler *  handler,
std::vector< uint16 >  checkIds 
)
inlinestatic

◆ HandleWPGPSCommand()

static bool debug_commandscript::HandleWPGPSCommand ( ChatHandler *  handler)
inlinestatic

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