|
wavelength 1.0.0
|
Best result of one player on one song at one skill level, as Campaign stores it. More...
#include <songstats.h>
Public Member Functions | |
| SongStats () | |
| Construct a record with every byte cleared. | |
| bool | Improve (const SongStats &other) |
| Raise each statistic to the larger of its own value and the value of another record. | |
| bool | operator== (const SongStats &other) const |
| Report whether two records are of the same song at the same skill level. | |
Public Attributes | |
| const char * | mSong |
| unsigned short | mScore |
| unsigned char | mSkillLevel |
| unsigned char | mBestStreak |
| unsigned char | mBlasted |
| unsigned char | mFullMixBars |
| unsigned char | mPercentDone |
Best result of one player on one song at one skill level, as Campaign stores it.
The class is not polymorphic. The name comes from the RTTI of the vectors that store it. The object is 12 bytes.
| SongStats::SongStats | ( | ) |
Construct a record with every byte cleared.
| bool SongStats::Improve | ( | const SongStats & | other | ) |
Raise each statistic to the larger of its own value and the value of another record.
Nothing changes unless the other record has a higher score, more full mix bars, a higher share blasted, or a longer best streak. The name is inferred.
| other | The other record. |
| bool SongStats::operator== | ( | const SongStats & | other | ) | const |
Report whether two records are of the same song at the same skill level.
| other | The other record. |
| const char* SongStats::mSong |
The song, a symbol.
| unsigned short SongStats::mScore |
The best score.
| unsigned char SongStats::mSkillLevel |
The skill level.
| unsigned char SongStats::mBestStreak |
The best streak.
| unsigned char SongStats::mBlasted |
The share of the gems blasted, in percent.
| unsigned char SongStats::mFullMixBars |
The bars played with the full mix.
| unsigned char SongStats::mPercentDone |
The part of the song played, 100 for a finished song.