Codename LogoCodename Logo

funkin.backend.chart.Chart

APIWiki

Static variables

View in GitHub

@:value(0xFF9271FD)staticinlineread onlydefaultColor:FlxColor = 0xFF9271FD

Default background colors for songs without bg color

Static methods

View in GitHub

staticaddNoteType(chart:ChartData, noteTypeName:String):Int

View in GitHub

staticfilterChartForSaving(chart:ChartData, ?saveMetaInChart:Bool, ?saveEventsInChart:Bool):ChartData

View in GitHub

@:value({ fromMods : true, difficulty : "normal" })staticloadChartMeta(songName:String, difficulty:String = "normal", fromMods:Bool = true):ChartMetaData

View in GitHub

staticloadEventsJson(songName:String):Array<ChartEvent>

View in GitHub

@:value({ difficulty : "normal" })staticparse(songName:String, difficulty:String = "normal"):ChartData

View in GitHub

@:value({ difficulty : "normal" })staticsave(songFolderPath:String, chart:ChartData, difficulty:String = "normal", ?saveSettings:Null<ChartSaveSettings>):ChartData

Saves the chart to the specific song folder path.

Parameters:

songFolderPath

Path to the song folder (ex: mods/your mod/songs/song/)

chart

Chart to save

difficulty

Name of the difficulty

saveSettings

Returns:

Filtered chart used for saving.