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

GameDeposits

defineGame’s deposits: the hooks of each of the game’s records, the player’s game-wide record, the player’s record in each world and the world’s. A keyed record’s hooks are on its defineKeyedSave.

Property Type Description
player? DepositHooks<PlayerDepositContext> The player’s game-wide record’s, each handed the player.
playerWorld? DepositHooks<PlayerDepositContext> The player’s record in each world’s, each handed the player.
world? DepositHooks<WorldDepositContext> The world’s record’s, handed no player.