TrinityCore
Loading...
Searching...
No Matches
Trinity::HealthPctOrderPred Class Reference

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
 

Detailed Description

Definition at line 2021 of file Unit.h.

Constructor & Destructor Documentation

◆ HealthPctOrderPred()

Trinity::HealthPctOrderPred::HealthPctOrderPred ( bool  ascending = true)
inline

Definition at line 2024 of file Unit.h.

Member Function Documentation

◆ operator()() [1/2]

bool Trinity::HealthPctOrderPred::operator() ( Unit const *  a,
Unit const *  b 
) const
inline

Definition at line 2035 of file Unit.h.

+ Here is the call graph for this function:

◆ operator()() [2/2]

bool Trinity::HealthPctOrderPred::operator() ( WorldObject const *  objA,
WorldObject const *  objB 
) const
inline

Definition at line 2026 of file Unit.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ _ascending

bool const Trinity::HealthPctOrderPred::_ascending
private

Definition at line 2043 of file Unit.h.


The documentation for this class was generated from the following file: