|
RhythmGame 1.4.3
|
The history of all gauges used in a BMS score. More...
#include <BmsGaugeHistory.h>


Classes | |
| struct | DTO |
Public Member Functions | |
| BmsGaugeHistory (QList< BmsGaugeInfo > gaugeInfo, QString guid, QObject *parent=nullptr) | |
| Construct a new Bms Gauge History object. | |
| auto | getGaugeInfo () const -> QList< BmsGaugeInfo > |
| auto | getGuid () const -> QString |
| void | save (db::SqliteCppDb &db) const |
| auto | serialize () const -> QByteArray |
| void | save (db::SqliteCppDb &db, const QByteArray &serialized) const |
| auto | toJsonArray () const -> QJsonArray |
Static Public Member Functions | |
| static auto | load (const DTO &dto) -> std::unique_ptr< BmsGaugeHistory > |
| static auto | fromJsonArray (const QJsonArray &array) -> QList< BmsGaugeInfo > |
Properties | |
| QList< BmsGaugeInfo > | gaugeInfo |
| A list of gauge infos with entries and metadata. | |
| QString | guid |
| The unique identifier for the score. | |
The history of all gauges used in a BMS score.
Besides a list of gauge infos, it also contains the unique identifier of the score it belongs to.
|
explicit |
Construct a new Bms Gauge History object.
| gaugeInfo | A list of gauge infos with entries and metadata |
| guid | The unique identifier for the score |
| parent | QObject parent |
|
static |
| auto gameplay_logic::BmsGaugeHistory::getGaugeInfo | ( | ) | const -> QList<BmsGaugeInfo> |
| auto gameplay_logic::BmsGaugeHistory::getGuid | ( | ) | const -> QString |
|
static |
| void gameplay_logic::BmsGaugeHistory::save | ( | db::SqliteCppDb & | db | ) | const |
| void gameplay_logic::BmsGaugeHistory::save | ( | db::SqliteCppDb & | db, |
| const QByteArray & | serialized | ||
| ) | const |
| auto gameplay_logic::BmsGaugeHistory::serialize | ( | ) | const -> QByteArray |
| auto gameplay_logic::BmsGaugeHistory::toJsonArray | ( | ) | const -> QJsonArray |
|
read |
A list of gauge infos with entries and metadata.
|
read |
The unique identifier for the score.