Networking · interface
ScriptSessionOptions
Explained in Networking and rollback.
interface ScriptSessionOptionsimport type { ScriptSessionOptions } from '@driftengine/network';Properties
| Name | Type | Description |
|---|---|---|
selfreadonly | number | |
participantsreadonly | number | |
slotsreadonlyoptional | number | Replicated scalars per participant. Eight by default. |
authorityreadonlyoptional | boolean | Whether this peer's world is the authority. Fixed for the session's life. |