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

Public Member Functions

 cast_commandscript ()
 
std::span< ChatCommandBuilder const > GetCommands () const override
 
- Public Member Functions inherited from CommandScript
 ~CommandScript ()
 
- Public Member Functions inherited from ScriptObject
 ScriptObject (ScriptObject const &right)=delete
 
 ScriptObject (ScriptObject &&right)=delete
 
ScriptObject & operator= (ScriptObject const &right)=delete
 
ScriptObject & operator= (ScriptObject &&right)=delete
 
std::string const & GetName () const
 

Static Public Member Functions

static bool CheckSpellExistsAndIsValid (ChatHandler *handler, SpellInfo const *spell)
 
static Optional< TriggerCastFlags > GetTriggerFlags (Optional< std::string > triggeredStr)
 
static bool HandleCastCommand (ChatHandler *handler, SpellInfo const *spell, Optional< std::string > triggeredStr)
 
static bool HandleCastBackCommand (ChatHandler *handler, SpellInfo const *spell, Optional< std::string > triggeredStr)
 
static bool HandleCastDistCommand (ChatHandler *handler, SpellInfo const *spell, float dist, Optional< std::string > triggeredStr)
 
static bool HandleCastSelfCommand (ChatHandler *handler, SpellInfo const *spell, Optional< std::string > triggeredStr)
 
static bool HandleCastTargetCommad (ChatHandler *handler, SpellInfo const *spell, Optional< std::string > triggeredStr)
 
static bool HandleCastDestCommand (ChatHandler *handler, SpellInfo const *spell, float x, float y, float z, Optional< std::string > triggeredStr)
 

Additional Inherited Members

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

Detailed Description

Definition at line 38 of file cs_cast.cpp.

Constructor & Destructor Documentation

◆ cast_commandscript()

cast_commandscript::cast_commandscript ( )
inline

Definition at line 41 of file cs_cast.cpp.

Member Function Documentation

◆ CheckSpellExistsAndIsValid()

◆ GetCommands()

◆ GetTriggerFlags()

static Optional< TriggerCastFlags > cast_commandscript::GetTriggerFlags ( Optional< std::string >  triggeredStr)
inlinestatic

◆ HandleCastBackCommand()

static bool cast_commandscript::HandleCastBackCommand ( ChatHandler *  handler,
SpellInfo const *  spell,
Optional< std::string >  triggeredStr 
)
inlinestatic

◆ HandleCastCommand()

static bool cast_commandscript::HandleCastCommand ( ChatHandler *  handler,
SpellInfo const *  spell,
Optional< std::string >  triggeredStr 
)
inlinestatic

◆ HandleCastDestCommand()

static bool cast_commandscript::HandleCastDestCommand ( ChatHandler *  handler,
SpellInfo const *  spell,
float  x,
float  y,
float  z,
Optional< std::string >  triggeredStr 
)
inlinestatic

◆ HandleCastDistCommand()

static bool cast_commandscript::HandleCastDistCommand ( ChatHandler *  handler,
SpellInfo const *  spell,
float  dist,
Optional< std::string >  triggeredStr 
)
inlinestatic

◆ HandleCastSelfCommand()

static bool cast_commandscript::HandleCastSelfCommand ( ChatHandler *  handler,
SpellInfo const *  spell,
Optional< std::string >  triggeredStr 
)
inlinestatic

◆ HandleCastTargetCommad()

static bool cast_commandscript::HandleCastTargetCommad ( ChatHandler *  handler,
SpellInfo const *  spell,
Optional< std::string >  triggeredStr 
)
inlinestatic

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