wavelength 1.0.0
Loading...
Searching...
No Matches
HostpadRT::ClientData Class Reference

The rank and the rating of a player, from which the host ranks the players. More...

#include <hostpadrt.h>

Public Member Functions

 ClientData (int nId, int nRank, int nRating)
 Construct an entry.
bool operator== (const ClientData &other) const
 Report whether two entries are of the same player.

Static Public Member Functions

static bool HigherRating (const ClientData &left, const ClientData &right)
 Report whether an entry has a higher rating than another, the order of SendRanks().

Public Attributes

int mId
int mRank
int mRating

Detailed Description

The rank and the rating of a player, from which the host ranks the players.

The RTTI names the type, which a standard library vector records.

Constructor & Destructor Documentation

◆ ClientData()

HostpadRT::ClientData::ClientData ( int nId,
int nRank,
int nRating )
inline

Construct an entry.

Inline.

Parameters
nIdThe player's identifier in the session.
nRankThe position in the ranking.
nRatingThe rating.

Member Function Documentation

◆ operator==()

bool HostpadRT::ClientData::operator== ( const ClientData & other) const
inline

Report whether two entries are of the same player.

Inline.

Parameters
otherThe other entry.
Returns
Whether the identifiers are equal.

◆ HigherRating()

bool HostpadRT::ClientData::HigherRating ( const ClientData & left,
const ClientData & right )
inlinestatic

Report whether an entry has a higher rating than another, the order of SendRanks().

Parameters
leftThe first entry.
rightThe second entry.
Returns
Whether left has the higher rating.
Ghidra address:
NTSC-U/C: 0x00398d38
Ghidra address:
PAL: 0x004075c0

Member Data Documentation

◆ mId

int HostpadRT::ClientData::mId

The player's identifier in the session.

◆ mRank

int HostpadRT::ClientData::mRank

The position in the ranking.

◆ mRating

int HostpadRT::ClientData::mRating

The rating.


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