Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
TrainerSpellData Struct Reference

#include <Creature.h>

Public Member Functions

TrainerSpell const * Find (uint32 spell_id) const
 TrainerSpellData ()
 ~TrainerSpellData ()

Public Attributes

TrainerSpellMap spellList
uint32 trainerType

Detailed Description

Definition at line 408 of file Creature.h.

Constructor & Destructor Documentation

◆ TrainerSpellData()

TrainerSpellData::TrainerSpellData ( )
inline

Definition at line 410 of file Creature.h.

References trainerType.

◆ ~TrainerSpellData()

TrainerSpellData::~TrainerSpellData ( )
inline

Definition at line 411 of file Creature.h.

References spellList.

Member Function Documentation

◆ Find()

TrainerSpell const * TrainerSpellData::Find ( uint32 spell_id) const

Definition at line 46 of file Creature.cpp.

References spellList.

Referenced by WorldSession::HandleTrainerBuySpellOpcode().

Member Data Documentation

◆ spellList

TrainerSpellMap TrainerSpellData::spellList

◆ trainerType

uint32 TrainerSpellData::trainerType

The documentation for this struct was generated from the following files: