22 : mLocal(nLocal), mSlot(nSlot), mScore(0), mRank(-1), mProfile(profile),
23 mNetOrder(nNetOrder) {
112 mNetOrder = nNetOrder;
Saved settings and progress of one player, among them the controller bindings.
Definition campaign.h:20
void SetScore(int nScore)
Set the score of the player.
Definition playerinfo.h:64
void SetNetOrder(int nNetOrder)
Set the position in the order of the online session.
Definition playerinfo.h:111
void SetLocal(int nLocal)
Set whether the player is on this console.
Definition playerinfo.h:36
void SetRank(int nRank)
Set the rank of the player.
Definition playerinfo.h:78
int GetScore() const
Definition playerinfo.h:55
Campaign & GetProfile()
Definition playerinfo.h:83
int GetNetOrder() const
Definition playerinfo.h:102
int GetLocal() const
Definition playerinfo.h:27
void SetProfile(const Campaign &profile)
Replace the copy of the profile.
Definition playerinfo.h:97
void SetSlot(int nSlot)
Set the slot of the player.
Definition playerinfo.h:50
int GetRank() const
Definition playerinfo.h:69
PlayerInfo(int nLocal, int nSlot, const Campaign &profile, int nNetOrder)
Construct a player with no score and no rank.
Definition playerinfo.h:21
const Campaign & GetProfile() const
Definition playerinfo.h:88
int GetSlot() const
Definition playerinfo.h:41