5#ifndef RHYTHMGAME_BMSSCOREAFTERMATH_H
6#define RHYTHMGAME_BMSSCOREAFTERMATH_H
83 QObject* parent =
nullptr);
101 QObject* parent =
nullptr)
102 -> std::unique_ptr<BmsScore>;
116 auto
clone(QObject* parent =
nullptr) const -> std::unique_ptr<BmsScore>;
126 const QString& expectedGuid)
128 void save(
db::SqliteCppDb&
db) const;
QByteArray data
Definition Lr2FontCache.cpp:25
The history of all gauges used in a BMS score.
Definition BmsGaugeHistory.h:67
Definition BmsReplayData.h:18
The aggregated info about a score.
Definition BmsResult.h:23
The result of playing a chart.
Definition BmsScore.h:16
auto isImported() const -> bool
Definition BmsScore.cpp:190
auto getLongNoteMode() const -> LongNoteMode
Definition BmsScore.cpp:165
LongNoteMode
Definition BmsScore.h:29
auto getReplayData() const -> BmsReplayData *
Definition BmsScore.cpp:150
BmsScore(std::unique_ptr< BmsResult > result, std::unique_ptr< BmsReplayData > replayData, std::unique_ptr< BmsGaugeHistory > gaugeHistory, QObject *parent=nullptr)
Definition BmsScore.cpp:77
void save(db::SqliteCppDb &db) const
Definition BmsScore.cpp:219
auto getSource() const -> Source
Definition BmsScore.cpp:160
auto getResult() const -> BmsResult *
Definition BmsScore.cpp:128
static auto fromRemoteJson(const QByteArray &data, const QString &expectedGuid) -> std::unique_ptr< BmsScore >
Definition BmsScore.cpp:13
QString sourceName
Definition BmsScore.h:64
void submissionStateChanged()
auto getSourceName() const -> QString
Definition BmsScore.cpp:170
static auto fromImportedResult(std::unique_ptr< BmsResult > result, Source source, LongNoteMode longNoteMode=LongNoteMode::Ln, QObject *parent=nullptr) -> std::unique_ptr< BmsScore >
Construct an incomplete score from imported aggregate result data.
Definition BmsScore.cpp:117
auto getGaugeHistory() const -> BmsGaugeHistory *
Definition BmsScore.cpp:155
auto prepareSave() const -> PreparedData
Definition BmsScore.cpp:208
SubmissionState
Definition BmsScore.h:36
BmsReplayData * replayData
The replay data of the score.
Definition BmsScore.h:53
BmsResult * result
The aggregated info about the score.
Definition BmsScore.h:49
auto getSubmissionState() const -> SubmissionState
Definition BmsScore.cpp:203
auto clone(QObject *parent=nullptr) const -> std::unique_ptr< BmsScore >
Definition BmsScore.cpp:134
bool imported
Definition BmsScore.h:65
SubmissionState submissionState
The state of score submission to the online server.
Definition BmsScore.h:70
Source
Definition BmsScore.h:20
Source source
Whether this is an incomplete score imported without the data produced by a local play.
Definition BmsScore.h:63
BmsGaugeHistory * gaugeHistory
The gauge history of the score.
Definition BmsScore.h:57
void setSubmissionState(SubmissionState newState)
Definition BmsScore.cpp:195
Namespace for database related classes and functions.
Definition QtArenaRoundLoader.h:15
Classes and functions mostly related to gameplay.
Definition ArenaGameplaySource.h:10
Definition BmsScore.h:118
QByteArray randomSequence
Definition BmsScore.h:119
QByteArray replay
Definition BmsScore.h:120
QByteArray gauges
Definition BmsScore.h:121