◆ NonTankLKTargetSelector()
NonTankLKTargetSelector::NonTankLKTargetSelector |
( |
Creature * |
source, |
|
|
bool |
playerOnly = true , |
|
|
bool |
reqLOS = false , |
|
|
float |
maxDist = 0.0f , |
|
|
uint32 |
exclude1 = 0 , |
|
|
uint32 |
exclude2 = 0 |
|
) |
| |
|
inline |
bool _playerOnly
Definition boss_the_lich_king.cpp:433
bool _reqLOS
Definition boss_the_lich_king.cpp:434
uint32 _exclude2
Definition boss_the_lich_king.cpp:437
Creature const * _source
Definition boss_the_lich_king.cpp:432
uint32 _exclude1
Definition boss_the_lich_king.cpp:436
float _maxDist
Definition boss_the_lich_king.cpp:435
◆ operator()()
bool NonTankLKTargetSelector::operator() |
( |
Unit const * |
target | ) |
const |
|
inline |
411 {
412 if (!target)
413 return false;
414 if (!target->IsAlive())
415 return false;
417 return false;
419 return false;
421 return false;
423 return false;
425 return false;
427 return false;
428 return true;
429 }
@ SPELL_BOSS_HITTIN_YA_AURA
Definition boss_the_lich_king.cpp:85
Unit * GetVictim() const
Definition Unit.h:862
bool IsWithinLOSInMap(WorldObject const *obj, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, Optional< float > collisionHeight={ }, Optional< float > combatReach={ }) const
Definition Object.cpp:1358
float GetExactDist(float x, float y, float z) const
Definition Position.h:182
References _exclude1, _exclude2, _maxDist, _playerOnly, _reqLOS, _source, Position::GetExactDist(), Unit::GetVictim(), Unit::HasAura(), Unit::IsAlive(), Object::IsPlayer(), WorldObject::IsWithinLOSInMap(), and SPELL_BOSS_HITTIN_YA_AURA.
◆ _exclude1
uint32 NonTankLKTargetSelector::_exclude1 |
|
private |
◆ _exclude2
uint32 NonTankLKTargetSelector::_exclude2 |
|
private |
◆ _maxDist
float NonTankLKTargetSelector::_maxDist |
|
private |
◆ _playerOnly
bool NonTankLKTargetSelector::_playerOnly |
|
private |
◆ _reqLOS
bool NonTankLKTargetSelector::_reqLOS |
|
private |
◆ _source
Creature const* NonTankLKTargetSelector::_source |
|
private |
The documentation for this struct was generated from the following file: