TrinityCore
learn_commandscript Class Reference
+ Inheritance diagram for learn_commandscript:

Public Member Functions

 learn_commandscript ()
 
ChatCommandTable GetCommands () 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

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)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (char const *name)
 
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()

ChatCommandTable learn_commandscript::GetCommands ( ) const
inlineoverridevirtual

Implements CommandScript.

Definition at line 44 of file cs_learn.cpp.

+ Here is the call graph for this function:

◆ HandleLearnAllCraftsCommand()

static bool learn_commandscript::HandleLearnAllCraftsCommand ( ChatHandler handler,
Optional< PlayerIdentifier player 
)
inlinestatic

Definition at line 337 of file cs_learn.cpp.

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

◆ HandleLearnAllDefaultCommand()

static bool learn_commandscript::HandleLearnAllDefaultCommand ( ChatHandler handler,
Optional< PlayerIdentifier player 
)
inlinestatic

Definition at line 321 of file cs_learn.cpp.

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

◆ HandleLearnAllGMCommand()

static bool learn_commandscript::HandleLearnAllGMCommand ( ChatHandler handler)
inlinestatic

Definition at line 118 of file cs_learn.cpp.

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

◆ HandleLearnAllLangCommand()

static bool learn_commandscript::HandleLearnAllLangCommand ( ChatHandler handler)
inlinestatic

Definition at line 294 of file cs_learn.cpp.

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

◆ HandleLearnAllPetTalentsCommand()

static bool learn_commandscript::HandleLearnAllPetTalentsCommand ( ChatHandler )
inlinestatic

Definition at line 215 of file cs_learn.cpp.

+ Here is the caller graph for this function:

◆ HandleLearnAllRecipesCommand()

static bool learn_commandscript::HandleLearnAllRecipesCommand ( ChatHandler handler,
WTail  namePart 
)
inlinestatic

Definition at line 362 of file cs_learn.cpp.

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

◆ HandleLearnAllTalentsCommand()

static bool learn_commandscript::HandleLearnAllTalentsCommand ( ChatHandler handler)
inlinestatic

Definition at line 184 of file cs_learn.cpp.

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

◆ HandleLearnCommand()

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

Definition at line 79 of file cs_learn.cpp.

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

◆ HandleLearnDebugSpellsCommand()

static bool learn_commandscript::HandleLearnDebugSpellsCommand ( ChatHandler handler)
inlinestatic

Definition at line 308 of file cs_learn.cpp.

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

◆ HandleLearnMyQuestsCommand()

static bool learn_commandscript::HandleLearnMyQuestsCommand ( ChatHandler handler)
inlinestatic

Definition at line 133 of file cs_learn.cpp.

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

◆ HandleLearnMySpellsCommand()

static bool learn_commandscript::HandleLearnMySpellsCommand ( ChatHandler handler)
inlinestatic

Definition at line 144 of file cs_learn.cpp.

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

◆ HandleLearnSkillRecipesHelper()

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

Definition at line 422 of file cs_learn.cpp.

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

◆ HandleUnLearnCommand()

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

Definition at line 452 of file cs_learn.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: