#include <GridNotifiers.h>
Trinity::NearestHostileUnitInAttackDistanceCheck::NearestHostileUnitInAttackDistanceCheck |
( |
Creature const * |
creature, |
|
|
float |
dist = 0 |
|
) |
| |
|
inlineexplicit |
1039 m_range = (dist == 0 ? 9999 : dist);
1040 m_force = (dist == 0 ?
false :
true);
bool m_force
Definition: GridNotifiers.h:1065
float m_range
Definition: GridNotifiers.h:1064
Creature const * me
Definition: GridNotifiers.h:1063
float Trinity::NearestHostileUnitInAttackDistanceCheck::GetLastRange |
( |
| ) |
const |
|
inline |
float m_range
Definition: GridNotifiers.h:1064
bool Trinity::NearestHostileUnitInAttackDistanceCheck::operator() |
( |
Unit * |
u | ) |
|
|
inline |
bool IsValidAttackTarget(Unit const *target) const
Definition: Unit.cpp:10002
bool m_force
Definition: GridNotifiers.h:1065
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true) const
Definition: Object.cpp:1663
float GetDistance(WorldObject const *obj) const
Definition: Object.cpp:1594
float m_range
Definition: GridNotifiers.h:1064
bool CanSeeOrDetect(WorldObject const *obj, bool ignoreStealth=false, bool distanceCheck=false, bool checkAlert=false) const
Definition: Object.cpp:1940
bool CanStartAttack(Unit const *u, bool force) const
Definition: Creature.cpp:1525
Creature const * me
Definition: GridNotifiers.h:1063
bool Trinity::NearestHostileUnitInAttackDistanceCheck::m_force |
|
private |
float Trinity::NearestHostileUnitInAttackDistanceCheck::m_range |
|
private |
Creature const* Trinity::NearestHostileUnitInAttackDistanceCheck::me |
|
private |
The documentation for this class was generated from the following file: