|
RhythmGame 1.4.3
|
The main singleton class that provides access to various components of the application. More...
#include <Rg.h>


Signals | |
| void | arenaActivityChanged () |
Static Public Member Functions | |
| static auto | create (QQmlEngine *qmlEngine, QJSEngine *) -> Rg * |
Static Public Attributes | |
| static Rg * | instance = nullptr |
Properties | |
| QML_ELEMENTqml_components::ProgramSettings *programSettings MEMBER | programSettings |
| input::InputTranslator * | inputTranslator |
| qml_components::ChartLoader * | chartLoader |
| qml_components::RootSongFoldersConfig * | rootSongFoldersConfig |
| qml_components::SongFolderFactory *songFolderFactory MEMBER | songFolderFactory |
| qml_components::SongDirectoryFilePathFetcher * | songDirectoryFilePathFetcher |
| qml_components::FileQuery * | fileQuery |
| qml_components::Themes * | themes |
| input::GamepadManager * | gamepadManager |
| qml_components::ProfileList * | profileList |
| arena::ArenaSession * | arenaSession |
| int | arenaRoomCount |
| resource_managers::Tables * | tables |
| resource_managers::Languages * | languages |
| sounds::AudioEngine * | audioEngine |
| qml_components::OnlineScores * | onlineScores |
| resource_managers::SongAssetStore * | songAssets |
The main singleton class that provides access to various components of the application.
This class is exposed to QML as a singleton. Access it by importing RhythmGameQml 1.0 and using the Rg type.
| Rg::Rg | ( | qml_components::ProgramSettings * | programSettings, |
| input::InputTranslator * | inputTranslator, | ||
| qml_components::ChartLoader * | chartLoader, | ||
| qml_components::RootSongFoldersConfig * | rootSongFoldersConfig, | ||
| qml_components::SongFolderFactory * | songFolderFactory, | ||
| qml_components::SongDirectoryFilePathFetcher * | songDirectoryFilePathFetcher, | ||
| qml_components::FileQuery * | fileQuery, | ||
| qml_components::Themes * | themes, | ||
| input::GamepadManager * | gamepadManager, | ||
| qml_components::ProfileList * | profileList, | ||
| arena::ArenaSession * | arenaSession, | ||
| arena::ArenaSession * | arenaDirectorySession, | ||
| resource_managers::Tables * | tables, | ||
| resource_managers::Languages * | languages, | ||
| sounds::AudioEngine * | audioEngine, | ||
| qml_components::OnlineScores * | onlineScores, | ||
| resource_managers::SongAssetStore * | songAssets, | ||
| QObject * | parent = nullptr |
||
| ) |
|
signal |
| auto Rg::arenaRoomCount | ( | ) | const -> int |
|
inlinestatic |
|
read |
Rooms advertised by Arena, or -1 while the directory is unavailable.
| arena::ArenaSession * Rg::arenaSession |
| sounds::AudioEngine * Rg::audioEngine |
| qml_components::ChartLoader * Rg::chartLoader |
| qml_components::FileQuery * Rg::fileQuery |
| input::GamepadManager * Rg::gamepadManager |
| input::InputTranslator * Rg::inputTranslator |
| resource_managers::Languages * Rg::languages |
| qml_components::OnlineScores * Rg::onlineScores |
| qml_components::ProfileList * Rg::profileList |
| QML_ELEMENTqml_components::ProgramSettings* programSettings MEMBER Rg::programSettings |
| qml_components::RootSongFoldersConfig * Rg::rootSongFoldersConfig |
| resource_managers::SongAssetStore * Rg::songAssets |
| qml_components::SongDirectoryFilePathFetcher * Rg::songDirectoryFilePathFetcher |
| qml_components::SongFolderFactory* songFolderFactory MEMBER Rg::songFolderFactory |
| resource_managers::Tables * Rg::tables |
| qml_components::Themes * Rg::themes |