#include "GridNotifiers.h"
◆ NearestVisibleDetectableContestedGuardUnitCheck() [1/2]
Acore::NearestVisibleDetectableContestedGuardUnitCheck::NearestVisibleDetectableContestedGuardUnitCheck |
( |
Unit const * |
unit | ) |
|
|
inlineexplicit |
Unit const * me
Definition: GridNotifiers.h:1261
◆ NearestVisibleDetectableContestedGuardUnitCheck() [2/2]
◆ operator()()
bool Acore::NearestVisibleDetectableContestedGuardUnitCheck::operator() |
( |
Unit * |
u | ) |
|
|
inline |
1246 {
1248 {
1249 return false;
1250 }
1251
1253 {
1254 return false;
1255 }
1256
1257 return true;
1258 }
bool CanSeeOrDetect(WorldObject const *obj, bool ignoreStealth=false, bool distanceCheck=false, bool checkAlert=false) const
Definition: Object.cpp:1737
bool IsContestedGuard() const
Definition: Unit.h:973
References WorldObject::CanSeeOrDetect(), Unit::IsContestedGuard(), and me.
◆ me
Unit const* Acore::NearestVisibleDetectableContestedGuardUnitCheck::me |
|
private |