1. Home
  2. Docs
  3. Save Game Pro
  4. Scripting API
  5. SaveGame.Save

SaveGame.Save

Description

Saves the value in the specified identifier.

Parameters

NameTypeDescriptionRequired
identifierstringThe identifierrequired
valueobjectThe value to saverequired
settingsSaveGameSettingsThe optional settingsoptional

Examples

Saving Simple Data

Saving Array

Saving to Folder

Saving Inventory

The Inventory class:

The Slot class:

The Item class:

Now, let us save the whole inventory:

 

Was this article helpful to you? Yes 1 No

How can we help?