Skip to main content

ChartingSaveLoad

Kindclass
Packageeditors.charting
Full nameeditors.charting.ChartingSaveLoad
Sourcesource/editors/charting/ChartingSaveLoad.hx
Metadata@:access(editors.ChartingState) @:access(backend.MusicBeatState)

Public methods​

songJsonPopup​

static function songJsonPopup(state:ChartingState)
ParameterTypeDefault
stateChartingState—

View source

promptBackup​

static function promptBackup(state:ChartingState)
ParameterTypeDefault
stateChartingState—

View source

saveUndo​

static function saveUndo(state:ChartingState, songData:SwagSong)
ParameterTypeDefault
stateChartingState—
songDataSwagSong—

View source

undo​

static function undo(state:ChartingState)
ParameterTypeDefault
stateChartingState—

View source

getNotes​

static function getNotes(state:ChartingState):Array<Dynamic>
ParameterTypeDefault
stateChartingState—

View source

loadJson​

static function loadJson(state:ChartingState, song:String, diff:String = ''):Void
ParameterTypeDefault
stateChartingState—
songString—
diff (optional)String''

View source

clearEvents​

static function clearEvents(state:ChartingState)
ParameterTypeDefault
stateChartingState—

View source

saveLevel​

static function saveLevel(state:ChartingState, compressed:Bool = false, isAuto:Bool = false)
ParameterTypeDefault
stateChartingState—
compressed (optional)Boolfalse
isAuto (optional)Boolfalse

View source

sortByTime​

static function sortByTime(Obj1:Array<Dynamic>, Obj2:Array<Dynamic>):Int
ParameterTypeDefault
Obj1Array<Dynamic>—
Obj2Array<Dynamic>—

View source

saveEvents​

static function saveEvents(state:ChartingState)
ParameterTypeDefault
stateChartingState—

View source

onSaveComplete​

static function onSaveComplete(state:ChartingState, _):Void
ParameterTypeDefault
stateChartingState—
_Dynamic—

View source

onSaveCancel​

static function onSaveCancel(state:ChartingState, _):Void
ParameterTypeDefault
stateChartingState—
_Dynamic—

View source

onSaveError​

static function onSaveError(state:ChartingState, _):Void

Called if there is an error while saving the gameplay recording.

ParameterTypeDefault
stateChartingState—
_Dynamic—

View source