Namespace: saveData

Splat. saveData

Source:

Methods

(static) get(keys, callback)

Retrieve data previously stored with Splat.saveData.set.
Parameters:
Name Type Description
keys string | Array A single key or array of key names of data items to retrieve.
callback saveDataGetFinished A callback that is called with the data when it has been retrieved.
Source:

(static) set(data, callback)

Store data for later.
Parameters:
Name Type Description
data object An object containing key-value pairs of data to save.
callback saveDataSetFinished A callback that is called when the data has finished saving.
Source: