Interface IObjectSaver

Interface that should be implemented to pass object as Saver.registerObjectSaver parameter.

interface IObjectSaver {
    read: ObjectLoadFunction;
    save: ObjectSaveFunction;
}

Properties

Properties

Function that converts serialized data from saves scope to your object instance.

Function used to save serialized data of your object instance.

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.