#include "GridNotifiers.h"
◆ AnyGroupedUnitInObjectRangeCheck()
Acore::AnyGroupedUnitInObjectRangeCheck::AnyGroupedUnitInObjectRangeCheck |
( |
WorldObject const * |
obj, |
|
|
Unit const * |
funit, |
|
|
float |
range, |
|
|
bool |
raid |
|
) |
| |
|
inline |
float _range
Definition: GridNotifiers.h:1031
bool _raid
Definition: GridNotifiers.h:1032
WorldObject const * _source
Definition: GridNotifiers.h:1029
Unit const * _refUnit
Definition: GridNotifiers.h:1030
◆ operator()()
bool Acore::AnyGroupedUnitInObjectRangeCheck::operator() |
( |
Unit * |
u | ) |
|
|
inline |
1016 {
1018 {
1020 return false;
1021 }
1023 return false;
1024
1026 }
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 IsInRaidWith(Unit const *unit) const
Definition: Unit.cpp:18797
bool IsHostileTo(Unit const *unit) const
Definition: Unit.cpp:10236
bool IsInPartyWith(Unit const *unit) const
Definition: Unit.cpp:18774
References _raid, _range, _refUnit, _source, Unit::IsAlive(), Unit::IsHostileTo(), Unit::IsInPartyWith(), Unit::IsInRaidWith(), and WorldObject::IsWithinDistInMap().
◆ _raid
bool Acore::AnyGroupedUnitInObjectRangeCheck::_raid |
|
private |
◆ _range
float Acore::AnyGroupedUnitInObjectRangeCheck::_range |
|
private |
◆ _refUnit
Unit const* Acore::AnyGroupedUnitInObjectRangeCheck::_refUnit |
|
private |
◆ _source
WorldObject const* Acore::AnyGroupedUnitInObjectRangeCheck::_source |
|
private |