#include <Unit.h>
Trinity::HealthPctOrderPred::HealthPctOrderPred |
( |
bool |
ascending = true | ) |
|
|
inline |
bool const _ascending
Definition: Unit.h:2419
uint32 GetMaxHealth() const
Definition: Unit.h:1427
bool const _ascending
Definition: Unit.h:2419
uint32 GetHealth() const
Definition: Unit.h:1426
Unit * ToUnit()
Definition: Object.h:197
2413 float rA = a->GetMaxHealth() ? float(a->GetHealth()) /
float(a->GetMaxHealth()) : 0.0f;
2414 float rB = b->GetMaxHealth() ? float(b->GetHealth()) /
float(b->GetMaxHealth()) : 0.0f;
bool const _ascending
Definition: Unit.h:2419
bool const Trinity::HealthPctOrderPred::_ascending |
|
private |
The documentation for this class was generated from the following file:
- src/server/game/Entities/Unit/Unit.h