TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
AliveCheck Class Reference

Public Member Functions

bool operator() (WorldObject *object) const
 

Member Function Documentation

bool AliveCheck::operator() ( WorldObject object) const
inline
1974  {
1975  if (Unit* unit = object->ToUnit())
1976  return unit->IsAlive();
1977  return true;
1978  }
Definition: Unit.h:1305
Unit * ToUnit()
Definition: Object.h:197

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: