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

NetworkIdTrait

const NetworkIdTrait: Trait<{ id: string; }>

The id an entity has in the room’s world, on an entity a client spawned from the stream. The dump keys the entity by it, so a replica’s copy of the stream’s dump holds the same record, and the same hash, as its source’s.