CloudSave.clearSlot
Deletes all data from a save slot.Parameters:
id - int
The slot number.
Returns:
slot - SaveSlot
A SaveSlot object.
CloudSave.loadSlot
Returns a specific #saveslot object.Parameters:
app_id - string
The App ID of another, approved app to load slot data from. (optional)
id - int
The slot number.
Returns:
app_id - string
The App ID of another, approved app to load scores from.
slot - SaveSlot
A SaveSlot object.
CloudSave.loadSlots
Returns a list of #saveslot objects.Parameters:
app_id - string
The App ID of another, approved app to load slot data from. (optional)
Returns:
app_id - string
The App ID of another, approved app to load scores from.
slots - array<SaveSlot>
An array of SaveSlot objects.
CloudSave.setData
Saves data to a save slot. Any existing data will be replaced.Parameters:
data - string
The data you want to save.
id - int
The slot number.
Returns:
slot - SaveSlot