#include <UnitAICommon.h>
◆ FarthestTargetSelector()
FarthestTargetSelector::FarthestTargetSelector |
( |
Unit const * |
unit, |
|
|
float |
dist, |
|
|
bool |
playerOnly, |
|
|
bool |
inLos |
|
) |
| |
|
inline |
Unit const * _me
Definition: UnitAICommon.h:111
float _dist
Definition: UnitAICommon.h:112
bool _playerOnly
Definition: UnitAICommon.h:113
bool _inLos
Definition: UnitAICommon.h:114
◆ operator()()
bool FarthestTargetSelector::operator() |
( |
Unit const * |
target | ) |
const |
172{
174 return false;
175
177 return false;
178
180 return false;
181
183 return false;
184
185 return true;
186}
@ TYPEID_PLAYER
Definition: ObjectGuid.h:39
bool IsWithinCombatRange(Unit const *obj, float dist2compare) const
Definition: Unit.cpp:617
bool IsWithinLOSInMap(WorldObject const *obj, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing) const
Definition: Object.cpp:1153
◆ _dist
float FarthestTargetSelector::_dist |
|
private |
◆ _inLos
bool FarthestTargetSelector::_inLos |
|
private |
◆ _me
Unit const* FarthestTargetSelector::_me |
|
private |
◆ _playerOnly
bool FarthestTargetSelector::_playerOnly |
|
private |
The documentation for this struct was generated from the following files: