#include "GridNotifiers.h"
◆ FriendlyCCedInRange()
Acore::FriendlyCCedInRange::FriendlyCCedInRange |
( |
Unit const * |
obj, |
|
|
float |
range |
|
) |
| |
|
inline |
float i_range
Definition: GridNotifiers.h:832
Unit const * i_obj
Definition: GridNotifiers.h:831
◆ operator()()
bool Acore::FriendlyCCedInRange::operator() |
( |
Unit * |
u | ) |
|
|
inline |
822 {
825 {
826 return true;
827 }
828 return false;
829 }
@ UNIT_STATE_CONFUSED
Definition: UnitDefines.h:160
@ UNIT_STATE_STUNNED
Definition: UnitDefines.h:152
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition: Object.cpp:1321
bool IsCharmed() const
Definition: Unit.h:1266
bool isFrozen() const
Definition: Unit.cpp:15785
bool IsAlive() const
Definition: Unit.h:1204
bool isFeared() const
Definition: Unit.h:1105
bool HasUnitState(const uint32 f) const
Definition: Unit.h:673
bool IsHostileTo(Unit const *unit) const
Definition: Unit.cpp:10198
bool IsInCombat() const
Definition: Unit.h:820
References Unit::HasUnitState(), i_obj, i_range, Unit::IsAlive(), Unit::IsCharmed(), Unit::isFeared(), Unit::isFrozen(), Unit::IsHostileTo(), Unit::IsInCombat(), WorldObject::IsWithinDistInMap(), UNIT_STATE_CONFUSED, and UNIT_STATE_STUNNED.
◆ i_obj
Unit const* Acore::FriendlyCCedInRange::i_obj |
|
private |
◆ i_range
float Acore::FriendlyCCedInRange::i_range |
|
private |