Callback
Signature
Description
The callback function that is responsible for storing the data in the JSON file when save data is saved.
Returning an empty table ({}
) will delete the save data for the identifier whereas returning nil
or nothing will keep it.
Arguments
File Path
The path of the save game.
Example
Callback
Output
Notes
Only the following value types are supported: table
, string
, double
, integer
, bool
.
Last updated