#include "GridNotifiers.h"
◆ AllDeadCreaturesInRange()
Acore::AllDeadCreaturesInRange::AllDeadCreaturesInRange |
( |
WorldObject const * |
obj, |
|
|
float |
range, |
|
|
bool |
reqAlive = true |
|
) |
| |
|
inline |
float _range
Definition: GridNotifiers.h:1547
WorldObject const * _obj
Definition: GridNotifiers.h:1546
bool _reqAlive
Definition: GridNotifiers.h:1548
◆ operator()()
bool Acore::AllDeadCreaturesInRange::operator() |
( |
Unit * |
unit | ) |
const |
|
inline |
1533 {
1535 {
1536 return false;
1537 }
1539 {
1540 return false;
1541 }
1542 return true;
1543 }
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition: Object.cpp:1321
bool IsAlive() const
Definition: Unit.h:1204
References _obj, _range, _reqAlive, Unit::IsAlive(), and WorldObject::IsWithinDistInMap().
◆ _obj
WorldObject const* Acore::AllDeadCreaturesInRange::_obj |
|
private |
◆ _range
float Acore::AllDeadCreaturesInRange::_range |
|
private |
◆ _reqAlive
bool Acore::AllDeadCreaturesInRange::_reqAlive |
|
private |