![]() |
TrinityCore
|
Public Member Functions | |
| HealthPctOrderPred (bool ascending=true) | |
| bool | operator() (WorldObject const *objA, WorldObject const *objB) const |
| bool | operator() (Unit const *a, Unit const *b) const |
Private Attributes | |
| bool const | _ascending |
|
inline |
Definition at line 2053 of file Unit.h.
References _ascending, Unit::GetHealth(), and Unit::GetMaxHealth().
|
inline |
Definition at line 2044 of file Unit.h.
References _ascending, Unit::GetHealth(), Unit::GetMaxHealth(), and Object::ToUnit().
|
private |
Definition at line 2061 of file Unit.h.
Referenced by operator()(), and operator()().