-
Notifications
You must be signed in to change notification settings - Fork 0
SaveHolder
This singleton holds the current data for your slot and common. When enabling the plugin, this class is registered as an autoload. This mostly just exists to hold your current slot and the common data, as well as allow resetting these to default.
slot
and common
are both variables in the SaveHolder singleton. These both use the scripts you can create in the SaveData tab. Use these to read and modify anything related to your slot save data or your common save data. It is worth noting that common is automatically created or read from disk on startup.
Resets the data in the slot variable to default
Resets the data in the common variable to default
Resets the data in the slot and common variable to default. Not recommended unless you're including a full "factory reset" style feature