saveGame

fun saveGame(fileName: String, description: String, saveData: ByteArray, playedTimeMillis: Long, progressValue: Long)

Saves game data to the Google Cloud. The com.jacobibanez.plugin.android.godotplaygameservices.signals.SnapshotSignals.gameSaved signal will be emitted after saving the game.

Parameters

fileName

The name of the save file. Must be between 1 and 100 non-URL-reserved characters (a-z, A-Z, 0-9, or the symbols "-", ".", "_", or "~").

description

The description of the save file.

saveData

A ByteArray with the saved data of the game.

playedTimeMillis

The played time of this snapshot in milliseconds.

progressValue

The progress value for this snapshot.