Skip to content

five-on-it / packages/sim/src/snapshot

packages/sim/src/snapshot ​

The replicated view of a world: one record per vehicle, trailer, character, projectile, loose light piece, door, pickup, container, terminal, security camera, laid nail strip, device and flyer, in that order, shaped like the protocol's EntitySnapshot (structurally; this package does not import the protocol). The server encodes these; tests and the client mirror compare against them.

Interfaces ​

Functions ​