Skip to content

REPLICATION_PROTOCOL_VERSION

const REPLICATION_PROTOCOL_VERSION: 4 = 4

Defined in: net/replication/protocol.ts:20

4: a spawn stopped being a scene snapshot. It now carries protocol identity, a ghost-construction key, and a baseline of DECLARED replication fields only — a v3 endpoint would read the same JSON and build a different world, which is exactly what a version is for.