|
Cavestory Mod API
|
A pointer-safe sortable client. More...
#include <CaveNet_ExportedTypes.h>
Public Member Functions | |
| PSSortableClient (int key) | |
| Constructor used to find an entry. More... | |
| PSSortableClient (NetClientId ghostId, int key) | |
| Real constructor. More... | |
| PSSortableClient () | |
| Default constructor. | |
| NetClient * | GetClient (bool Server) |
| Get the client associated with this. More... | |
| NetClient * | GetClient (bool Server) const |
| Get the client associated with this. More... | |
Public Attributes | |
| NetClientId | m_GhostId |
| The client's ghost id. | |
| int | m_Key |
| The key for this. | |
Protected Member Functions | |
| bool | operator< (const PSSortableClient &other) const |
| bool | operator<= (const PSSortableClient &other) const |
| bool | operator> (const PSSortableClient &other) const |
| bool | operator>= (const PSSortableClient &other) const |
| bool | operator!= (const PSSortableClient &other) const |
| bool | operator== (const PSSortableClient &other) const |
A pointer-safe sortable client.
This class is to be used with DynamicSortedBinList and SortedBinList.
|
inline |
Constructor used to find an entry.
| key | ... |
|
inline |
Real constructor.
| ghostId | ... |
| key | ... |
| NetClient* CaveNet::DataStructures::PSSortableClient::GetClient | ( | bool | Server | ) |
Get the client associated with this.
| Server | Whether or not to check the server-side client container instead of the client-side client container. |
| NetClient* CaveNet::DataStructures::PSSortableClient::GetClient | ( | bool | Server | ) | const |
Get the client associated with this.
| Server | Whether or not to check the server-side client container instead of the client-side client container. |