TrinityCore
Trainer::Spell Struct Reference

#include <Trainer.h>

Public Member Functions

bool IsCastable () const
 

Public Attributes

uint32 SpellId = 0
 
uint32 MoneyCost = 0
 
uint32 ReqSkillLine = 0
 
uint32 ReqSkillRank = 0
 
std::array< uint32, 3 > ReqAbility = { }
 
uint8 ReqLevel = 0
 

Detailed Description

Definition at line 53 of file Trainer.h.

Member Function Documentation

◆ IsCastable()

bool Spell::IsCastable ( ) const

Definition at line 31 of file Trainer.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ MoneyCost

uint32 Trainer::Spell::MoneyCost = 0

Definition at line 56 of file Trainer.h.

◆ ReqAbility

std::array<uint32, 3> Trainer::Spell::ReqAbility = { }

Definition at line 59 of file Trainer.h.

◆ ReqLevel

uint8 Trainer::Spell::ReqLevel = 0

Definition at line 60 of file Trainer.h.

◆ ReqSkillLine

uint32 Trainer::Spell::ReqSkillLine = 0

Definition at line 57 of file Trainer.h.

◆ ReqSkillRank

uint32 Trainer::Spell::ReqSkillRank = 0

Definition at line 58 of file Trainer.h.

◆ SpellId

uint32 Trainer::Spell::SpellId = 0

Definition at line 55 of file Trainer.h.


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