AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
PlayerSpell Struct Reference

#include "Player.h"

Public Member Functions

bool IsInSpec (uint8 spec)
 

Public Attributes

PlayerSpellState State: 7
 
bool Active: 1
 
uint8 specMask: 8
 

Detailed Description

Member Function Documentation

◆ IsInSpec()

bool PlayerSpell::IsInSpec ( uint8  spec)
inline
132{ return (specMask & (1 << spec)); }
uint8 specMask
Definition: Player.h:131

References specMask.

Member Data Documentation

◆ Active

bool PlayerSpell::Active

Referenced by Player::_addSpell().

◆ specMask

uint8 PlayerSpell::specMask

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

◆ State

PlayerSpellState PlayerSpell::State

Referenced by Player::_addSpell().