Codename LogoCodename Logo

funkin.savedata.FunkinSave

APIWiki

Class used for saves WITHOUT going through the struggle of type checks Just add your save variables the way you would do in the Options.hx file. The macro will automatically generate the flush and load functions.

Static variables

@:doNotSavestaticsave:FlxSave

Static methods

View in GitHub

staticinlinegetSongHighscore(name:String, diff:String, ?changes:Array<HighscoreChange>):SongScore

Returns the high-score for a song.

Parameters:

name

Song name

diff

Song difficulty

changes

Changes made to that song in freeplay.

View in GitHub

staticinlinegetWeekHighscore(name:String, diff:String):SongScore

View in GitHub

staticinit():Void

View in GitHub

staticload():Void

View in GitHub

staticinlinesetSongHighscore(name:String, diff:String, highscore:SongScore, ?changes:Array<HighscoreChange>):Bool

View in GitHub

staticinlinesetWeekHighscore(name:String, diff:String, highscore:SongScore):Bool