RhythmGame 1.4.3
Loading...
Searching...
No Matches
Public Member Functions | List of all members
rhythm_game_qml::ScreenContexts Class Reference

#include <ScreenContexts.h>

Inheritance diagram for rhythm_game_qml::ScreenContexts:
Inheritance graph
[legend]
Collaboration diagram for rhythm_game_qml::ScreenContexts:
Collaboration graph
[legend]

Public Member Functions

 ScreenContexts (QObject *parent=nullptr)
 
Q_INVOKABLE rhythm_game_qml::GameplayContext * createGameplay (QObject *runner, arena::ArenaSession *arenaSession=nullptr) const
 
Q_INVOKABLE bool canRetry (rhythm_game_qml::GameplayContext *gameplay, qml_components::ChartLoader *loader) const
 
Q_INVOKABLE rhythm_game_qml::GameplayContext * retryGameplay (rhythm_game_qml::GameplayContext *gameplay, qml_components::ChartLoader *loader, bool samePattern) const
 
Q_INVOKABLE QObject * legacyRunner (rhythm_game_qml::GameplayContext *gameplay) const
 
Q_INVOKABLE rhythm_game_qml::ResultContext * createResult (const QList< gameplay_logic::BmsScore * > &scores, const QList< resource_managers::Profile * > &profiles, gameplay_logic::ChartData *chartData, rhythm_game_qml::GameplayContext *gameplay, const QString &arenaRoundId={}) const
 
Q_INVOKABLE rhythm_game_qml::CourseResultContext * createCourseResult (const QList< gameplay_logic::BmsScoreCourse * > &scores, const QList< resource_managers::Profile * > &profiles, const QList< gameplay_logic::ChartData * > &charts, const resource_managers::Course &course) const
 

Constructor & Destructor Documentation

◆ ScreenContexts()

rhythm_game_qml::ScreenContexts::ScreenContexts ( QObject *  parent = nullptr)
inlineexplicit

Member Function Documentation

◆ canRetry()

bool rhythm_game_qml::ScreenContexts::canRetry ( rhythm_game_qml::GameplayContext *  gameplay,
qml_components::ChartLoader *  loader 
) const

◆ createCourseResult()

auto rhythm_game_qml::ScreenContexts::createCourseResult ( const QList< gameplay_logic::BmsScoreCourse * > &  scores,
const QList< resource_managers::Profile * > &  profiles,
const QList< gameplay_logic::ChartData * > &  charts,
const resource_managers::Course &  course 
) const

◆ createGameplay()

auto rhythm_game_qml::ScreenContexts::createGameplay ( QObject *  runner,
arena::ArenaSession *  arenaSession = nullptr 
) const

◆ createResult()

auto rhythm_game_qml::ScreenContexts::createResult ( const QList< gameplay_logic::BmsScore * > &  scores,
const QList< resource_managers::Profile * > &  profiles,
gameplay_logic::ChartData *  chartData,
rhythm_game_qml::GameplayContext *  gameplay,
const QString &  arenaRoundId = {} 
) const

◆ legacyRunner()

Q_INVOKABLE QObject * rhythm_game_qml::ScreenContexts::legacyRunner ( rhythm_game_qml::GameplayContext *  gameplay) const
inline

◆ retryGameplay()

auto rhythm_game_qml::ScreenContexts::retryGameplay ( rhythm_game_qml::GameplayContext *  gameplay,
qml_components::ChartLoader *  loader,
bool  samePattern 
) const

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