78 mChannelId = nChannelId;
83 return mConnectionType;
88 mConnectionType = nConnectionType;
123 mLastOnline = lastOnline;
168 mRankIcon = nRankIcon;
Parts and colours of a player's avatar, the Freq the Freq maker edits.
Definition avatarpartset.h:23
Local date and time of the console clock.
Definition datetime.h:14
A player of the lobby server, as FindPlayerMsg reports it.
Definition lobbyplayer.h:16
int GetRankIcon() const
Definition lobbyplayer.h:162
int GetChannelId() const
Definition lobbyplayer.h:72
DateTime & GetLastOnline()
Definition lobbyplayer.h:117
int GetId() const
Definition lobbyplayer.h:102
void SetAvatar(const AvatarPartSet &avatar)
Definition lobbyplayer.h:67
int GetMuted() const
Definition lobbyplayer.h:127
void SetRecord(const RatingRecord &record)
Definition lobbyplayer.h:192
void SetName(const char *pszName)
Definition lobbyplayer.h:147
AvatarPartSet & GetAvatar()
Definition lobbyplayer.h:62
void SetChannelId(int nChannelId)
Definition lobbyplayer.h:77
void SetRankIcon(int nRankIcon)
Definition lobbyplayer.h:167
const AvatarPartSet & GetAvatar() const
Definition lobbyplayer.h:57
const RatingRecord & GetRecord() const
Definition lobbyplayer.h:182
int GetGames() const
Definition lobbyplayer.h:92
RatingRecord & GetRecord()
Definition lobbyplayer.h:187
int GetRating() const
Definition lobbyplayer.h:172
void SetConnectionType(int nConnectionType)
Definition lobbyplayer.h:87
void SetId(int nId)
Definition lobbyplayer.h:107
void SetMuted(int nMuted)
Definition lobbyplayer.h:132
const String & GetName() const
Definition lobbyplayer.h:137
void SetRating(int nRating)
Definition lobbyplayer.h:177
bool IsNewbie() const
Report whether the player is new to the online game.
void SetRating(const RatingStat *pStat)
Take the rating and the record of a rated player.
ConnectionType
Values of mConnectionType.
Definition lobbyplayer.h:19
@ kConnectionSlow
Definition lobbyplayer.h:21
@ kConnectionNone
Definition lobbyplayer.h:20
@ kConnectionFast
Definition lobbyplayer.h:22
@ kConnectionOffline
Definition lobbyplayer.h:23
void SetRank(int nRank)
Definition lobbyplayer.h:157
String & GetName()
Definition lobbyplayer.h:142
int GetConnectionType() const
Definition lobbyplayer.h:82
void SetLastOnline(const DateTime &lastOnline)
Definition lobbyplayer.h:122
LobbyPlayer()
Construct a player with no name, the default Freq, and no rank.
int GetRank() const
Definition lobbyplayer.h:152
const DateTime & GetLastOnline() const
Definition lobbyplayer.h:112
void SetGames(int nGames)
Definition lobbyplayer.h:97
Text output stream.
Definition prnstream.h:16
The rating of one player of an online game, and the results that rate the player afterwards.
Definition ratingstat.h:14
Growable text buffer that is also a PrnStream.
Definition string.h:19
PrnStream & operator<<(PrnStream &stream, const LobbyPlayer &player)
Write a player as its identifier, name, rating, rank, rank icon, games, record, mute state,...
The results of the online games of a player that the next rating weighs.
Definition ratingrecord.h:10