#include <Trainer.h>
Definition at line 65 of file Trainer.h.
◆ Trainer()
| Trainer::Trainer::Trainer |
( |
uint32 |
trainerId, |
|
|
Type |
type, |
|
|
uint32 |
requirement, |
|
|
std::string |
greeting, |
|
|
std::vector< Spell > |
spells |
|
) |
| |
◆ AddGreetingLocale()
| void Trainer::Trainer::AddGreetingLocale |
( |
LocaleConstant |
locale, |
|
|
std::string |
greeting |
|
) |
| |
|
private |
◆ CanTeachSpell()
| bool Trainer::Trainer::CanTeachSpell |
( |
Player const * |
player, |
|
|
Spell const * |
trainerSpell |
|
) |
| const |
◆ GetGreeting()
| std::string const & Trainer::Trainer::GetGreeting |
( |
LocaleConstant |
locale | ) |
const |
|
private |
◆ GetSpell()
| Spell const * Trainer::Trainer::GetSpell |
( |
uint32 |
spellId | ) |
const |
◆ GetSpells()
| std::vector< Spell > const & Trainer::Trainer::GetSpells |
( |
| ) |
const |
|
inline |
◆ GetSpellState()
◆ GetTrainerRequirement()
| uint32 Trainer::Trainer::GetTrainerRequirement |
( |
| ) |
const |
|
inline |
◆ GetTrainerType()
| Type Trainer::Trainer::GetTrainerType |
( |
| ) |
const |
|
inline |
◆ IsTrainerValidForPlayer()
| bool Trainer::Trainer::IsTrainerValidForPlayer |
( |
Player const * |
player | ) |
const |
◆ SendSpells()
◆ SendTeachFailure()
◆ SendTeachSucceeded()
| void Trainer::Trainer::SendTeachSucceeded |
( |
Creature const * |
npc, |
|
|
Player const * |
player, |
|
|
uint32 |
spellId |
|
) |
| const |
|
private |
◆ TeachSpell()
◆ _greeting
| std::array<std::string, TOTAL_LOCALES> Trainer::Trainer::_greeting |
|
private |
◆ _requirement
| uint32 Trainer::Trainer::_requirement |
|
private |
◆ _spells
| std::vector<Spell> Trainer::Trainer::_spells |
|
private |
◆ _trainerId
| uint32 Trainer::Trainer::_trainerId |
|
private |
◆ _type
| Type Trainer::Trainer::_type |
|
private |
◆ ObjectMgr
| friend Trainer::Trainer::ObjectMgr |
|
private |
The documentation for this class was generated from the following files: