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

Public Member Functions

 pet_commandscript ()
 
ChatCommandTable GetCommands () const override
 
- Public Member Functions inherited from ScriptObject
std::string const & GetName () const
 

Static Public Member Functions

static bool HandlePetCreateCommand (ChatHandler *handler)
 
static bool HandlePetLearnCommand (ChatHandler *handler, SpellInfo const *spellInfo)
 
static bool HandlePetUnlearnCommand (ChatHandler *handler, SpellInfo const *spellInfo)
 
static bool HandlePetLevelCommand (ChatHandler *handler, Optional< int32 > level)
 

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 47 of file cs_pet.cpp.

Constructor & Destructor Documentation

◆ pet_commandscript()

pet_commandscript::pet_commandscript ( )
inline

Definition at line 50 of file cs_pet.cpp.

Member Function Documentation

◆ GetCommands()

ChatCommandTable pet_commandscript::GetCommands ( ) const
inlineoverridevirtual

Implements CommandScript.

Definition at line 52 of file cs_pet.cpp.

+ Here is the call graph for this function:

◆ HandlePetCreateCommand()

static bool pet_commandscript::HandlePetCreateCommand ( ChatHandler handler)
inlinestatic

Definition at line 68 of file cs_pet.cpp.

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

◆ HandlePetLearnCommand()

static bool pet_commandscript::HandlePetLearnCommand ( ChatHandler handler,
SpellInfo const *  spellInfo 
)
inlinestatic

Definition at line 130 of file cs_pet.cpp.

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

◆ HandlePetLevelCommand()

static bool pet_commandscript::HandlePetLevelCommand ( ChatHandler handler,
Optional< int32 level 
)
inlinestatic

Definition at line 185 of file cs_pet.cpp.

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

◆ HandlePetUnlearnCommand()

static bool pet_commandscript::HandlePetUnlearnCommand ( ChatHandler handler,
SpellInfo const *  spellInfo 
)
inlinestatic

Definition at line 165 of file cs_pet.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: