#include "GridNotifiers.h"
◆ AnyUnfriendlyUnitInObjectRangeCheck()
Acore::AnyUnfriendlyUnitInObjectRangeCheck::AnyUnfriendlyUnitInObjectRangeCheck |
( |
WorldObject const * |
obj, |
|
|
Unit const * |
funit, |
|
|
float |
range |
|
) |
| |
|
inline |
Unit const * i_funit
Definition: GridNotifiers.h:874
WorldObject const * i_obj
Definition: GridNotifiers.h:873
float i_range
Definition: GridNotifiers.h:875
◆ operator()()
bool Acore::AnyUnfriendlyUnitInObjectRangeCheck::operator() |
( |
Unit * |
u | ) |
|
|
inline |
865 {
868 return true;
869 else
870 return false;
871 }
bool IsAvoidingAOE() const
Definition: Creature.h:130
bool IsCreature() const
Definition: Object.h:204
Creature * ToCreature()
Definition: Object.h:205
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 IsCritter() const
Definition: Unit.h:790
bool IsFriendlyTo(Unit const *unit) const
Definition: Unit.cpp:10241
References i_funit, i_obj, i_range, Unit::IsAlive(), Creature::IsAvoidingAOE(), Object::IsCreature(), Unit::IsCritter(), Unit::IsFriendlyTo(), WorldObject::IsWithinDistInMap(), and Object::ToCreature().
◆ i_funit
Unit const* Acore::AnyUnfriendlyUnitInObjectRangeCheck::i_funit |
|
private |
◆ i_obj
WorldObject const* Acore::AnyUnfriendlyUnitInObjectRangeCheck::i_obj |
|
private |
◆ i_range
float Acore::AnyUnfriendlyUnitInObjectRangeCheck::i_range |
|
private |