RhythmGame 1.4.3
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Properties | List of all members
gameplay_logic::BmsScoreCourse Class Reference

The result of playing a course. More...

#include <BmsScoreCourse.h>

Inheritance diagram for gameplay_logic::BmsScoreCourse:
Inheritance graph
[legend]
Collaboration diagram for gameplay_logic::BmsScoreCourse:
Collaboration graph
[legend]

Public Member Functions

 BmsScoreCourse (std::unique_ptr< BmsResultCourse > resultCourse, std::unique_ptr< BmsGaugeHistory > gaugeHistory, std::unique_ptr< BmsReplayData > replayData, QList< BmsScore * > scores, QObject *parent=nullptr)
 
auto getScores () const -> const QList< BmsScore * > &
 
auto getResult () const -> BmsResultCourse *
 
auto getGaugeHistory () const -> BmsGaugeHistory *
 
auto getReplayData () const -> BmsReplayData *
 
void save (db::SqliteCppDb &db) const
 
auto clone (QObject *parent=nullptr) const -> std::unique_ptr< BmsScoreCourse >
 

Static Public Member Functions

static auto fromScores (std::unique_ptr< BmsResultCourse > resultCourse, QList< BmsScore * > scores, QObject *parent=nullptr) -> std::unique_ptr< BmsScoreCourse >
 

Properties

QList< BmsScore * > scores
 The individual scores for each chart in the course.
 
BmsResultCourse * result
 The overall result of the course.
 
BmsGaugeHistory * gaugeHistory
 The combined gauge history of the course.
 
BmsReplayData * replayData
 The combined replay data of the course.
 

Detailed Description

The result of playing a course.

Constructor & Destructor Documentation

◆ BmsScoreCourse()

gameplay_logic::BmsScoreCourse::BmsScoreCourse ( std::unique_ptr< BmsResultCourse >  resultCourse,
std::unique_ptr< BmsGaugeHistory >  gaugeHistory,
std::unique_ptr< BmsReplayData >  replayData,
QList< BmsScore * >  scores,
QObject *  parent = nullptr 
)
explicit

Member Function Documentation

◆ clone()

auto gameplay_logic::BmsScoreCourse::clone ( QObject *  parent = nullptr) const -> std::unique_ptr<BmsScoreCourse>

◆ fromScores()

auto gameplay_logic::BmsScoreCourse::fromScores ( std::unique_ptr< BmsResultCourse >  resultCourse,
QList< BmsScore * >  scores,
QObject *  parent = nullptr 
) -> std::unique_ptr<BmsScoreCourse>
static

◆ getGaugeHistory()

auto gameplay_logic::BmsScoreCourse::getGaugeHistory ( ) const -> BmsGaugeHistory*

◆ getReplayData()

auto gameplay_logic::BmsScoreCourse::getReplayData ( ) const -> BmsReplayData*

◆ getResult()

auto gameplay_logic::BmsScoreCourse::getResult ( ) const -> BmsResultCourse*

◆ getScores()

auto gameplay_logic::BmsScoreCourse::getScores ( ) const -> const QList<BmsScore*>&

◆ save()

void gameplay_logic::BmsScoreCourse::save ( db::SqliteCppDb &  db) const

Property Documentation

◆ gaugeHistory

BmsGaugeHistory * gameplay_logic::BmsScoreCourse::gaugeHistory
read

The combined gauge history of the course.

◆ replayData

BmsReplayData * gameplay_logic::BmsScoreCourse::replayData
read

The combined replay data of the course.

Timestamps include the lengths of earlier stages. Note indices and columns remain local to each stage. Use scores for stage-specific note matching.

◆ result

BmsResultCourse * gameplay_logic::BmsScoreCourse::result
read

The overall result of the course.

◆ scores

QList< BmsScore * > gameplay_logic::BmsScoreCourse::scores
read

The individual scores for each chart in the course.


The documentation for this class was generated from the following files: