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

Public Member Functions

 FrostBeaconSelector (Unit *source)
 
bool operator() (Unit *target) const
 

Private Attributes

Unit_source
 

Constructor & Destructor Documentation

FrostBeaconSelector::FrostBeaconSelector ( Unit source)
inline
202 : _source(source) { }
Unit * _source
Definition: boss_sindragosa.cpp:212

Member Function Documentation

bool FrostBeaconSelector::operator() ( Unit target) const
inline
205  {
206  return target->GetTypeId() == TYPEID_PLAYER &&
207  target != _source->GetVictim() &&
209  }
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
Definition: Unit.cpp:4240
TypeID GetTypeId() const
Definition: Object.h:113
Unit * GetVictim() const
Definition: Unit.h:1379
Unit * _source
Definition: boss_sindragosa.cpp:212
Definition: ObjectGuid.h:33
Definition: boss_sindragosa.cpp:61

+ Here is the call graph for this function:

Member Data Documentation

Unit* FrostBeaconSelector::_source
private

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