#include <Unit.h>
Trinity::PowerPctOrderPred::PowerPctOrderPred |
( |
Powers |
power, |
|
|
bool |
ascending = true |
|
) |
| |
|
inline |
bool const _ascending
Definition: Unit.h:2393
Powers const _power
Definition: Unit.h:2392
bool const _ascending
Definition: Unit.h:2393
Powers const _power
Definition: Unit.h:2392
int32 GetPower(Powers power) const
Definition: Unit.cpp:11589
int32 GetMaxPower(Powers power) const
Definition: Unit.cpp:11598
Unit * ToUnit()
Definition: Object.h:197
2386 float rA = a->GetMaxPower(
_power) ? float(a->GetPower(
_power)) /
float(a->GetMaxPower(
_power)) : 0.0f;
2387 float rB = b->GetMaxPower(
_power) ? float(b->GetPower(
_power)) /
float(b->GetMaxPower(
_power)) : 0.0f;
bool const _ascending
Definition: Unit.h:2393
Powers const _power
Definition: Unit.h:2392
bool const Trinity::PowerPctOrderPred::_ascending |
|
private |
The documentation for this class was generated from the following file:
- src/server/game/Entities/Unit/Unit.h