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

#include <LuaEngine.h>

Collaboration diagram for Eluna::ObjectDistanceOrderPred:

Public Member Functions

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

Public Attributes

const bool m_ascending
WorldObject const * m_refObj

Detailed Description

Definition at line 664 of file LuaEngine.h.

Constructor & Destructor Documentation

◆ ObjectDistanceOrderPred()

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

Definition at line 666 of file LuaEngine.h.

References m_ascending, and m_refObj.

Member Function Documentation

◆ operator()()

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

Definition at line 667 of file LuaEngine.h.

References m_ascending, and m_refObj.

Member Data Documentation

◆ m_ascending

const bool Eluna::ObjectDistanceOrderPred::m_ascending

Definition at line 673 of file LuaEngine.h.

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

◆ m_refObj

WorldObject const* Eluna::ObjectDistanceOrderPred::m_refObj

Definition at line 672 of file LuaEngine.h.

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


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