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

Public Member Functions

 DreamFogTargetSelector ()
 
bool operator() (WorldObject *object)
 

Constructor & Destructor Documentation

DreamFogTargetSelector::DreamFogTargetSelector ( )
inline
703 { }

Member Function Documentation

bool DreamFogTargetSelector::operator() ( WorldObject object)
inline
706  {
707  if (Unit* unit = object->ToUnit())
708  return unit->HasAura(SPELL_SLEEP);
709  return true;
710  }
Definition: boss_emerald_dragons.cpp:49
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: