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

#include <Creature.h>

Public Member Functions

bool IsCastable () const
 TrainerSpell ()

Public Attributes

uint32 learnedSpell [MAX_SPELL_EFFECTS] = { }
uint32 reqLevel
uint32 reqSkill
uint32 reqSkillValue
uint32 spell
uint32 spellCost

Detailed Description

Definition at line 391 of file Creature.h.

Constructor & Destructor Documentation

◆ TrainerSpell()

TrainerSpell::TrainerSpell ( )
inline

Definition at line 393 of file Creature.h.

References reqLevel, reqSkill, reqSkillValue, spell, and spellCost.

Member Function Documentation

◆ IsCastable()

bool TrainerSpell::IsCastable ( ) const
inline

Definition at line 403 of file Creature.h.

References learnedSpell, and spell.

Referenced by WorldSession::HandleTrainerBuySpellOpcode().

Member Data Documentation

◆ learnedSpell

uint32 TrainerSpell::learnedSpell[MAX_SPELL_EFFECTS] = { }

◆ reqLevel

◆ reqSkill

◆ reqSkillValue

uint32 TrainerSpell::reqSkillValue

◆ spell

◆ spellCost


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