Loads replay events and gauge history for a saved score summary. More...
| Import Statement: | import RhythmGameQml |
Use this component when a graph or other display needs more than the points and clear type in a cached result. Set result to a BmsResult or BmsResultCourse from the profile's score database, and set profile to the score's owner. The profile defaults to the main profile.
Selection exposes summaries through StandardSelectState::results. Other screens can read profile.scoreDb.chartResults[md5.toUpperCase()] or profile.scoreDb.courseResults[identifier]. Each value is a list of summaries; use an empty list when the key is absent.
score is null while loading or after failure. When ready, it contains a BmsScore or BmsScoreCourse. Check its replayData and gaugeHistory separately: an imported score can be ready without either. A course score includes individual stage scores and combined data for graphs.
Place the component inside the screen or panel that needs it. Changing result or profile, disabling it, or destroying it cancels its request. Other consumers of the same score keep their requests. Saves and imports refresh the data automatically. Call reload to retry after an error.
| Status | What to show |
|---|---|
ScoreDetails.Idle | Result or profile is missing, or the component is disabled. |
ScoreDetails.Loading | A loading message; score is null. |
ScoreDetails.Ready | The score, with separate messages for missing graph data. |
ScoreDetails.Error | A failure message and a button calling reload(). |
See the chart details example for a graph that distinguishes these states.
loading : bool |
Whether the requested score is loading.
profile : Profile |
Profile whose database contains result.
result : var |
Result to load, or null when no saved run is selected.
score : var |
Loaded score, or null while disabled, loading, or after failure.
status : int |
Current loading state. Ready does not imply a recording exists.
reload() |
Loads the current result again.