Stores ghosting information for a single NPC.
More...
#include <CaveNet_ExportedTypes.h>
Stores ghosting information for a single NPC.
A class for storing client-specific ghost information for NPCs.
◆ operator!=()
| bool CaveNet::DataStructures::GhostInfo::operator!= |
( |
const GhostInfo & |
other | ) |
const |
|
inline |
For SortedBinList compatibility.
- Parameters
-
| other | The other class to compare ourselves to. |
- Returns
- Returns true if our ticks_alive are not equal to the other ghost's ticks_alive.
◆ operator<()
| bool CaveNet::DataStructures::GhostInfo::operator< |
( |
const GhostInfo & |
other | ) |
const |
|
inline |
For SortedBinList compatibility.
- Parameters
-
| other | The other class to compare ourselves to. |
- Returns
- Returns true if our ticks_alive are less than the other ghost's ticks_alive.
◆ operator<=()
| bool CaveNet::DataStructures::GhostInfo::operator<= |
( |
const GhostInfo & |
other | ) |
const |
|
inline |
For SortedBinList compatibility.
- Parameters
-
| other | The other class to compare ourselves to. |
- Returns
- Returns true if our ticks_alive are less than or equal to the other ghost's ticks_alive.
◆ operator==()
| bool CaveNet::DataStructures::GhostInfo::operator== |
( |
const GhostInfo & |
other | ) |
const |
|
inline |
For SortedBinList compatibility.
- Parameters
-
| other | The other class to compare ourselves to. |
- Returns
- Returns true if our ticks_alive are equal to the other ghost's ticks_alive.
◆ operator>()
| bool CaveNet::DataStructures::GhostInfo::operator> |
( |
const GhostInfo & |
other | ) |
const |
|
inline |
For SortedBinList compatibility.
- Parameters
-
| other | The other class to compare ourselves to. |
- Returns
- Returns true if our ticks_alive are greater than the other ghost's ticks_alive.
◆ operator>=()
| bool CaveNet::DataStructures::GhostInfo::operator>= |
( |
const GhostInfo & |
other | ) |
const |
|
inline |
For SortedBinList compatibility.
- Parameters
-
| other | The other class to compare ourselves to. |
- Returns
- Returns true if our ticks_alive are greater than or equal to the other ghost's ticks_alive.
◆ ticks_alive
| int CaveNet::DataStructures::GhostInfo::ticks_alive |
How many ticks have passed since this ghost info was created.
Used to score which ghost object gets scoped next.
The documentation for this class was generated from the following file: