save_system_ps4_info table reference - Stingray Lua API Reference

save_system_ps4_info table reference

Description

Consumed by the stingray.SaveSystem.save() and stingray.SaveSystem.load() functions on the PlayStation 4.

When saving a game, you create a table with this format in order to provide the data you want to save, the files you want to save the data to, and metadata about the game being saved. You pass the table in a call to stingray.SaveSystem.save().

When loading a game, you create a table with this format in order to specify the game and files you want to load. You pass the table in a call to stingray.SaveSystem.load().

Data Members

Not used when loading data.

Each entry in this table should have a path key; when saving data, each entry should also have a data key. See the save_system_ps4_info_files table definition for details.

This must be a .data file that is renamed with the .png extension. It must be in accordance with the platform content requirements. Not used when loading data.

name : string

Required. The name of the saved game file.

Not used when loading data.

Not used when loading data.

If not specified, then the user id of the user who launched the application is used.