AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Unit.h"
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 |
References _ascending, Unit::GetHealth(), and Unit::GetMaxHealth().
|
inline |
References _ascending, Unit::GetHealth(), Unit::GetMaxHealth(), and Object::ToUnit().
|
private |
Referenced by operator()().