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

Public Member Functions

bool operator() (WorldObject *object) const
 

Detailed Description

Member Function Documentation

◆ operator()()

bool AliveCheck::operator() ( WorldObject object) const
inline
2102 {
2103 if (Unit* unit = object->ToUnit())
2104 return unit->IsAlive();
2105 return true;
2106 }
Unit * ToUnit()
Definition: Object.h:209
Definition: Unit.h:630

References Object::ToUnit().