#include <GridNotifiers.h>
Trinity::NearestHostileUnitCheck::NearestHostileUnitCheck |
( |
Creature const * |
creature, |
|
|
float |
dist = 0 , |
|
|
bool |
playerOnly = false |
|
) |
| |
|
inlineexplicit |
1010 m_range = (dist == 0 ? 9999 : dist);
Creature const * me
Definition: GridNotifiers.h:1028
bool i_playerOnly
Definition: GridNotifiers.h:1030
float m_range
Definition: GridNotifiers.h:1029
bool Trinity::NearestHostileUnitCheck::operator() |
( |
Unit * |
u | ) |
|
|
inline |
bool IsValidAttackTarget(Unit const *target) const
Definition: Unit.cpp:10002
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true) const
Definition: Object.cpp:1663
TypeID GetTypeId() const
Definition: Object.h:113
float GetDistance(WorldObject const *obj) const
Definition: Object.cpp:1594
Creature const * me
Definition: GridNotifiers.h:1028
bool i_playerOnly
Definition: GridNotifiers.h:1030
float m_range
Definition: GridNotifiers.h:1029
Definition: ObjectGuid.h:33
bool Trinity::NearestHostileUnitCheck::i_playerOnly |
|
private |
float Trinity::NearestHostileUnitCheck::m_range |
|
private |
The documentation for this class was generated from the following file: