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

EachSaveDeclaration

EachSaveDeclaration<Each> = Omit<EachSaveConfig<Each>, "scopes"> & object

A per-entity save as defineSave checked it: what defineGame’s worldSaves holds by name.

Name Type
[saveBrand] true
perWorld false
scopes readonly [`${World}`]
Type Parameter Default type
Each extends Trait Trait