View source
class SongRegistry
package funkin.data.song
extends BaseRegistry_funkin_play_song_Song_funkin_data_song_SongMetadata_funkin_data_song_SongEntryParams
implements DefaultRegistryImpl, ISingleton
Available on all platforms
Static variables
staticfinalread onlySONG_METADATA_VERSION:Version = "2.2.4"
The current version string for the stage data format.
Handle breaking changes by incrementing this value
and adding migration to the migrateStageData() function.
Constructor
Variables
Methods
fetchEntry(id:String, ?params:SongEntryParams):Null<Song>
We override fetchEntry to handle song variations!
listAllDifficulties(characterId:String):Array<String>
A list of all difficulties for a specific character.
parseEntryChartDataRaw(contents:String, fileName:String = "raw", ?variation:String):Null<SongChartData>
parseEntryChartDataRawWithMigration(contents:String, fileName:String = "raw", version:Version, ?variation:String):Null<SongChartData>
parseEntryData(id:String):Null<SongMetadata>
Read, parse, and validate the JSON data and produce the corresponding data object.
parseEntryDataRaw(contents:String, fileName:String = "raw"):Null<SongMetadata>
Parse, and validate the JSON data and produce the corresponding data object.