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

@:value([])statichighscores:Map<HighscoreEntry, SongScore> = []

@:doNotSavestaticsave:FlxSave

Static methods

staticflush():Void

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.

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

staticinit():Void

staticload():Void

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

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