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

KeyedRestoreContext

What a keyed record’s restore receives: as read’s, with what it writes with.

Property Type Description
entities readonly Entity[] Every entity registered to the key, its own among them.
entity Entity The key’s own entity, which the engine makes as the key opens.
key string The string the game named the record by.
writer Authority | JoinStep Reaches the key’s entity and what the restore spawns, each of which is registered to the key, and nothing else, until the restore returns.