Joinroomopts

JoinRoomOpts interface

Signature:

export interface JoinRoomOpts 

Properties

PropertyModifiersTypeDescription
disableSnapshots?boolean(Optional) Disable snapshots for the room, default is true, disable only if you don't want to sync the players' states
hoststringThe host of the game server, this can be the local dev server or the production server
remotePlayerOpts?PlayerAvatarOpts(Optional) Options for remote players
roomId?string(Optional) Usually the roomId is managed by the application (e.g. from invite links). USE THIS ONLY IF YOU WANT TO JOIN A ROOM OTHER THAN THE ONE MANAGED BY THE APPLICATION