Networking · interface

ScriptSessionOptions

Explained in Networking and rollback.

interface ScriptSessionOptions
import type { ScriptSessionOptions } from '@driftengine/network';

Properties

NameTypeDescription
selfreadonlynumber
participantsreadonlynumber
slotsreadonlyoptionalnumberReplicated scalars per participant. Eight by default.
authorityreadonlyoptionalbooleanWhether this peer's world is the authority. Fixed for the session's life.