TrinityCore
modify_commandscript Class Reference
+ Inheritance diagram for modify_commandscript:

Public Member Functions

 modify_commandscript ()
 
std::vector< ChatCommandGetCommands () 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

template<typename... Args>
static void NotifyModification (ChatHandler *handler, Unit *target, TrinityStrings resourceMessage, TrinityStrings resourceReportMessage, Args &&... args)
 
static bool CheckModifyResources (ChatHandler *handler, char const *args, Player *target, int32 &res, int32 &resmax, int8 const multiplier=1)
 
static bool HandleModifyHPCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyManaCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyEnergyCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyRageCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyRunicPowerCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyFactionCommand (ChatHandler *handler, Optional< uint32 > factionid, Optional< uint32 > flag, Optional< uint64 > npcflag, Optional< uint32 > dyflag)
 
static bool HandleModifySpellCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyTalentCommand (ChatHandler *, char const *)
 
static bool CheckModifySpeed (ChatHandler *handler, Unit *target, float speed, float minimumBound, float maximumBound, bool checkInFlight=true)
 
static bool CheckModifySpeed (ChatHandler *handler, char const *args, Unit *target, float &speed, float minimumBound, float maximumBound, bool checkInFlight=true)
 
static bool HandleModifyASpeedCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifySpeedCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifySwimCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyBWalkCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyFlyCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyScaleCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyMountCommand (ChatHandler *handler, uint32 mount, float speed)
 
static bool HandleModifyMoneyCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyHonorCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyDrunkCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyRepCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyMorphCommand (ChatHandler *handler, uint32 display_id)
 
static bool HandleModifyPhaseCommand (ChatHandler *handler, uint32 phaseId, Optional< uint32 > visibleMapId)
 
static bool HandleModifyStandStateCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyGenderCommand (ChatHandler *handler, char const *args)
 
static bool HandleDeMorphCommand (ChatHandler *handler, char const *)
 
static bool HandleModifyCurrencyCommand (ChatHandler *handler, const char *args)
 
static bool HandleModifyXPCommand (ChatHandler *handler, char const *args)
 
static bool HandleModifyPowerCommand (ChatHandler *handler, const char *args)
 

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 46 of file cs_modify.cpp.

Constructor & Destructor Documentation

◆ modify_commandscript()

modify_commandscript::modify_commandscript ( )
inline

Definition at line 49 of file cs_modify.cpp.

Member Function Documentation

◆ CheckModifyResources()

static bool modify_commandscript::CheckModifyResources ( ChatHandler handler,
char const *  args,
Player target,
int32 res,
int32 resmax,
int8 const  multiplier = 1 
)
inlinestatic

Definition at line 106 of file cs_modify.cpp.

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

◆ CheckModifySpeed() [1/2]

static bool modify_commandscript::CheckModifySpeed ( ChatHandler handler,
char const *  args,
Unit target,
float &  speed,
float  minimumBound,
float  maximumBound,
bool  checkInFlight = true 
)
inlinestatic

Definition at line 395 of file cs_modify.cpp.

+ Here is the call graph for this function:

◆ CheckModifySpeed() [2/2]

static bool modify_commandscript::CheckModifySpeed ( ChatHandler handler,
Unit target,
float  speed,
float  minimumBound,
float  maximumBound,
bool  checkInFlight = true 
)
inlinestatic

Definition at line 363 of file cs_modify.cpp.

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

◆ GetCommands()

std::vector< ChatCommand > modify_commandscript::GetCommands ( ) const
inlineoverridevirtual

Implements CommandScript.

Definition at line 51 of file cs_modify.cpp.

+ Here is the call graph for this function:

◆ HandleDeMorphCommand()

static bool modify_commandscript::HandleDeMorphCommand ( ChatHandler handler,
char const *   
)
inlinestatic

Definition at line 911 of file cs_modify.cpp.

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

◆ HandleModifyASpeedCommand()

static bool modify_commandscript::HandleModifyASpeedCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 405 of file cs_modify.cpp.

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

◆ HandleModifyBWalkCommand()

static bool modify_commandscript::HandleModifyBWalkCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 450 of file cs_modify.cpp.

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

◆ HandleModifyCurrencyCommand()

static bool modify_commandscript::HandleModifyCurrencyCommand ( ChatHandler handler,
const char *  args 
)
inlinestatic

Definition at line 926 of file cs_modify.cpp.

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

◆ HandleModifyDrunkCommand()

static bool modify_commandscript::HandleModifyDrunkCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 621 of file cs_modify.cpp.

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

◆ HandleModifyEnergyCommand()

static bool modify_commandscript::HandleModifyEnergyCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 166 of file cs_modify.cpp.

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

◆ HandleModifyFactionCommand()

static bool modify_commandscript::HandleModifyFactionCommand ( ChatHandler handler,
Optional< uint32 factionid,
Optional< uint32 flag,
Optional< uint64 npcflag,
Optional< uint32 dyflag 
)
inlinestatic

Definition at line 214 of file cs_modify.cpp.

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

◆ HandleModifyFlyCommand()

static bool modify_commandscript::HandleModifyFlyCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 464 of file cs_modify.cpp.

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

◆ HandleModifyGenderCommand()

static bool modify_commandscript::HandleModifyGenderCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 815 of file cs_modify.cpp.

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

◆ HandleModifyHonorCommand()

static bool modify_commandscript::HandleModifyHonorCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 595 of file cs_modify.cpp.

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

◆ HandleModifyHPCommand()

static bool modify_commandscript::HandleModifyHPCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 135 of file cs_modify.cpp.

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

◆ HandleModifyManaCommand()

static bool modify_commandscript::HandleModifyManaCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 150 of file cs_modify.cpp.

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

◆ HandleModifyMoneyCommand()

static bool modify_commandscript::HandleModifyMoneyCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 524 of file cs_modify.cpp.

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

◆ HandleModifyMorphCommand()

static bool modify_commandscript::HandleModifyMorphCommand ( ChatHandler handler,
uint32  display_id 
)
inlinestatic

Definition at line 749 of file cs_modify.cpp.

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

◆ HandleModifyMountCommand()

static bool modify_commandscript::HandleModifyMountCommand ( ChatHandler handler,
uint32  mount,
float  speed 
)
inlinestatic

Definition at line 492 of file cs_modify.cpp.

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

◆ HandleModifyPhaseCommand()

static bool modify_commandscript::HandleModifyPhaseCommand ( ChatHandler handler,
uint32  phaseId,
Optional< uint32 visibleMapId 
)
inlinestatic

Definition at line 765 of file cs_modify.cpp.

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

◆ HandleModifyPowerCommand()

static bool modify_commandscript::HandleModifyPowerCommand ( ChatHandler handler,
const char *  args 
)
inlinestatic

Definition at line 985 of file cs_modify.cpp.

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

◆ HandleModifyRageCommand()

static bool modify_commandscript::HandleModifyRageCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 182 of file cs_modify.cpp.

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

◆ HandleModifyRepCommand()

static bool modify_commandscript::HandleModifyRepCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 636 of file cs_modify.cpp.

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

◆ HandleModifyRunicPowerCommand()

static bool modify_commandscript::HandleModifyRunicPowerCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 198 of file cs_modify.cpp.

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

◆ HandleModifyScaleCommand()

static bool modify_commandscript::HandleModifyScaleCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 478 of file cs_modify.cpp.

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

◆ HandleModifySpeedCommand()

static bool modify_commandscript::HandleModifySpeedCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 422 of file cs_modify.cpp.

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

◆ HandleModifySpellCommand()

static bool modify_commandscript::HandleModifySpellCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 258 of file cs_modify.cpp.

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

◆ HandleModifyStandStateCommand()

static bool modify_commandscript::HandleModifyStandStateCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 804 of file cs_modify.cpp.

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

◆ HandleModifySwimCommand()

static bool modify_commandscript::HandleModifySwimCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 436 of file cs_modify.cpp.

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

◆ HandleModifyTalentCommand()

static bool modify_commandscript::HandleModifyTalentCommand ( ChatHandler ,
char const *   
)
inlinestatic

Definition at line 317 of file cs_modify.cpp.

+ Here is the caller graph for this function:

◆ HandleModifyXPCommand()

static bool modify_commandscript::HandleModifyXPCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 954 of file cs_modify.cpp.

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

◆ NotifyModification()

template<typename... Args>
static void modify_commandscript::NotifyModification ( ChatHandler handler,
Unit target,
TrinityStrings  resourceMessage,
TrinityStrings  resourceReportMessage,
Args &&...  args 
)
inlinestatic

Definition at line 96 of file cs_modify.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: