#include "GridNotifiers.h"
◆ NearestPlayerInObjectRangeCheck() [1/2]
Acore::NearestPlayerInObjectRangeCheck::NearestPlayerInObjectRangeCheck |
( |
WorldObject const * |
obj, |
|
|
float |
range |
|
) |
| |
|
inline |
1408 {
1409 }
WorldObject const * i_obj
Definition: GridNotifiers.h:1422
float i_range
Definition: GridNotifiers.h:1423
◆ NearestPlayerInObjectRangeCheck() [2/2]
◆ operator()()
bool Acore::NearestPlayerInObjectRangeCheck::operator() |
( |
Player * |
u | ) |
|
|
inline |
1412 {
1414 {
1416 return true;
1417 }
1418
1419 return false;
1420 }
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition: Object.cpp:1321
float GetDistance(WorldObject const *obj) const
Definition: Object.cpp:1245
bool IsAlive() const
Definition: Unit.h:1204
References WorldObject::GetDistance(), i_obj, i_range, Unit::IsAlive(), and WorldObject::IsWithinDistInMap().
◆ i_obj
WorldObject const* Acore::NearestPlayerInObjectRangeCheck::i_obj |
|
private |
◆ i_range
float Acore::NearestPlayerInObjectRangeCheck::i_range |
|
private |