TrinityCore
misc_commandscript Class Reference
+ Inheritance diagram for misc_commandscript:

Public Member Functions

 misc_commandscript ()
 
ChatCommandTable GetCommands () const override
 
- Public Member Functions inherited from CommandScript
 ~CommandScript ()
 
virtual std::vector< Trinity::ChatCommands::ChatCommandBuilderGetCommands () const =0
 
- Public Member Functions inherited from ScriptObject
 ScriptObject (ScriptObject const &right)=delete
 
 ScriptObject (ScriptObject &&right)=delete
 
ScriptObjectoperator= (ScriptObject const &right)=delete
 
ScriptObjectoperator= (ScriptObject &&right)=delete
 
std::string const & GetName () const
 

Static Public Member Functions

static bool HandlePvPstatsCommand (ChatHandler *handler)
 
static bool HandleDevCommand (ChatHandler *handler, Optional< bool > enableArg)
 
static bool HandleGPSCommand (ChatHandler *handler, char const *args)
 
static bool HandleAuraCommand (ChatHandler *handler, SpellInfo const *spell)
 
static bool HandleUnAuraCommand (ChatHandler *handler, Variant< SpellInfo const *, EXACT_SEQUENCE("all")> spellArg)
 
static bool HandleAppearCommand (ChatHandler *handler, char const *args)
 
static bool HandleSummonCommand (ChatHandler *handler, char const *args)
 
static bool HandleCommandsCommand (ChatHandler *handler)
 
static bool HandleDieCommand (ChatHandler *handler)
 
static bool HandleReviveCommand (ChatHandler *handler, char const *args)
 
static bool HandleDismountCommand (ChatHandler *handler)
 
static bool HandleGUIDCommand (ChatHandler *handler)
 
static bool HandleHelpCommand (ChatHandler *handler, Tail cmd)
 
static bool HandleItemMoveCommand (ChatHandler *handler, uint8 srcSlot, uint8 dstSlot)
 
static bool HandleCooldownCommand (ChatHandler *handler, Optional< SpellInfo const * > spellArg)
 
static bool HandleGetDistanceCommand (ChatHandler *handler, char const *args)
 
static bool HandleRecallCommand (ChatHandler *handler, char const *args)
 
static bool HandleSaveCommand (ChatHandler *handler)
 
static bool HandleSaveAllCommand (ChatHandler *handler)
 
static bool HandleKickPlayerCommand (ChatHandler *handler, char const *args)
 
static bool HandleUnstuckCommand (ChatHandler *handler, char const *args)
 
static bool HandleLinkGraveCommand (ChatHandler *handler, uint32 graveyardId, Optional< std::string > teamArg)
 
static bool HandleNearGraveCommand (ChatHandler *handler, Optional< std::string > teamArg)
 
static bool HandleShowAreaCommand (ChatHandler *handler, uint32 areaId)
 
static bool HandleHideAreaCommand (ChatHandler *handler, uint32 areaId)
 
static bool HandleAddItemCommand (ChatHandler *handler, char const *args)
 
static bool HandleAddItemToCommand (ChatHandler *handler, char const *args)
 
static bool HandleAddItemSetCommand (ChatHandler *handler, Variant< Hyperlink< itemset >, uint32 > itemSetId, Optional< std::string_view > bonuses, Optional< uint8 > context)
 
static bool HandleBankCommand (ChatHandler *handler)
 
static bool HandleChangeWeather (ChatHandler *handler, WeatherType type, float intensity)
 
static bool HandleSetSkillCommand (ChatHandler *handler, Variant< Hyperlink< skill >, uint32 > skillId, uint32 level, Optional< uint32 > maxSkillArg)
 
Player command: .pinfo

Prints information about a character and it's linked account to the commander

Date
05/19/2013

Non-applying information, e.g. a character that is not in gm mode right now or that is not banned/muted, is not printed

This can be done either by giving a name or by targeting someone, else, it'll use the commander

Parameters
argsname Prints information according to the given name to the commander target Prints information on the target to the commander none No given args results in printing information on the commander
Returns
Several pieces of information about the character and the account
static bool HandlePInfoCommand (ChatHandler *handler, Optional< PlayerIdentifier > arg)
 
static bool HandleRespawnCommand (ChatHandler *handler)
 
static bool HandleMuteCommand (ChatHandler *handler, Optional< PlayerIdentifier > player, uint32 muteTime, Tail muteReason)
 
static bool HandleUnmuteCommand (ChatHandler *handler, char const *args)
 
static bool HandleMuteHistoryCommand (ChatHandler *handler, std::string accountName)
 
static bool HandleMuteHistoryHelper (uint32 accountId, char const *accountName, ChatHandler *handler)
 
static bool HandleMovegensCommand (ChatHandler *handler)
 
static bool HandleComeToMeCommand (ChatHandler *handler)
 
static bool HandleDamageCommand (ChatHandler *handler, uint32 damage, Optional< SpellSchools > school, Optional< SpellInfo const * > spellInfo)
 
static bool HandleDamageGoCommand (ChatHandler *handler, Variant< Hyperlink< gameobject >, ObjectGuid::LowType > spawnId, int32 damage)
 
static bool HandleCombatStopCommand (ChatHandler *handler, char const *args)
 
static bool HandleRepairitemsCommand (ChatHandler *handler, char const *args)
 
static bool HandleFreezeCommand (ChatHandler *handler, char const *args)
 
static bool HandleUnFreezeCommand (ChatHandler *handler, Optional< std::string > targetNameArg)
 
static bool HandleListFreezeCommand (ChatHandler *handler)
 
static bool HandlePlayAllCommand (ChatHandler *handler, uint32 soundId, Optional< int32 > broadcastTextId)
 
static bool HandlePossessCommand (ChatHandler *handler)
 
static bool HandleUnPossessCommand (ChatHandler *handler)
 
static bool HandleBindSightCommand (ChatHandler *handler)
 
static bool HandleUnbindSightCommand (ChatHandler *handler)
 
static bool HandleMailBoxCommand (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 64 of file cs_misc.cpp.

Constructor & Destructor Documentation

◆ misc_commandscript()

misc_commandscript::misc_commandscript ( )
inline

Definition at line 67 of file cs_misc.cpp.

Member Function Documentation

◆ GetCommands()

ChatCommandTable misc_commandscript::GetCommands ( ) const
inlineoverridevirtual

Implements CommandScript.

Definition at line 69 of file cs_misc.cpp.

+ Here is the call graph for this function:

◆ HandleAddItemCommand()

static bool misc_commandscript::HandleAddItemCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 1156 of file cs_misc.cpp.

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

◆ HandleAddItemSetCommand()

static bool misc_commandscript::HandleAddItemSetCommand ( ChatHandler handler,
Variant< Hyperlink< itemset >, uint32 itemSetId,
Optional< std::string_view >  bonuses,
Optional< uint8 context 
)
inlinestatic

Definition at line 1470 of file cs_misc.cpp.

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

◆ HandleAddItemToCommand()

static bool misc_commandscript::HandleAddItemToCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 1310 of file cs_misc.cpp.

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

◆ HandleAppearCommand()

static bool misc_commandscript::HandleAppearCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 352 of file cs_misc.cpp.

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

◆ HandleAuraCommand()

static bool misc_commandscript::HandleAuraCommand ( ChatHandler handler,
SpellInfo const *  spell 
)
inlinestatic

Definition at line 304 of file cs_misc.cpp.

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

◆ HandleBankCommand()

static bool misc_commandscript::HandleBankCommand ( ChatHandler handler)
inlinestatic

Definition at line 1546 of file cs_misc.cpp.

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

◆ HandleBindSightCommand()

static bool misc_commandscript::HandleBindSightCommand ( ChatHandler handler)
inlinestatic

Definition at line 2671 of file cs_misc.cpp.

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

◆ HandleChangeWeather()

static bool misc_commandscript::HandleChangeWeather ( ChatHandler handler,
WeatherType  type,
float  intensity 
)
inlinestatic

Definition at line 1552 of file cs_misc.cpp.

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

◆ HandleCombatStopCommand()

static bool misc_commandscript::HandleCombatStopCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 2395 of file cs_misc.cpp.

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

◆ HandleComeToMeCommand()

static bool misc_commandscript::HandleComeToMeCommand ( ChatHandler handler)
inlinestatic

Definition at line 2294 of file cs_misc.cpp.

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

◆ HandleCommandsCommand()

static bool misc_commandscript::HandleCommandsCommand ( ChatHandler handler)
inlinestatic

Definition at line 595 of file cs_misc.cpp.

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

◆ HandleCooldownCommand()

static bool misc_commandscript::HandleCooldownCommand ( ChatHandler handler,
Optional< SpellInfo const * >  spellArg 
)
inlinestatic

Definition at line 716 of file cs_misc.cpp.

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

◆ HandleDamageCommand()

static bool misc_commandscript::HandleDamageCommand ( ChatHandler handler,
uint32  damage,
Optional< SpellSchools school,
Optional< SpellInfo const * >  spellInfo 
)
inlinestatic

Definition at line 2311 of file cs_misc.cpp.

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

◆ HandleDamageGoCommand()

static bool misc_commandscript::HandleDamageGoCommand ( ChatHandler handler,
Variant< Hyperlink< gameobject >, ObjectGuid::LowType spawnId,
int32  damage 
)
inlinestatic

Definition at line 2373 of file cs_misc.cpp.

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

◆ HandleDevCommand()

static bool misc_commandscript::HandleDevCommand ( ChatHandler handler,
Optional< bool >  enableArg 
)
inlinestatic

Definition at line 157 of file cs_misc.cpp.

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

◆ HandleDieCommand()

static bool misc_commandscript::HandleDieCommand ( ChatHandler handler)
inlinestatic

Definition at line 601 of file cs_misc.cpp.

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

◆ HandleDismountCommand()

static bool misc_commandscript::HandleDismountCommand ( ChatHandler handler)
inlinestatic

Definition at line 649 of file cs_misc.cpp.

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

◆ HandleFreezeCommand()

static bool misc_commandscript::HandleFreezeCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 2444 of file cs_misc.cpp.

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

◆ HandleGetDistanceCommand()

static bool misc_commandscript::HandleGetDistanceCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 757 of file cs_misc.cpp.

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

◆ HandleGPSCommand()

static bool misc_commandscript::HandleGPSCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 181 of file cs_misc.cpp.

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

◆ HandleGUIDCommand()

static bool misc_commandscript::HandleGUIDCommand ( ChatHandler handler)
inlinestatic

Definition at line 673 of file cs_misc.cpp.

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

◆ HandleHelpCommand()

static bool misc_commandscript::HandleHelpCommand ( ChatHandler handler,
Tail  cmd 
)
inlinestatic

Definition at line 688 of file cs_misc.cpp.

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

◆ HandleHideAreaCommand()

static bool misc_commandscript::HandleHideAreaCommand ( ChatHandler handler,
uint32  areaId 
)
inlinestatic

Definition at line 1123 of file cs_misc.cpp.

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

◆ HandleItemMoveCommand()

static bool misc_commandscript::HandleItemMoveCommand ( ChatHandler handler,
uint8  srcSlot,
uint8  dstSlot 
)
inlinestatic

Definition at line 697 of file cs_misc.cpp.

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

◆ HandleKickPlayerCommand()

static bool misc_commandscript::HandleKickPlayerCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 875 of file cs_misc.cpp.

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

◆ HandleLinkGraveCommand()

static bool misc_commandscript::HandleLinkGraveCommand ( ChatHandler handler,
uint32  graveyardId,
Optional< std::string >  teamArg 
)
inlinestatic

Definition at line 990 of file cs_misc.cpp.

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

◆ HandleListFreezeCommand()

static bool misc_commandscript::HandleListFreezeCommand ( ChatHandler handler)
inlinestatic

Definition at line 2599 of file cs_misc.cpp.

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

◆ HandleMailBoxCommand()

static bool misc_commandscript::HandleMailBoxCommand ( ChatHandler handler)
inlinestatic

Definition at line 2692 of file cs_misc.cpp.

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

◆ HandleMovegensCommand()

static bool misc_commandscript::HandleMovegensCommand ( ChatHandler handler)
inlinestatic

Definition at line 2211 of file cs_misc.cpp.

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

◆ HandleMuteCommand()

static bool misc_commandscript::HandleMuteCommand ( ChatHandler handler,
Optional< PlayerIdentifier player,
uint32  muteTime,
Tail  muteReason 
)
inlinestatic

Definition at line 2036 of file cs_misc.cpp.

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

◆ HandleMuteHistoryCommand()

static bool misc_commandscript::HandleMuteHistoryCommand ( ChatHandler handler,
std::string  accountName 
)
inlinestatic

Definition at line 2160 of file cs_misc.cpp.

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

◆ HandleMuteHistoryHelper()

static bool misc_commandscript::HandleMuteHistoryHelper ( uint32  accountId,
char const *  accountName,
ChatHandler handler 
)
inlinestatic

Definition at line 2180 of file cs_misc.cpp.

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

◆ HandleNearGraveCommand()

static bool misc_commandscript::HandleNearGraveCommand ( ChatHandler handler,
Optional< std::string >  teamArg 
)
inlinestatic

Definition at line 1032 of file cs_misc.cpp.

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

◆ HandlePInfoCommand()

static bool misc_commandscript::HandlePInfoCommand ( ChatHandler handler,
Optional< PlayerIdentifier arg 
)
inlinestatic

Definition at line 1630 of file cs_misc.cpp.

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

◆ HandlePlayAllCommand()

static bool misc_commandscript::HandlePlayAllCommand ( ChatHandler handler,
uint32  soundId,
Optional< int32 broadcastTextId 
)
inlinestatic

Definition at line 2635 of file cs_misc.cpp.

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

◆ HandlePossessCommand()

static bool misc_commandscript::HandlePossessCommand ( ChatHandler handler)
inlinestatic

Definition at line 2650 of file cs_misc.cpp.

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

◆ HandlePvPstatsCommand()

static bool misc_commandscript::HandlePvPstatsCommand ( ChatHandler handler)
inlinestatic

Definition at line 128 of file cs_misc.cpp.

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

◆ HandleRecallCommand()

static bool misc_commandscript::HandleRecallCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 820 of file cs_misc.cpp.

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

◆ HandleRepairitemsCommand()

static bool misc_commandscript::HandleRepairitemsCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 2424 of file cs_misc.cpp.

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

◆ HandleRespawnCommand()

static bool misc_commandscript::HandleRespawnCommand ( ChatHandler handler)
inlinestatic

Definition at line 1996 of file cs_misc.cpp.

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

◆ HandleReviveCommand()

static bool misc_commandscript::HandleReviveCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 627 of file cs_misc.cpp.

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

◆ HandleSaveAllCommand()

static bool misc_commandscript::HandleSaveAllCommand ( ChatHandler handler)
inlinestatic

Definition at line 867 of file cs_misc.cpp.

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

◆ HandleSaveCommand()

static bool misc_commandscript::HandleSaveCommand ( ChatHandler handler)
inlinestatic

Definition at line 843 of file cs_misc.cpp.

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

◆ HandleSetSkillCommand()

static bool misc_commandscript::HandleSetSkillCommand ( ChatHandler handler,
Variant< Hyperlink< skill >, uint32 skillId,
uint32  level,
Optional< uint32 maxSkillArg 
)
inlinestatic

Definition at line 1578 of file cs_misc.cpp.

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

◆ HandleShowAreaCommand()

static bool misc_commandscript::HandleShowAreaCommand ( ChatHandler handler,
uint32  areaId 
)
inlinestatic

Definition at line 1090 of file cs_misc.cpp.

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

◆ HandleSummonCommand()

static bool misc_commandscript::HandleSummonCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 478 of file cs_misc.cpp.

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

◆ HandleUnAuraCommand()

static bool misc_commandscript::HandleUnAuraCommand ( ChatHandler handler,
Variant< SpellInfo const *, EXACT_SEQUENCE("all")>  spellArg 
)
inlinestatic

Definition at line 326 of file cs_misc.cpp.

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

◆ HandleUnbindSightCommand()

static bool misc_commandscript::HandleUnbindSightCommand ( ChatHandler handler)
inlinestatic

Definition at line 2681 of file cs_misc.cpp.

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

◆ HandleUnFreezeCommand()

static bool misc_commandscript::HandleUnFreezeCommand ( ChatHandler handler,
Optional< std::string >  targetNameArg 
)
inlinestatic

Definition at line 2542 of file cs_misc.cpp.

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

◆ HandleUnmuteCommand()

static bool misc_commandscript::HandleUnmuteCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 2111 of file cs_misc.cpp.

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

◆ HandleUnPossessCommand()

static bool misc_commandscript::HandleUnPossessCommand ( ChatHandler handler)
inlinestatic

Definition at line 2660 of file cs_misc.cpp.

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

◆ HandleUnstuckCommand()

static bool misc_commandscript::HandleUnstuckCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 911 of file cs_misc.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: