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

Public Member Functions

bool operator() (WorldObject *obj) const
 

Member Function Documentation

bool ReplenishmentCheck::operator() ( WorldObject obj) const
inline
2753  {
2754  if (Unit* target = obj->ToUnit())
2755  return target->getPowerType() != POWER_MANA;
2756 
2757  return true;
2758  }
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: