#include "GridNotifiers.h"
◆ NearestCreatureEntryWithLiveStateInObjectRangeCheck() [1/2]
Acore::NearestCreatureEntryWithLiveStateInObjectRangeCheck::NearestCreatureEntryWithLiveStateInObjectRangeCheck |
( |
WorldObject const & |
obj, |
|
|
uint32 |
entry, |
|
|
bool |
alive, |
|
|
float |
range |
|
) |
| |
|
inline |
float i_range
Definition: GridNotifiers.h:1347
bool i_alive
Definition: GridNotifiers.h:1346
WorldObject const & i_obj
Definition: GridNotifiers.h:1344
uint32 i_entry
Definition: GridNotifiers.h:1345
◆ NearestCreatureEntryWithLiveStateInObjectRangeCheck() [2/2]
◆ operator()()
bool Acore::NearestCreatureEntryWithLiveStateInObjectRangeCheck::operator() |
( |
Creature * |
u | ) |
|
|
inline |
1335 {
1337 {
1339 return true;
1340 }
1341 return false;
1342 }
uint32 GetEntry() const
Definition: Object.h:112
bool IsWithinDist(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition: Object.cpp:1316
bool InSamePhase(WorldObject const *obj) const
Definition: Object.h:447
float GetDistance(WorldObject const *obj) const
Definition: Object.cpp:1245
bool IsAlive() const
Definition: Unit.h:1654
References WorldObject::GetDistance(), Object::GetEntry(), i_alive, i_entry, i_obj, i_range, WorldObject::InSamePhase(), Unit::IsAlive(), and WorldObject::IsWithinDist().
◆ i_alive
bool Acore::NearestCreatureEntryWithLiveStateInObjectRangeCheck::i_alive |
|
private |
◆ i_entry
uint32 Acore::NearestCreatureEntryWithLiveStateInObjectRangeCheck::i_entry |
|
private |
◆ i_obj
WorldObject const& Acore::NearestCreatureEntryWithLiveStateInObjectRangeCheck::i_obj |
|
private |
◆ i_range
float Acore::NearestCreatureEntryWithLiveStateInObjectRangeCheck::i_range |
|
private |