#include <Unit.h>
Definition at line 2102 of file Unit.h.
◆ PowerPctOrderPred()
Trinity::PowerPctOrderPred::PowerPctOrderPred |
( |
Powers |
power, |
|
|
bool |
ascending = true |
|
) |
| |
|
inline |
◆ operator()() [1/2]
bool Trinity::PowerPctOrderPred::operator() |
( |
Unit const * |
a, |
|
|
Unit const * |
b |
|
) |
| const |
|
inline |
Definition at line 2116 of file Unit.h.
2117 {
2118 float rA = a->GetPowerPct(
_power);
2119 float rB = b->GetPowerPct(
_power);
2121 }
◆ operator()() [2/2]
Definition at line 2107 of file Unit.h.
2108 {
2114 }
static Unit * ToUnit(Object *o)
float GetPowerPct(Powers power) const
◆ _ascending
bool const Trinity::PowerPctOrderPred::_ascending |
|
private |
◆ _power
Powers const Trinity::PowerPctOrderPred::_power |
|
private |
The documentation for this class was generated from the following file:
- server/game/Entities/Unit/Unit.h