Interface IMultiplayerService
Accessors
Methods
acceptAndJoin
- acceptAndJoin(factory, signals?): Promise<void>
Returns Promise<void>
findMatches
- findMatches(bracketId): Promise<void>
Returns Promise<void>
leave
- leave(): Promise<void>
Returns Promise<void>
refreshBrackets
- refreshBrackets(): Promise<void>
Returns Promise<void>
rejoin
- rejoin(matchId, meta, factory, signals, retries?): Promise<void>
Returns Promise<void>
send
- send(opCode, payload, retries?): Promise<void>
Parameters
- opCode: number
- payload: string | Uint8Array
Optional
retries: number
Returns Promise<void>