Interface IMultiplayerEvents
Methods
checkConnection
- checkConnection(webRtcWorks: boolean, webSocketWorks: boolean): any
-
Parameters
-
webRtcWorks: boolean
-
webSocketWorks: boolean
Returns any
connect
- connect(): any
-
Returns any
disconnect
- disconnect(): any
-
Returns any
joinLobby
- joinLobby(lobbyId: string): any
-
Returns any
leaveLobby
- leaveLobby(lobbyId: string): any
-
Returns any
stateChange
- stateChange(): any
-
Returns any
updatedOptions
- updatedOptions(options: IMultiplayerOptions): any
-
Returns any