TrinityCore
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
debug_commandscript Class Reference
+ Inheritance diagram for debug_commandscript:

Classes

class  CreatureCountWorker
 

Public Member Functions

 debug_commandscript ()
 
ChatCommandTable GetCommands () const override
 
virtual std::vector< Trinity::ChatCommands::ChatCommandBuilderGetCommands () const =0
 
- 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 56 of file cs_debug.cpp.

Constructor & Destructor Documentation

◆ debug_commandscript()

debug_commandscript::debug_commandscript ( )
inline

Definition at line 59 of file cs_debug.cpp.

Member Function Documentation

◆ GetCommands()

ChatCommandTable debug_commandscript::GetCommands ( ) const
inlineoverridevirtual

Implements CommandScript.

Definition at line 61 of file cs_debug.cpp.

+ Here is the call graph for this function:

◆ HandleDebugAnimCommand()

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

Definition at line 1102 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugAreaTriggersCommand()

static bool debug_commandscript::HandleDebugAreaTriggersCommand ( ChatHandler handler)
inlinestatic

Definition at line 465 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugArenaCommand()

static bool debug_commandscript::HandleDebugArenaCommand ( ChatHandler )
inlinestatic

Definition at line 796 of file cs_debug.cpp.

+ Here is the caller graph for this function:

◆ HandleDebugBattlegroundCommand()

static bool debug_commandscript::HandleDebugBattlegroundCommand ( ChatHandler )
inlinestatic

Definition at line 790 of file cs_debug.cpp.

+ Here is the caller graph for this function:

◆ HandleDebugBoundaryCommand()

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

Definition at line 1418 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugCombatListCommand()

static bool debug_commandscript::HandleDebugCombatListCommand ( ChatHandler handler)
inlinestatic

Definition at line 962 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugDummyCommand()

static bool debug_commandscript::HandleDebugDummyCommand ( ChatHandler handler)
inlinestatic

Definition at line 1826 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugEnterVehicleCommand()

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

Definition at line 982 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugGetItemStateCommand()

static bool debug_commandscript::HandleDebugGetItemStateCommand ( ChatHandler handler,
std::string  itemState 
)
inlinestatic

Definition at line 524 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugGetItemValueCommand()

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

Definition at line 1056 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugGetLootRecipientCommand()

static bool debug_commandscript::HandleDebugGetLootRecipientCommand ( ChatHandler handler)
inlinestatic

Definition at line 506 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugGetValueCommand()

static bool debug_commandscript::HandleDebugGetValueCommand ( ChatHandler handler,
uint32  index,
bool  isInt 
)
inlinestatic

Definition at line 1178 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugGuidLimitsCommand()

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

Definition at line 1716 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugGuidLimitsMap()

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

Definition at line 1742 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugInstanceSpawns()

static bool debug_commandscript::HandleDebugInstanceSpawns ( ChatHandler handler,
Variant< uint32, EXACT_SEQUENCE("explain")>  optArg 
)
inlinestatic

Definition at line 1570 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugItemExpireCommand()

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

Definition at line 1088 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugLoadCellsCommand()

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

Definition at line 1376 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugLoSCommand()

static bool debug_commandscript::HandleDebugLoSCommand ( ChatHandler handler)
inlinestatic

Definition at line 1112 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugMemoryLeak()

static bool debug_commandscript::HandleDebugMemoryLeak ( ChatHandler handler)
inlinestatic

Definition at line 1690 of file cs_debug.cpp.

+ Here is the caller graph for this function:

◆ HandleDebugMod32ValueCommand()

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

Definition at line 1210 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugMoveflagsCommand()

static bool debug_commandscript::HandleDebugMoveflagsCommand ( ChatHandler handler,
Optional< uint32 moveFlags,
Optional< uint32 moveFlagsExtra 
)
inlinestatic

Display case

Definition at line 1284 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugNearGraveyard()

static bool debug_commandscript::HandleDebugNearGraveyard ( ChatHandler handler,
Optional< EXACT_SEQUENCE("linked")>  linked 
)
inlinestatic

Definition at line 1523 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugObjectCountCommand()

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

Definition at line 1748 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugObjectCountMap()

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

Definition at line 1808 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugOutOfBounds()

static bool debug_commandscript::HandleDebugOutOfBounds ( ChatHandler handler)
inlinestatic

Definition at line 1679 of file cs_debug.cpp.

+ Here is the caller graph for this function:

◆ HandleDebugPlayCinematicCommand()

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

Definition at line 134 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugPlayMovieCommand()

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

Definition at line 162 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugPlayMusicCommand()

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

Definition at line 205 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugPlaySoundCommand()

static bool debug_commandscript::HandleDebugPlaySoundCommand ( ChatHandler handler,
uint32  soundId 
)
inlinestatic

Definition at line 176 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugQuestResetCommand()

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

Definition at line 1487 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugRaidResetCommand()

static bool debug_commandscript::HandleDebugRaidResetCommand ( ChatHandler handler,
uint32  mapId,
Optional< uint8 difficulty 
)
inlinestatic

Definition at line 1438 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSendBuyErrorCommand()

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

Definition at line 249 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSendChannelNotifyCommand()

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

Definition at line 481 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSendChatMsgCommand()

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

Definition at line 492 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSendEquipErrorCommand()

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

Definition at line 237 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSendLargePacketCommand()

static bool debug_commandscript::HandleDebugSendLargePacketCommand ( ChatHandler handler)
inlinestatic

Definition at line 1041 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSendOpcodeCommand()

static bool debug_commandscript::HandleDebugSendOpcodeCommand ( ChatHandler handler)
inlinestatic

Definition at line 255 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSendQuestInvalidMsgCommand()

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

Definition at line 518 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSendQuestPartyMsgCommand()

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

Definition at line 500 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSendSellErrorCommand()

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

Definition at line 243 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSendSetPhaseShiftCommand()

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

Definition at line 1050 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSendSpellFailCommand()

static bool debug_commandscript::HandleDebugSendSpellFailCommand ( ChatHandler handler,
SpellCastResult  result,
Optional< uint32 failArg1,
Optional< uint32 failArg2 
)
inlinestatic

Definition at line 222 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSet32BitCommand()

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

Definition at line 1264 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSetAuraStateCommand()

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

Definition at line 1126 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSetItemValueCommand()

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

Definition at line 1073 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSetValueCommand()

static bool debug_commandscript::HandleDebugSetValueCommand ( ChatHandler handler,
uint32  index,
Variant< uint32, float >  value 
)
inlinestatic

Definition at line 1148 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugSpawnVehicleCommand()

static bool debug_commandscript::HandleDebugSpawnVehicleCommand ( ChatHandler handler,
uint32  entry,
Optional< uint32 id 
)
inlinestatic

Definition at line 1008 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugThreatInfoCommand()

static bool debug_commandscript::HandleDebugThreatInfoCommand ( ChatHandler handler)
inlinestatic

Definition at line 887 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugThreatListCommand()

static bool debug_commandscript::HandleDebugThreatListCommand ( ChatHandler handler)
inlinestatic

Definition at line 802 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugTransportCommand()

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

Definition at line 1350 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugUpdateCommand()

static bool debug_commandscript::HandleDebugUpdateCommand ( ChatHandler handler,
uint32  index,
Optional< uint32 value 
)
inlinestatic

Definition at line 1228 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugUpdateWorldStateCommand()

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

Definition at line 459 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDebugWardenForce()

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

Definition at line 1699 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleWPGPSCommand()

static bool debug_commandscript::HandleWPGPSCommand ( ChatHandler handler)
inlinestatic

Definition at line 1340 of file cs_debug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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