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

SaveRecord

A save as it is stored: game, then stores, kits and engine by name, and entities, each saved entity’s own record by its saved-entity key, in the same shape. A page’s record holds its world’s two parts under player-world and world, in the same shape too. Any other key is kept as it was read.

[key: string]: unknown

Property Type Description
engine? Readonly<Record<string, SaveEntry>> -
entities? Readonly<Record<string, SaveRecord>> -
game? SaveEntry -
kits? Readonly<Record<string, SaveEntry>> -
player-world? SaveRecord A page record’s part of the player’s record in its one world.
stores? Readonly<Record<string, SaveEntry>> -
world? SaveRecord A page record’s part of the world’s record.