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

Public Member Functions

bool operator() (WorldObject *target) const
 

Member Function Documentation

bool MarkTargetFilter::operator() ( WorldObject target) const
inline
176  {
177  if (Unit* unit = target->ToUnit())
178  return unit->getPowerType() != POWER_MANA;
179  return false;
180  }
Definition: Unit.h:1305
Unit * ToUnit()
Definition: Object.h:197
Definition: SharedDefines.h:248

+ Here is the call graph for this function:


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