Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
Skyfire::ObjectDistanceOrderPred Class Reference

#include <Object.h>

Collaboration diagram for Skyfire::ObjectDistanceOrderPred:

Public Member Functions

 ObjectDistanceOrderPred (WorldObject const *pRefObj, bool ascending=true)
bool operator() (WorldObject const *pLeft, WorldObject const *pRight) const

Private Attributes

const bool m_ascending
WorldObject const * m_refObj

Detailed Description

Definition at line 858 of file Object.h.

Constructor & Destructor Documentation

◆ ObjectDistanceOrderPred()

Skyfire::ObjectDistanceOrderPred::ObjectDistanceOrderPred ( WorldObject const * pRefObj,
bool ascending = true )
inline

Definition at line 861 of file Object.h.

References m_ascending, and m_refObj.

Member Function Documentation

◆ operator()()

bool Skyfire::ObjectDistanceOrderPred::operator() ( WorldObject const * pLeft,
WorldObject const * pRight ) const
inline

Definition at line 862 of file Object.h.

References m_ascending, and m_refObj.

Member Data Documentation

◆ m_ascending

const bool Skyfire::ObjectDistanceOrderPred::m_ascending
private

Definition at line 868 of file Object.h.

Referenced by ObjectDistanceOrderPred(), and operator()().

◆ m_refObj

WorldObject const* Skyfire::ObjectDistanceOrderPred::m_refObj
private

Definition at line 867 of file Object.h.

Referenced by ObjectDistanceOrderPred(), and operator()().


The documentation for this class was generated from the following file:
  • src/server/game/Entities/Object/Object.h