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

GameStateDeclaration

GameStateDeclaration = SaveDeclaration<SaveSchema, SaveScopes, readonly SaveHandle[]>

The game’s own save in the player’s game-wide record: a defineSave kept on the player or each saved entity, whose requires names another save by its handle alone, since the state is no plugin’s and has no sibling to name. A world’s own state is worldState, on a page as in a room.