#include "GridNotifiers.h"
◆ AnyFriendlyUnitInObjectRangeCheck()
Acore::AnyFriendlyUnitInObjectRangeCheck::AnyFriendlyUnitInObjectRangeCheck |
( |
WorldObject const * |
obj, |
|
|
Unit const * |
funit, |
|
|
float |
range, |
|
|
bool |
playerOnly = false |
|
) |
| |
|
inline |
float i_range
Definition: GridNotifiers.h:989
bool i_playerOnly
Definition: GridNotifiers.h:990
Unit const * i_funit
Definition: GridNotifiers.h:988
WorldObject const * i_obj
Definition: GridNotifiers.h:987
◆ operator()()
bool Acore::AnyFriendlyUnitInObjectRangeCheck::operator() |
( |
Unit * |
u | ) |
|
|
inline |
980 {
982 return true;
983 else
984 return false;
985 }
bool IsPlayer() const
Definition: Object.h:200
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition: Object.cpp:1332
bool IsAlive() const
Definition: Unit.h:1654
bool IsFriendlyTo(Unit const *unit) const
Definition: Unit.cpp:10241
References i_funit, i_obj, i_playerOnly, i_range, Unit::IsAlive(), Unit::IsFriendlyTo(), Object::IsPlayer(), and WorldObject::IsWithinDistInMap().
◆ i_funit
Unit const* Acore::AnyFriendlyUnitInObjectRangeCheck::i_funit |
|
private |
◆ i_obj
WorldObject const* Acore::AnyFriendlyUnitInObjectRangeCheck::i_obj |
|
private |
◆ i_playerOnly
bool Acore::AnyFriendlyUnitInObjectRangeCheck::i_playerOnly |
|
private |
◆ i_range
float Acore::AnyFriendlyUnitInObjectRangeCheck::i_range |
|
private |