Skip to content

API Interface DataReplication

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Interface: DataReplication

Defined in: src/engine/net/replication.ts:45

Replicate a data component's fields on replicated nodes.

Properties

encoding?

encoding?: Readonly<Record<string, FieldEncoding>>;

Defined in: src/engine/net/replication.ts:51

Per-field encoding (quantization).


fields?

fields?: readonly string[];

Defined in: src/engine/net/replication.ts:47

Fields to send. Default: all.


predicted?

predicted?: readonly string[];

Defined in: src/engine/net/replication.ts:49

Fields the owning client predicts and rolls back (T13).

Clone this wiki locally