70 const HxStr &colorName,
73 : mPlayerId(nPlayerId), mColorName(colorName), mAppearance(appearance), mTrack(nTrack),
74 mActive(1), mReady(0), mOriginalId(nPlayerId) {
95 virtual void Print(std::ostream &stream)
const;
129 std::vector<int> mEntries;
Appearance of a player's avatar.
Definition freqappearance.h:39
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Input half of the byte stream interface.
Definition ibstream.h:36
Output half of the byte stream interface.
Definition obstream.h:25
PlayerInfo(unsigned nPlayerId, const HxStr &colorName, const FreqAppearance &appearance, int nTrack)
Construct an identity from its parts.
Definition playerinfo.h:69
PlayerInfo()
Construct an empty identity.
Definition playerinfo.h:52
virtual ~PlayerInfo()
Release the vector, the appearance, and the name.
virtual void Save(OBStream &stream) const
Write the identity to a stream.
virtual void Print(std::ostream &stream) const
Write the identity to a diagnostic stream.
virtual void Load(IBStream &stream)
Read the identity back from a stream.