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
156 {
157 return creature->IsAlive() && creature->GetEntry() == NPC_RISEN_ARCHMAGE &&
158 creature->GetSpawnId() && !creature->IsInCombat();
159 }
@ NPC_RISEN_ARCHMAGE
Definition: icecrown_citadel.h:316
ObjectGuid::LowType GetSpawnId() const
Definition: Creature.h:68
uint32 GetEntry() const
Definition: Object.h:112
bool IsAlive() const
Definition: Unit.h:1204
bool IsInCombat() const
Definition: Unit.h:820

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