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