Interface IScopeSaver

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

interface IScopeSaver {
    getDefaultSaves?: DefaultSavesFunction;
    read: ScopeLoadFunction;
    save: ScopeSaveFunction;
}

Properties

getDefaultSaves?: DefaultSavesFunction

Function that returns default data to be passed to read if there is no previous data.

2.3.1b116-3

Function that loads data from saves scope.

Function used to save data.

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