AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
RisenArchmageCheck Class Reference

Public Member Functions

bool operator() (Creature *creature)
 

Detailed Description

Member Function Documentation

◆ operator()()

bool RisenArchmageCheck::operator() ( Creature creature)
inline
157 {
158 return creature->IsAlive() && creature->GetEntry() == NPC_RISEN_ARCHMAGE &&
159 creature->GetSpawnId() && !creature->IsInCombat();
160 }
@ NPC_RISEN_ARCHMAGE
Definition: icecrown_citadel.h:310
ObjectGuid::LowType GetSpawnId() const
Definition: Creature.h:65
uint32 GetEntry() const
Definition: Object.h:115
bool IsAlive() const
Definition: Unit.h:1654
bool IsInCombat() const
Definition: Unit.h:884

References Object::GetEntry(), Creature::GetSpawnId(), Unit::IsAlive(), Unit::IsInCombat(), and NPC_RISEN_ARCHMAGE.