#include "GridNotifiers.h"
◆ MostHPMissingInRange()
Acore::MostHPMissingInRange::MostHPMissingInRange |
( |
Unit const * |
obj, |
|
|
float |
range, |
|
|
uint32 |
hp |
|
) |
| |
|
inline |
uint32 i_hp
Definition: GridNotifiers.h:790
Unit const * i_obj
Definition: GridNotifiers.h:788
float i_range
Definition: GridNotifiers.h:789
◆ operator()()
bool Acore::MostHPMissingInRange::operator() |
( |
Unit * |
u | ) |
|
|
inline |
779 {
781 {
783 return true;
784 }
785 return false;
786 }
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition: Object.cpp:1321
uint32 GetMaxHealth() const
Definition: Unit.h:870
bool IsAlive() const
Definition: Unit.h:1204
uint32 GetHealth() const
Definition: Unit.h:869
bool IsHostileTo(Unit const *unit) const
Definition: Unit.cpp:10198
bool IsInCombat() const
Definition: Unit.h:820
References Unit::GetHealth(), Unit::GetMaxHealth(), i_hp, i_obj, i_range, Unit::IsAlive(), Unit::IsHostileTo(), Unit::IsInCombat(), and WorldObject::IsWithinDistInMap().
◆ i_hp
uint32 Acore::MostHPMissingInRange::i_hp |
|
private |
◆ i_obj
Unit const* Acore::MostHPMissingInRange::i_obj |
|
private |
◆ i_range
float Acore::MostHPMissingInRange::i_range |
|
private |