Networking · interface

ClientOptions

Explained in Networking and rollback.

interface ClientOptions<S>
import type { ClientOptions } from '@driftengine/network';

Properties

NameTypeDescription
transportreadonlyTransport
loopreadonlyRewindLoop<S>
inputsreadonlyInputLog
replicatorreadonlyReplicator
selfreadonlyPeerId
predictreadonlyoptionalbooleanPredict the local participant. Off means wait for the authority, which is the control.
redundancyreadonlyoptionalnumberRecent inputs carried in every packet, for the reason LockstepSession documents.