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()

◆ HandlePetCreateCommand()

◆ HandlePetLearnCommand()

◆ HandlePetLevelCommand()

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

◆ HandlePetUnlearnCommand()

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

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