TrinityCore
Loading...
Searching...
No Matches
TargetHandler::VictimCheck Class Reference

Public Member Functions

 VictimCheck (Unit *caster, bool keepTank)
 
bool operator() (WorldObject *object)
 

Private Attributes

Unit * _caster
 
bool _keepTank
 

Detailed Description

Definition at line 136 of file boss_garothi_worldbreaker.cpp.

Constructor & Destructor Documentation

◆ VictimCheck()

TargetHandler::VictimCheck::VictimCheck ( Unit *  caster,
bool  keepTank 
)
inline

Definition at line 139 of file boss_garothi_worldbreaker.cpp.

Member Function Documentation

◆ operator()()

bool TargetHandler::VictimCheck::operator() ( WorldObject *  object)
inline

Definition at line 141 of file boss_garothi_worldbreaker.cpp.

References _caster, _keepTank, Unit::GetVictim(), and Object::ToUnit().

Member Data Documentation

◆ _caster

Unit* TargetHandler::VictimCheck::_caster
private

Definition at line 153 of file boss_garothi_worldbreaker.cpp.

Referenced by operator()().

◆ _keepTank

bool TargetHandler::VictimCheck::_keepTank
private

Definition at line 154 of file boss_garothi_worldbreaker.cpp.

Referenced by operator()().


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