Add docs and types for the game.join event

This commit is contained in:
Oliver-Akins 2022-01-05 23:06:22 -07:00
parent 885c9c9e71
commit 3b5e643232
3 changed files with 31 additions and 1 deletions

View file

@ -39,4 +39,20 @@ Creates a new game lobby for players to be able to join.
### Payload Types:
Request Payload: `IGameCreateRequest`
Response Payload: `IGameCreateResponse`
Response Payload: `IGameCreateResponse`
---
## `game.join`
Joins the user into a game, the game must be in the lobby in order to join into
it.
### Supported Event Types
| Request | Response | Broadcasted
| ------- | -------- | -----------
| Yes | Yes | No
### Payloads
Request Payload: `IGameJoinRequest`
Response Payload: `IGameJoinResponse`