◆ ShadowTrapLKTargetSelector()
| ShadowTrapLKTargetSelector::ShadowTrapLKTargetSelector |
( |
Creature * |
source, |
|
|
bool |
playerOnly = true, |
|
|
bool |
reqLOS = false, |
|
|
float |
maxDist = 0.0f |
|
) |
| |
|
inline |
float _maxDist
Definition boss_the_lich_king.cpp:395
bool _reqLOS
Definition boss_the_lich_king.cpp:394
bool _playerOnly
Definition boss_the_lich_king.cpp:393
Creature const * _source
Definition boss_the_lich_king.cpp:392
◆ operator()()
| bool ShadowTrapLKTargetSelector::operator() |
( |
Unit const * |
target | ) |
const |
|
inline |
377 {
378 if (!target)
379 return false;
380 if (!target->IsAlive())
381 return false;
383 return false;
385 return false;
387 return false;
388 return true;
389 }
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:1380
float GetExactDist(float x, float y, float z) const
Definition Position.h:182
References _maxDist, _playerOnly, _reqLOS, _source, Position::GetExactDist(), Unit::IsAlive(), Object::IsPlayer(), and WorldObject::IsWithinLOSInMap().
◆ _maxDist
| float ShadowTrapLKTargetSelector::_maxDist |
|
private |
◆ _playerOnly
| bool ShadowTrapLKTargetSelector::_playerOnly |
|
private |
◆ _reqLOS
| bool ShadowTrapLKTargetSelector::_reqLOS |
|
private |
◆ _source
| Creature const* ShadowTrapLKTargetSelector::_source |
|
private |
The documentation for this struct was generated from the following file: