#include "GridNotifiers.h"
◆ MostHPPercentMissingInRange()
Acore::MostHPPercentMissingInRange::MostHPPercentMissingInRange |
( |
Unit const * |
obj, |
|
|
float |
range, |
|
|
uint32 |
minHpPct, |
|
|
uint32 |
maxHpPct |
|
) |
| |
|
inline |
796 :
float i_range
Definition: GridNotifiers.h:813
float i_minHpPct
Definition: GridNotifiers.h:814
float i_hpPct
Definition: GridNotifiers.h:814
Unit const * i_obj
Definition: GridNotifiers.h:812
float i_maxHpPct
Definition: GridNotifiers.h:814
◆ operator()()
bool Acore::MostHPPercentMissingInRange::operator() |
( |
Unit * |
u | ) |
|
|
inline |
800 {
803 {
805 return true;
806 }
807
808 return false;
809 }
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition: Object.cpp:1332
float GetHealthPct() const
Definition: Unit.h:1031
bool IsAlive() const
Definition: Unit.h:1654
bool IsHostileTo(Unit const *unit) const
Definition: Unit.cpp:10236
bool IsInCombat() const
Definition: Unit.h:884
References Unit::GetHealthPct(), i_hpPct, i_maxHpPct, i_obj, i_range, Unit::IsAlive(), Unit::IsHostileTo(), Unit::IsInCombat(), and WorldObject::IsWithinDistInMap().
◆ i_hpPct
float Acore::MostHPPercentMissingInRange::i_hpPct |
|
private |
◆ i_maxHpPct
float Acore::MostHPPercentMissingInRange::i_maxHpPct |
|
private |
◆ i_minHpPct
float Acore::MostHPPercentMissingInRange::i_minHpPct |
|
private |
◆ i_obj
Unit const* Acore::MostHPPercentMissingInRange::i_obj |
|
private |
◆ i_range
float Acore::MostHPPercentMissingInRange::i_range |
|
private |