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

Public Member Functions

 MysticBuffetTargetFilter (Unit *caster)
 
bool operator() (WorldObject *unit) const
 

Private Attributes

Unit_caster
 

Constructor & Destructor Documentation

MysticBuffetTargetFilter::MysticBuffetTargetFilter ( Unit caster)
inlineexplicit
1381 : _caster(caster) { }
Unit * _caster
Definition: boss_sindragosa.cpp:1389

Member Function Documentation

bool MysticBuffetTargetFilter::operator() ( WorldObject unit) const
inline
1384  {
1385  return !unit->IsWithinLOSInMap(_caster);
1386  }
bool IsWithinLOSInMap(WorldObject const *obj) const
Definition: Object.cpp:1584
Unit * _caster
Definition: boss_sindragosa.cpp:1389

+ Here is the call graph for this function:

Member Data Documentation

Unit* MysticBuffetTargetFilter::_caster
private

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