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

Public Member Functions

 learn_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 HandleLearnCommand (ChatHandler *handler, SpellInfo const *spell, Optional< EXACT_SEQUENCE("all")> allRanks)
 
static bool HandleLearnAllGMCommand (ChatHandler *handler)
 
static bool HandleLearnMyQuestsCommand (ChatHandler *handler)
 
static bool HandleLearnMySpellsCommand (ChatHandler *handler)
 
static bool HandleLearnAllTalentsCommand (ChatHandler *handler)
 
static bool HandleLearnAllPetTalentsCommand (ChatHandler *)
 
static bool HandleLearnAllLangCommand (ChatHandler *handler)
 
static bool HandleLearnDebugSpellsCommand (ChatHandler *handler)
 
static bool HandleLearnAllDefaultCommand (ChatHandler *handler, Optional< PlayerIdentifier > player)
 
static bool HandleLearnAllCraftsCommand (ChatHandler *handler, Optional< PlayerIdentifier > player)
 
static bool HandleLearnAllRecipesCommand (ChatHandler *handler, WTail namePart)
 
static void HandleLearnSkillRecipesHelper (Player *player, uint32 skillId)
 
static bool HandleUnLearnCommand (ChatHandler *handler, SpellInfo const *spell, Optional< EXACT_SEQUENCE("all")> allRanks)
 

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 39 of file cs_learn.cpp.

Constructor & Destructor Documentation

◆ learn_commandscript()

learn_commandscript::learn_commandscript ( )
inline

Definition at line 42 of file cs_learn.cpp.

Member Function Documentation

◆ GetCommands()

◆ HandleLearnAllCraftsCommand()

◆ HandleLearnAllDefaultCommand()

◆ HandleLearnAllGMCommand()

◆ HandleLearnAllLangCommand()

static bool learn_commandscript::HandleLearnAllLangCommand ( ChatHandler *  handler)
inlinestatic

◆ HandleLearnAllPetTalentsCommand()

static bool learn_commandscript::HandleLearnAllPetTalentsCommand ( ChatHandler *  )
inlinestatic

Definition at line 215 of file cs_learn.cpp.

Referenced by GetCommands().

◆ HandleLearnAllRecipesCommand()

◆ HandleLearnAllTalentsCommand()

◆ HandleLearnCommand()

◆ HandleLearnDebugSpellsCommand()

static bool learn_commandscript::HandleLearnDebugSpellsCommand ( ChatHandler *  handler)
inlinestatic

Definition at line 308 of file cs_learn.cpp.

References ChatHandler::GetPlayer(), and Player::LearnSpell().

Referenced by GetCommands().

◆ HandleLearnMyQuestsCommand()

static bool learn_commandscript::HandleLearnMyQuestsCommand ( ChatHandler *  handler)
inlinestatic

◆ HandleLearnMySpellsCommand()

◆ HandleLearnSkillRecipesHelper()

static void learn_commandscript::HandleLearnSkillRecipesHelper ( Player *  player,
uint32  skillId 
)
inlinestatic

◆ HandleUnLearnCommand()

static bool learn_commandscript::HandleUnLearnCommand ( ChatHandler *  handler,
SpellInfo const *  spell,
Optional< EXACT_SEQUENCE("all")>  allRanks 
)
inlinestatic

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