Expose more Greenworks Steam cloud APIs to NW.Js and Electron (1.11.0: Supports Greenworks v0.18.0 for NW.Js v0.92.0, Steamworks SDK 1.60).
Sorry, no I do not have a tutorial for this.
I think you would want to use:
JSON object in C3 to store data and load data, see the C3 documentation on JSON object for more details.
Save text to file {0} {1}
Save text to file.
Use the JSON expression ToCompactString as the text to save to the Steam file.
Read text from file {0}
Read text from file.
On save text to file success -> let the user know that save was successful
On save text to file error -> use the expression: SaveTextToFileLastErr to indicate error
On read text from file success -> use the expression: ReadTextFromFileLastData to get the data. I suggest using a JSON object load and store data to/from. For example use JSON Parse action to load the JSON object from the ReadTextFromFileLastData and use the JSON expression ToCompactString as the text to save to the Steam file.
On read text from file error -> use expression: ReadTextFromFileLastErr to show the error to the user.
Thank you Mikal!