A helper JSON blob found in .fnfc files.

Static variables

@:value("1.0.0")staticfinalread onlyCHART_MANIFEST_DATA_VERSION:Version = "1.0.0"

The current semantic version of the chart manifest data.

@:value(~/[/\\:*?"<>|]/)staticfinalread onlyinvalidIdRegex:EReg = ~/[/\\:*?"<>|]/

Static methods

staticdeserialize(contents:String):Null<ChartManifestData>

Constructor

new(songId:String)

Variables

songId:String

The internal song ID for this chart. The metadata and chart data file names are derived from this.

@:default(funkin.data.song.importer.ChartManifestData.CHART_MANIFEST_DATA_VERSION)@:jcustomparse(funkin.data.DataParse.semverVersion)@:jcustomwrite(funkin.data.DataWrite.semverVersion)version:Version

Methods

getChartDataFileName(?variation:String):String

getInstFileName(?variation:String):String

getMetadataFileName(?variation:String):String

getVocalsFileName(charId:String, ?variation:String):String

@:value({ pretty : true })serialize(pretty:Bool = true):String

Serialize this ChartManifestData into a JSON string.

Returns:

The JSON string.

set_songId(value:String):String