Skip to content

NetworkId

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

Defined in: packages/engine/src/gameplay/replication/traits.ts:8

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 dumps the same record, and the same hash, as its source.