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

Public Member Functions

 NotVictimFilter (Unit *caster)
 
bool operator() (WorldObject *target)
 

Private Attributes

Unit_victim
 

Constructor & Destructor Documentation

NotVictimFilter::NotVictimFilter ( Unit caster)
inline
1092  : _victim(caster->GetVictim())
1093  {
1094  }
Unit * _victim
Definition: boss_algalon_the_observer.cpp:1102
Unit * GetVictim() const
Definition: Unit.h:1379

Member Function Documentation

bool NotVictimFilter::operator() ( WorldObject target)
inline
1097  {
1098  return target != _victim;
1099  }
Unit * _victim
Definition: boss_algalon_the_observer.cpp:1102

Member Data Documentation

Unit* NotVictimFilter::_victim
private

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