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

readPlayerId

readPlayerId(player): PlayerId

player’s id in this game, the player’s PlayerTrait’s account, as the address of the player’s records: records.player.for(readPlayerId(player)). Takes the player a hook or a command hands, or an entity isPlayer narrowed.

Parameter Type
player PlayerEntity

PlayerId