Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

GameStateSaveDeclaration

GameStateSaveDeclaration<Schema, Scope> = PluginSave<Schema, Scope> & GameSaveOptions & object

A game’s save that keeps a state of its own, as defineSave returns it: its schema, read, restore and version are there.

Name Type
[saveBrand] true
Type Parameter Default type
Schema extends SaveSchema SaveSchema
Scope extends SaveScopeName SaveScopeName