#include "GridNotifiers.h"
◆ NearestPlayerInObjectRangeCheck() [1/2]
| Acore::NearestPlayerInObjectRangeCheck::NearestPlayerInObjectRangeCheck |
( |
WorldObject const * |
obj, |
|
|
float |
range |
|
) |
| |
|
inline |
1402 {
1403 }
WorldObject const * i_obj
Definition GridNotifiers.h:1416
float i_range
Definition GridNotifiers.h:1417
◆ NearestPlayerInObjectRangeCheck() [2/2]
◆ operator()()
| bool Acore::NearestPlayerInObjectRangeCheck::operator() |
( |
Player * |
u | ) |
|
|
inline |
1406 {
1408 {
1410 return true;
1411 }
1412
1413 return false;
1414 }
bool IsAlive() const
Definition Unit.h:1748
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool incOwnRadius=true, bool incTargetRadius=true) const
Definition Object.cpp:1354
float GetDistance(WorldObject const *obj) const
Definition Object.cpp:1278
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: