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

#include <ThreatManager.h>

Public Member Functions

bool operator() (HostileReference const *a, HostileReference const *b) const
 ThreatOrderPred (bool ascending=false)

Private Attributes

const bool m_ascending

Detailed Description

Definition at line 260 of file ThreatManager.h.

Constructor & Destructor Documentation

◆ ThreatOrderPred()

Skyfire::ThreatOrderPred::ThreatOrderPred ( bool ascending = false)
inline

Definition at line 263 of file ThreatManager.h.

References m_ascending.

Member Function Documentation

◆ operator()()

bool Skyfire::ThreatOrderPred::operator() ( HostileReference const * a,
HostileReference const * b ) const
inline

Definition at line 264 of file ThreatManager.h.

References HostileReference::getThreat(), and m_ascending.

Member Data Documentation

◆ m_ascending

const bool Skyfire::ThreatOrderPred::m_ascending
private

Definition at line 269 of file ThreatManager.h.

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


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