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

Public Member Functions

 misc_commandscript ()
 
ChatCommandTable GetCommands () const override
 
- Public Member Functions inherited from ScriptObject
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)
 
static bool HandleBankCommand (ChatHandler *handler)
 
static bool HandleChangeWeather (ChatHandler *handler, WeatherType type, float intensity)
 
static bool HandleMaxSkillCommand (ChatHandler *handler)
 
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 HandleFlushArenaPointsCommand (ChatHandler *)
 
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)
 
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 66 of file cs_misc.cpp.

Constructor & Destructor Documentation

◆ misc_commandscript()

misc_commandscript::misc_commandscript ( )
inline

Definition at line 69 of file cs_misc.cpp.

Member Function Documentation

◆ GetCommands()

ChatCommandTable misc_commandscript::GetCommands ( ) const
inlineoverridevirtual

Implements CommandScript.

Definition at line 71 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 1158 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 
)
inlinestatic

Definition at line 1434 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 1293 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 353 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 306 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 1488 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 2633 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 1494 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 2351 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 2250 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 613 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 734 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 2267 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 2329 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 161 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 619 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 667 of file cs_misc.cpp.

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

◆ HandleFlushArenaPointsCommand()

static bool misc_commandscript::HandleFlushArenaPointsCommand ( ChatHandler )
inlinestatic

Definition at line 2380 of file cs_misc.cpp.

+ Here is the caller graph for this function:

◆ HandleFreezeCommand()

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

Definition at line 2406 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 773 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 185 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 691 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 706 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 1124 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 715 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 891 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 988 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 2561 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 2654 of file cs_misc.cpp.

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

◆ HandleMaxSkillCommand()

static bool misc_commandscript::HandleMaxSkillCommand ( ChatHandler handler)
inlinestatic

Definition at line 1520 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 2167 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 1992 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 2116 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 2136 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 1030 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 1587 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 
)
inlinestatic

Definition at line 2597 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 2612 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 132 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 836 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 2386 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 1952 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 645 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 883 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 859 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 1535 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 494 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 327 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 2643 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 2504 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 2067 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 2622 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 927 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: