#include <UnitAICommon.h>
Definition at line 105 of file UnitAICommon.h.
◆ FarthestTargetSelector()
FarthestTargetSelector::FarthestTargetSelector |
( |
Unit const * |
unit, |
|
|
float |
dist, |
|
|
bool |
playerOnly, |
|
|
bool |
inLos |
|
) |
| |
|
inline |
◆ operator()()
bool FarthestTargetSelector::operator() |
( |
Unit const * |
target | ) |
const |
Definition at line 171 of file UnitAICommon.cpp.
172{
174 return false;
175
177 return false;
178
180 return false;
181
183 return false;
184
185 return true;
186}
bool IsWithinCombatRange(Unit const *obj, float dist2compare) const
bool IsWithinLOSInMap(WorldObject const *obj, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing) const
◆ _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: