Creates saves scope, a universal data storage container. This storage container should be used whenever you need to save some data between world sessions. If you want to store primitives, use an object to wrap them.
saves scope name
function used to load saved data
function used to save data
Converts present serialized object via registered Saver.registerScopeSaver and Saver.registerObjectSaver recursively to instance hieracly.
Deserialized object instance hieracly.
Converts present transformed to string serialized object via registered Saver.registerScopeSaver and Saver.registerObjectSaver recursively to instance hieracly.
Deserialized object instance hieracly.
Registers object to be saved with a given saver by identifier received from Saver.registerObjectSaver.
target object instance
to be used on saving
Registers object as object instance saver.
saves scope name
object that implements Saver.IObjectSaver interface and can be loaded and saved via it's functions calls
Saver identifier of your object instance.
Registers object as scope saver.
saves scope name
object that implements Saver.IScopeSaver interface and can be loaded and saved via it's functions calls
Converts present object hieracly via registered Saver.registerScopeSaver and Saver.registerObjectSaver instances recursively to serialized data.
Serialized object hieracly.
Converts present object hieracly via registered Saver.registerScopeSaver and Saver.registerObjectSaver instances recursively to serialized data.
Serialized object hieracly transformed to string.
Changes registered via Saver.registerObject instance behavior to object be skippable or not.
target object instance
should be skipped on saving
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Module used to save data between world sessions, different worlds have their own saves.