1#ifndef QMLFOREIGNTYPES_H
2#define QMLFOREIGNTYPES_H
51#include <QStringListModel>
52#include <QtCore/qassert.h>
53#include <QtQml/qqmlregistration.h>
61 QML_NAMED_ELEMENT(Logger)
70 QQmlEngine::setObjectOwnership(
instance, QQmlEngine::CppOwnership);
79 QML_NAMED_ELEMENT(InputTranslator)
80 QML_UNCREATABLE(
"InputTranslator is provided by Rg.inputTranslator")
87 QML_NAMED_ELEMENT(AnalogAxisConfig)
94 QML_NAMED_ELEMENT(Profile)
95 QML_UNCREATABLE(
"Profile is managed by ProfileList")
102 QML_NAMED_ELEMENT(ArenaSession)
103 QML_UNCREATABLE(
"ArenaSession is provided by Rg.arenaSession")
110 QML_NAMED_ELEMENT(ArenaAvailabilityIndex)
111 QML_UNCREATABLE(
"Arena availability is provided by ArenaSession")
118 QML_NAMED_ELEMENT(ArenaStandingsModel)
119 QML_UNCREATABLE(
"ArenaStandingsModel is provided by ArenaSession")
126 QML_NAMED_ELEMENT(ArenaResultModel)
127 QML_UNCREATABLE(
"ArenaResultModel is provided by ArenaSession")
134 QML_NAMED_ELEMENT(ArenaOpponentTarget)
135 QML_UNCREATABLE(
"ArenaOpponentTarget is provided by ArenaSession")
142 QML_NAMED_ELEMENT(ChartFolderModel)
145#define RHYTHMGAME_QML_ANONYMOUS_FOREIGN(WrapperName, ForeignType) \
149 QML_FOREIGN(ForeignType) \
151 QML_UNCREATABLE("Provided by the game") \
191 QML_UNCREATABLE(
"Arena room models are provided by ArenaSession")
199 QML_UNCREATABLE(
"Arena member models are provided by ArenaSession")
207 QML_UNCREATABLE(
"Arena chat models are provided by ArenaSession")
214 QML_UNCREATABLE(
"Song assets are provided by Rg.songAssets")
221 QML_VALUE_TYPE(level)
228 QML_VALUE_TYPE(course)
235 QML_VALUE_TYPE(trophy)
242 QML_VALUE_TYPE(table)
249 QML_VALUE_TYPE(entry)
256 QML_VALUE_TYPE(tableInfo)
263 QML_NAMED_ELEMENT(ChartRunner)
264 QML_UNCREATABLE(
"Supplied by the game")
271 QML_NAMED_ELEMENT(CourseRunner)
272 QML_UNCREATABLE(
"Supplied by the game")
279 QML_NAMED_ELEMENT(ChartData)
280 QML_UNCREATABLE(
"Supplied by the game")
287 QML_NAMED_ELEMENT(Player)
288 QML_UNCREATABLE(
"Supplied by the game")
295 QML_NAMED_ELEMENT(AutoPlayer)
296 QML_UNCREATABLE(
"Supplied by the game")
303 QML_NAMED_ELEMENT(BmsGauge)
304 QML_UNCREATABLE(
"Supplied by the game")
311 QML_NAMED_ELEMENT(BmsLiveScore)
312 QML_UNCREATABLE(
"Supplied by the game")
319 QML_NAMED_ELEMENT(BmsNotes)
320 QML_UNCREATABLE(
"Supplied by the game")
327 QML_NAMED_ELEMENT(BmsScore)
328 QML_UNCREATABLE(
"Supplied by the game")
335 QML_NAMED_ELEMENT(BmsScoreCourse)
336 QML_UNCREATABLE(
"Supplied by the game")
343 QML_NAMED_ELEMENT(BmsResultCourse)
344 QML_UNCREATABLE(
"Supplied by the game")
351 QML_VALUE_TYPE(bmsPoints)
358 QML_NAMED_ELEMENT(BmsResult)
359 QML_UNCREATABLE(
"Supplied by the game")
366 QML_NAMED_ELEMENT(BmsReplayData)
367 QML_UNCREATABLE(
"Supplied by the game")
374 QML_NAMED_ELEMENT(BmsGaugeHistory)
375 QML_UNCREATABLE(
"Supplied by the game")
382 QML_VALUE_TYPE(hitEvent)
389 QML_NAMED_ELEMENT(Bga)
390 QML_UNCREATABLE(
"Supplied by the game")
397 QML_NAMED_ELEMENT(BgaContainer)
398 QML_UNCREATABLE(
"Supplied by the game")
412 QML_VALUE_TYPE(gamepad)
419 QML_VALUE_TYPE(midiDevice)
426 QML_VALUE_TYPE(onlineProfileInfo)
441 QML_NAMED_ELEMENT(Input)
442 QML_UNCREATABLE(
"Supplied by the game")
449 QML_NAMED_ELEMENT(AudioPlayer)
456 QML_NAMED_ELEMENT(ChartAudioPlayer)
463 QML_NAMED_ELEMENT(ScoreReplayer)
470 QML_NAMED_ELEMENT(OnlineRankingModel)
477 QML_VALUE_TYPE(rankingEntry)
484 QML_VALUE_TYPE(onlineUserData)
491 QML_VALUE_TYPE(tachiData)
499 QML_NAMED_ELEMENT(QmlUtils)
500 QML_UNCREATABLE(
"Supplied by the game")
503namespace JudgementForeign {
506QML_NAMED_ELEMENT(Judgement)
509namespace BmsKeyForeign {
511QML_FOREIGN_NAMESPACE(
input)
512QML_NAMED_ELEMENT(BmsKey)
515namespace DpOptionsForeign {
518QML_NAMED_ELEMENT(DpOptions)
521namespace HiSpeedFixForeign {
524QML_NAMED_ELEMENT(HiSpeedFix)
527namespace GaugeModeForeign {
530QML_NAMED_ELEMENT(GaugeMode)
533namespace ScoreTargetForeign {
536QML_NAMED_ELEMENT(ScoreTarget)
539namespace SelectSortModeForeign {
542QML_NAMED_ELEMENT(SelectSortMode)
545namespace SelectKeymodeFilterForeign {
548QML_NAMED_ELEMENT(SelectKeymodeFilter)
551namespace NoteOrderAlgorithmForeign {
554QML_NAMED_ELEMENT(NoteOrderAlgorithm)
578#undef RHYTHMGAME_QML_ANONYMOUS_FOREIGN
#define RHYTHMGAME_QML_ANONYMOUS_FOREIGN(WrapperName, ForeignType)
Definition QmlForeignTypes.h:145
Definition ArenaAvailabilityIndex.h:13
Definition ArenaChatModel.h:11
Definition ArenaMemberListModel.h:10
Definition ArenaOpponentTarget.h:14
Definition ArenaResultModel.h:13
Definition ArenaRoomListModel.h:10
Definition ArenaSession.h:34
Definition ArenaStandingsModel.h:20
A player that plays automatically, hitting all notes perfectly.
Definition ChartRunner.h:344
The history of all gauges used in a BMS score.
Definition BmsGaugeHistory.h:67
Metadata and history of a single gauge used in BMS scoring.
Definition BmsGaugeHistory.h:17
The score that gets updated during gameplay.
Definition BmsLiveScore.h:57
Definition BmsNotes.h:155
Definition BmsPoints.h:11
Definition BmsReplayData.h:18
Definition BmsResultCourse.h:20
The aggregated info about a score.
Definition BmsResult.h:23
The result of playing a course.
Definition BmsScoreCourse.h:18
The result of playing a chart.
Definition BmsScore.h:16
Metadata and basic stats of a chart.
Definition ChartData.h:28
The main class responsible for running a chart during gameplay.
Definition ChartRunner.h:35
Contains course-related data for a player.
Definition CourseRunner.h:20
Like a ChartRunner, but for courses.
Definition CourseRunner.h:45
A very generic event that happened during gameplay.
Definition HitEvent.h:19
Definition BmsLiveScore.h:23
Definition BmsNotes.h:119
A player of a chart.
Definition ChartRunner.h:164
Represents the position of the note in a measure.
Definition BmsNotes.h:90
The profiles used in battle mode.
Definition ProfileList.h:23
A single BGA layer.
Definition Bga.h:27
Loads charts and courses with the given parameters.
Definition ChartLoader.h:36
Definition FileQuery.h:18
Lets you access the entire log history of this session.
Definition Logger.h:17
Definition OnlineProfileInfo.h:12
Definition OnlineRankingModel.h:72
Definition OnlineScores.h:33
The list of local profiles.
Definition ProfileList.h:55
Definition ProgramSettings.h:23
Provides utility functions for QML as an attached property.
Definition QmlUtils.h:21
Tracks the progress of an asynchronous replay import.
Definition ReplayImportOperation.h:19
Definition RootSongFoldersConfig.h:23
Definition RootSongFoldersConfig.h:128
Definition RootSongFoldersConfig.h:51
Definition RootSongFoldersConfig.h:82
Provides cached results and asynchronous full scores for one profile.
Definition ScoreDb.h:60
Definition ScoreReplayer.h:16
Definition ScoreSyncOperation.h:24
Definition ThemeFamily.h:12
Definition SongDirectoryFilePathFetcher.h:17
Definition SongFolderFactory.h:15
Definition ThemeFamily.h:43
Definition ChartFolderModel.h:13
The general variables for the game that all screens and the engine should know about and respect....
Definition Vars.h:145
Manages the available languages and the selected language.
Definition Languages.h:21
Definition SongAssetStore.h:28
Manages the download and storage of tables from given URLs.
Definition Tables.h:167
Definition AudioEngine.h:16
Definition AudioPlayer.h:27
Definition ChartAudioPlayer.h:53
QML-facing handle for one asynchronous result.
Definition PendingReply.h:67
Definition Judgement.h:10
Definition DiscordIpcClient.cpp:22
Definition OnlineRankingModel.h:16
Definition QmlForeignTypes.h:84
Definition QmlForeignTypes.h:107
Definition QmlForeignTypes.h:203
Definition QmlForeignTypes.h:195
Definition QmlForeignTypes.h:131
Definition QmlForeignTypes.h:123
Definition QmlForeignTypes.h:187
Definition QmlForeignTypes.h:99
Definition QmlForeignTypes.h:115
Definition QmlForeignTypes.h:182
Definition QmlForeignTypes.h:446
Definition QmlForeignTypes.h:292
Definition QmlForeignTypes.h:170
Definition QmlForeignTypes.h:394
Definition QmlForeignTypes.h:386
Definition QmlForeignTypes.h:300
Definition QmlForeignTypes.h:371
Definition QmlForeignTypes.h:566
Definition QmlForeignTypes.h:308
Definition QmlForeignTypes.h:316
Definition QmlForeignTypes.h:348
Definition QmlForeignTypes.h:363
Definition QmlForeignTypes.h:340
Definition QmlForeignTypes.h:355
Definition QmlForeignTypes.h:332
Definition QmlForeignTypes.h:324
Definition QmlForeignTypes.h:559
Definition QmlForeignTypes.h:453
Definition QmlForeignTypes.h:276
Definition QmlForeignTypes.h:139
Definition QmlForeignTypes.h:157
Definition QmlForeignTypes.h:260
Definition QmlForeignTypes.h:225
Definition QmlForeignTypes.h:562
Definition QmlForeignTypes.h:268
Definition QmlForeignTypes.h:246
Definition QmlForeignTypes.h:164
Definition QmlForeignTypes.h:409
Definition QmlForeignTypes.h:166
Definition QmlForeignTypes.h:173
Definition QmlForeignTypes.h:379
Definition QmlForeignTypes.h:564
Definition QmlForeignTypes.h:402
Definition QmlForeignTypes.h:181
Definition QmlForeignTypes.h:218
Definition QmlForeignTypes.h:58
static qml_components::Logger * instance
Definition QmlForeignTypes.h:65
static auto create(QQmlEngine *, QJSEngine *) -> qml_components::Logger *
Definition QmlForeignTypes.h:67
Definition QmlForeignTypes.h:567
Definition QmlForeignTypes.h:416
Definition QmlForeignTypes.h:430
Definition QmlForeignTypes.h:423
Definition QmlForeignTypes.h:467
Definition QmlForeignTypes.h:184
Definition QmlForeignTypes.h:481
Definition QmlForeignTypes.h:185
Definition QmlForeignTypes.h:284
Definition QmlForeignTypes.h:91
Definition QmlForeignTypes.h:168
Definition QmlForeignTypes.h:495
Definition QmlForeignTypes.h:474
Definition QmlForeignTypes.h:178
Definition QmlForeignTypes.h:569
Definition QmlForeignTypes.h:159
Definition QmlForeignTypes.h:571
Definition QmlForeignTypes.h:573
Definition QmlForeignTypes.h:174
Definition QmlForeignTypes.h:460
Definition QmlForeignTypes.h:176
Definition QmlForeignTypes.h:576
Definition QmlForeignTypes.h:560
Definition QmlForeignTypes.h:210
Definition QmlForeignTypes.h:163
Definition QmlForeignTypes.h:161
Definition QmlForeignTypes.h:558
Definition QmlForeignTypes.h:239
Definition QmlForeignTypes.h:253
Definition QmlForeignTypes.h:179
Definition QmlForeignTypes.h:488
Definition QmlForeignTypes.h:575
Definition QmlForeignTypes.h:165
Definition QmlForeignTypes.h:557
Definition QmlForeignTypes.h:232
Definition QmlForeignTypes.h:171