Stream of raw bytes, the base of the memory, file, and network streams.
Definition binstream.h:22
Best result of one player on one song at one skill level, as Campaign stores it.
Definition songstats.h:11
unsigned char mFullMixBars
Definition songstats.h:49
unsigned short mScore
Definition songstats.h:45
SongStats()
Construct a record with every byte cleared.
unsigned char mBlasted
Definition songstats.h:48
unsigned char mPercentDone
Definition songstats.h:50
const char * mSong
Definition songstats.h:44
bool operator==(const SongStats &other) const
Report whether two records are of the same song at the same skill level.
unsigned char mBestStreak
Definition songstats.h:47
bool Improve(const SongStats &other)
Raise each statistic to the larger of its own value and the value of another record.
unsigned char mSkillLevel
Definition songstats.h:46
BinStream & operator>>(BinStream &stream, SongStats &record)
Read a record the writer wrote.
BinStream & operator<<(BinStream &stream, const SongStats &record)
Write a record, with the song as the id of its entry.