Space Types
EnableCollaborationAction
An event that is used to enable collaboration features.
Members
playerId? string
The ID of the player that created this task. Set by remote action handlers when a task is recieved from a remote player.
taskId (string | number)
The ID of the async task.
type "enable_collaboration"
The type of the event. This helps determine how the event should be applied to the state.
uncopiable? boolean
Whether the action can be structure cloned. If true, then the action should not be passed across message ports without special handling.
LoadSpaceAction
Defines an event that loads a space into the instance.
Members
config any
The config that should be used to load the space.
playerId? string
The ID of the player that created this task. Set by remote action handlers when a task is recieved from a remote player.
taskId? (string | number)
The ID of the async task.
type "load_space"
uncopiable? boolean
Whether the action can be structure cloned. If true, then the action should not be passed across message ports without special handling.