#include "GridNotifiers.h"
◆ NearestPlayerInObjectRangeCheck() [1/2]
Acore::NearestPlayerInObjectRangeCheck::NearestPlayerInObjectRangeCheck |
( |
WorldObject const * |
obj, |
|
|
float |
range |
|
) |
| |
|
inline |
1398 {
1399 }
WorldObject const * i_obj
Definition GridNotifiers.h:1412
float i_range
Definition GridNotifiers.h:1413
◆ NearestPlayerInObjectRangeCheck() [2/2]
◆ operator()()
bool Acore::NearestPlayerInObjectRangeCheck::operator() |
( |
Player * |
u | ) |
|
|
inline |
1402 {
1404 {
1406 return true;
1407 }
1408
1409 return false;
1410 }
bool IsAlive() const
Definition Unit.h:1707
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition Object.cpp:1314
float GetDistance(WorldObject const *obj) const
Definition Object.cpp:1238
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 |
The documentation for this class was generated from the following file: