AzeorthCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
PlayerTalent Struct Reference

#include "Player.h"

Public Member Functions

bool IsInSpec (uint8 spec)
 

Public Attributes

PlayerSpellState State: 8
 
uint8 specMask: 8
 
uint32 talentID
 
bool inSpellBook
 

Detailed Description

Member Function Documentation

◆ IsInSpec()

bool PlayerTalent::IsInSpec ( uint8  spec)
inline
141{ return (specMask & (1 << spec)); }
uint8 specMask
Definition: Player.h:138

References specMask.

Member Data Documentation

◆ inSpellBook

bool PlayerTalent::inSpellBook

Referenced by Player::addTalent().

◆ specMask

uint8 PlayerTalent::specMask

Referenced by Player::addTalent(), and IsInSpec().

◆ State

PlayerSpellState PlayerTalent::State

Referenced by Player::addTalent().

◆ talentID

uint32 PlayerTalent::talentID

Referenced by Player::addTalent().