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

Public Member Functions

 MistressKissTargetSelector ()
 
bool operator() (WorldObject *unit) const
 

Constructor & Destructor Documentation

MistressKissTargetSelector::MistressKissTargetSelector ( )
inline
531 { }

Member Function Documentation

bool MistressKissTargetSelector::operator() ( WorldObject unit) const
inline
534  {
535  if (unit->GetTypeId() == TYPEID_PLAYER)
536  if (unit->ToPlayer()->getPowerType() == POWER_MANA)
537  return false;
538 
539  return true;
540  }
Player * ToPlayer()
Definition: Object.h:191
TypeID GetTypeId() const
Definition: Object.h:113
Definition: ObjectGuid.h:33
Definition: SharedDefines.h:248

+ Here is the call graph for this function:


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