TrinityCore
Trinity::ObjectDistanceOrderPred Class Reference

#include <Object.h>

Public Member Functions

 ObjectDistanceOrderPred (WorldObject const *refObj, bool ascending=true)
 
bool operator() (WorldObject const *left, WorldObject const *right) const
 

Private Attributes

WorldObject const * _refObj
 
bool _ascending
 

Detailed Description

Definition at line 850 of file Object.h.

Constructor & Destructor Documentation

◆ ObjectDistanceOrderPred()

Trinity::ObjectDistanceOrderPred::ObjectDistanceOrderPred ( WorldObject const *  refObj,
bool  ascending = true 
)
inline

Definition at line 853 of file Object.h.

Member Function Documentation

◆ operator()()

bool Trinity::ObjectDistanceOrderPred::operator() ( WorldObject const *  left,
WorldObject const *  right 
) const
inline

Definition at line 855 of file Object.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ _ascending

bool Trinity::ObjectDistanceOrderPred::_ascending
private

Definition at line 862 of file Object.h.

◆ _refObj

WorldObject const* Trinity::ObjectDistanceOrderPred::_refObj
private

Definition at line 861 of file Object.h.


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