|
RhythmGame 1.4.3
|
#include <BmsResultCourse.h>


Classes | |
| struct | DTO |
Signals | |
| void | changed () |
Public Member Functions | |
| void | save (db::SqliteCppDb &db) const |
| BmsResultCourse (QString guid, QString identifier, const QList< BmsResult * > &results, QString clearType, int maxCombo, QStringList constraints, uint64_t gameVersion=support::currentVersion, QObject *parent=nullptr) | |
| auto | clone () const -> std::unique_ptr< BmsResultCourse > |
| bool | updateFrom (const BmsResultCourse &other) |
| bool | isComplete () const |
| bool | isReplayAvailable () const |
| bool | isImported () const |
| BmsResultCourse (QString guid, QString identifier, QList< BmsScore * > scores, QString clearType, int maxCombo, QStringList constraints, uint64_t gameVersion=support::currentVersion, QObject *parent=nullptr) | |
| auto | getMaxPoints () const -> double |
| auto | getMaxHits () const -> int |
| auto | getNormalNoteCount () const -> int |
| auto | getScratchCount () const -> int |
| auto | getLnCount () const -> int |
| auto | getBssCount () const -> int |
| auto | getMineCount () const -> int |
| auto | getPoints () const -> double |
| auto | getMaxCombo () const -> int |
| auto | getJudgementCounts () const -> QList< int > |
| auto | getMineHits () const -> int |
| auto | getClearType () const -> const QString & |
| auto | getRandomSequence () -> QList< qint64 > |
| auto | getUnixTimestamp () const -> int64_t |
| auto | getGuid () const -> QString |
| auto | getSha256 () const -> QString |
| auto | getMd5 () const -> QString |
| auto | getNoteOrderAlgorithm () const -> resource_managers::NoteOrderAlgorithm |
| auto | getNoteOrderAlgorithmP2 () const -> resource_managers::NoteOrderAlgorithm |
| auto | getGameVersion () const -> uint64_t |
| auto | getResults () const -> const QList< BmsResult * > & |
| auto | getConstraints () const -> QStringList |
| auto | getTrophies () const -> QVariantList |
| auto | getIdentifier () const -> QString |
| auto | getDpOptions () const -> resource_managers::DpOptions |
| auto | getLength () const -> int64_t |
| auto | getKeymode () const -> ChartData::Keymode |
Static Public Member Functions | |
| static auto | load (const DTO &dto, const QList< BmsResult * > &results) -> std::unique_ptr< BmsResultCourse > |
Properties | |
| double | maxPoints |
| The maximum possible points achievable in the score. | |
| int | maxHits |
| The maximum number of possible hits (normal notes + long notes) in the chart. | |
| int | normalNoteCount |
| The number of normal notes in the course. | |
| int | scratchCount |
| The number of scratch notes in the course. | |
| int | lnCount |
| The number of long notes in the course excluding BSS (scratch lns). | |
| int | bssCount |
| The number of BSS (scratch long notes) in the course. | |
| int | mineCount |
| The number of mines (landmines) in the course. | |
| double | points |
| The points achieved in the score. | |
| int | maxCombo |
| The best combo achieved in the score. | |
| QList< int > | judgementCounts |
| The counts of each judgement type achieved in the score. | |
| int | mineHits |
| The number of mines hit in the score. | |
| QString | clearType |
| The clear type achieved in the score. | |
| QList< qint64 > | randomSequence |
| The random sequence used for parsing the constituent charts. | |
| int64_t | unixTimestamp = 0 |
| The timestamp when the score was achieved, in Unix time. | |
| int64_t | length |
| The length of the course in nanoseconds. | |
| QString | guid |
| The unique identifier of this course score. | |
| QString | sha256 |
| The SHA-256 hashes of constituent charts, joined with spaces. | |
| QString | md5 |
| The MD5 hashes of constituent charts, joined with spaces. | |
| resource_managers::NoteOrderAlgorithm noteOrderAlgorithm READ | getNoteOrderAlgorithm |
| The note order algorithm used for the course. | |
| resource_managers::NoteOrderAlgorithm noteOrderAlgorithmP2 READ | getNoteOrderAlgorithmP2 |
| The note order algorithm used for player 2 side in DP charts. | |
| QString | identifier |
| The unique identifier of the course, based on chart identifiers and contraints. | |
| resource_managers::DpOptions | dpOptions |
| The DP options used for the score. | |
| uint64_t | gameVersion |
| The game version where the score was achieved. | |
| gameplay_logic::ChartData::Keymode | keymode |
| The keymode of the chart. | |
| QStringList | constraints |
| The constraints of the course, like "gauge_lr2" or "grade_mirror". | |
| QList< BmsResult * > | results |
| bool | complete |
| bool | replayAvailable |
| bool | imported |
| gameplay_logic::BmsResultCourse::BmsResultCourse | ( | QString | guid, |
| QString | identifier, | ||
| const QList< BmsResult * > & | results, | ||
| QString | clearType, | ||
| int | maxCombo, | ||
| QStringList | constraints, | ||
| uint64_t | gameVersion = support::currentVersion, |
||
| QObject * | parent = nullptr |
||
| ) |
| gameplay_logic::BmsResultCourse::BmsResultCourse | ( | QString | guid, |
| QString | identifier, | ||
| QList< BmsScore * > | scores, | ||
| QString | clearType, | ||
| int | maxCombo, | ||
| QStringList | constraints, | ||
| uint64_t | gameVersion = support::currentVersion, |
||
| QObject * | parent = nullptr |
||
| ) |
|
signal |
| auto gameplay_logic::BmsResultCourse::clone | ( | ) | const -> std::unique_ptr<BmsResultCourse> |
| auto gameplay_logic::BmsResultCourse::getBssCount | ( | ) | const -> int |
| auto gameplay_logic::BmsResultCourse::getClearType | ( | ) | const -> const QString& |
| auto gameplay_logic::BmsResultCourse::getConstraints | ( | ) | const -> QStringList |
| auto gameplay_logic::BmsResultCourse::getDpOptions | ( | ) | const -> resource_managers::DpOptions |
| auto gameplay_logic::BmsResultCourse::getGameVersion | ( | ) | const -> uint64_t |
| auto gameplay_logic::BmsResultCourse::getGuid | ( | ) | const -> QString |
| auto gameplay_logic::BmsResultCourse::getIdentifier | ( | ) | const -> QString |
| auto gameplay_logic::BmsResultCourse::getJudgementCounts | ( | ) | const -> QList<int> |
| auto gameplay_logic::BmsResultCourse::getKeymode | ( | ) | const -> ChartData::Keymode |
| auto gameplay_logic::BmsResultCourse::getLength | ( | ) | const -> int64_t |
| auto gameplay_logic::BmsResultCourse::getLnCount | ( | ) | const -> int |
| auto gameplay_logic::BmsResultCourse::getMaxCombo | ( | ) | const -> int |
| auto gameplay_logic::BmsResultCourse::getMaxHits | ( | ) | const -> int |
| auto gameplay_logic::BmsResultCourse::getMaxPoints | ( | ) | const -> double |
| auto gameplay_logic::BmsResultCourse::getMd5 | ( | ) | const -> QString |
| auto gameplay_logic::BmsResultCourse::getMineCount | ( | ) | const -> int |
| auto gameplay_logic::BmsResultCourse::getMineHits | ( | ) | const -> int |
| auto gameplay_logic::BmsResultCourse::getNormalNoteCount | ( | ) | const -> int |
| auto gameplay_logic::BmsResultCourse::getNoteOrderAlgorithm | ( | ) | const -> resource_managers::NoteOrderAlgorithm |
| auto gameplay_logic::BmsResultCourse::getNoteOrderAlgorithmP2 | ( | ) | const -> resource_managers::NoteOrderAlgorithm |
| auto gameplay_logic::BmsResultCourse::getPoints | ( | ) | const -> double |
| auto gameplay_logic::BmsResultCourse::getRandomSequence | ( | ) | -> QList<qint64> |
| auto gameplay_logic::BmsResultCourse::getResults | ( | ) | const -> const QList<BmsResult*>& |
| auto gameplay_logic::BmsResultCourse::getScratchCount | ( | ) | const -> int |
| auto gameplay_logic::BmsResultCourse::getSha256 | ( | ) | const -> QString |
| auto gameplay_logic::BmsResultCourse::getTrophies | ( | ) | const -> QVariantList |
| auto gameplay_logic::BmsResultCourse::getUnixTimestamp | ( | ) | const -> int64_t |
| bool gameplay_logic::BmsResultCourse::isComplete | ( | ) | const |
| bool gameplay_logic::BmsResultCourse::isImported | ( | ) | const |
| bool gameplay_logic::BmsResultCourse::isReplayAvailable | ( | ) | const |
|
static |
| void gameplay_logic::BmsResultCourse::save | ( | db::SqliteCppDb & | db | ) | const |
| bool gameplay_logic::BmsResultCourse::updateFrom | ( | const BmsResultCourse & | other | ) |
Updates cached metadata while keeping existing QML references valid.
|
read |
The number of BSS (scratch long notes) in the course.
A BSS consists of an ln start and ln end. Such a pair counts as one BSS.
|
read |
The clear type achieved in the score.
This property indicates the type of clear achieved in the score, such as "DAN", "EXDAN", "EXHARDDAN", "FAILED", etc.
|
read |
Whether every referenced stage record is available, even for an unfinished course.
|
read |
The constraints of the course, like "gauge_lr2" or "grade_mirror".
|
read |
The DP options used for the score.
This property indicates the DP options that were active during gameplay.
|
read |
The game version where the score was achieved.
For migrations.
| resource_managers::NoteOrderAlgorithm noteOrderAlgorithm READ gameplay_logic::BmsResultCourse::getNoteOrderAlgorithm |
The note order algorithm used for the course.
This property indicates the algorithm used to modify the arrangement of notes in the chart.
| resource_managers::NoteOrderAlgorithm noteOrderAlgorithmP2 READ gameplay_logic::BmsResultCourse::getNoteOrderAlgorithmP2 |
The note order algorithm used for player 2 side in DP charts.
|
read |
The unique identifier of this course score.
|
read |
The unique identifier of the course, based on chart identifiers and contraints.
|
read |
Whether any stage was imported from another game.
|
read |
The counts of each judgement type achieved in the score.
The order is defined in the Judgement enum.
|
read |
The keymode of the chart.
Can be different from the keymode of chartData when resource_managers::dp_options::DpOptions is battle.
|
read |
The length of the course in nanoseconds.
This property indicates the total duration of the course from start to finish, measured in nanoseconds.
|
read |
The number of long notes in the course excluding BSS (scratch lns).
A long note consists of an LN start and LN end. Such a pair counts as one long note.
|
read |
The best combo achieved in the score.
|
read |
The maximum number of possible hits (normal notes + long notes) in the chart.
|
read |
The maximum possible points achievable in the score.
|
read |
The MD5 hashes of constituent charts, joined with spaces.
|
read |
The number of mines (landmines) in the course.
|
read |
The number of mines hit in the score.
|
read |
The number of normal notes in the course.
Normal means not long notes, not mines, not invisible notes, not scratches
|
read |
The points achieved in the score.
|
read |
The random sequence used for parsing the constituent charts.
If the charts use #RANDOM, this property provides the sequence of random values used to determine the contents of the chart. If charts do not use randomization, this list will be empty.
|
read |
Whether every referenced stage has a recording.
|
read |
Ordered saved stage results. A missing record keeps its null slot.
|
read |
The number of scratch notes in the course.
Scratch notes are normal notes on scratch columns.
|
read |
The SHA-256 hashes of constituent charts, joined with spaces.
|
read |
The timestamp when the score was achieved, in Unix time.
This property records the time when the score on the last chart of the course was created, represented as the number of seconds since January 1, 1970 (the Unix epoch).