JoinRoomOpts interface
Signature:
export interface JoinRoomOpts
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
boolean |
(Optional) Disable snapshots for the room, default is true, disable only if you don't want to sync the players' states | ||
string |
The host of the game server, this can be the local dev server or the production server | ||
boolean |
(Optional) Multi-room mode, default is false | ||
(Optional) Options for remote players | |||
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 |