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
2101 {
2102 if (Unit* unit = object->ToUnit())
2103 return unit->IsAlive();
2104 return true;
2105 }
Unit * ToUnit()
Definition: Object.h:206
Definition: Unit.h:630

References Object::ToUnit().