Rename game.* events to lobby.*

This commit is contained in:
Oliver-Akins 2022-01-06 16:26:21 -07:00
parent c5449f1153
commit 05978da3ea

View file

@ -28,7 +28,7 @@ Response Payload: `IServerInfoResponse`
---
## `game.create`
## `lobby.create`
Creates a new game lobby for players to be able to join.
### Supported Event Types
@ -37,15 +37,15 @@ Creates a new game lobby for players to be able to join.
| Yes | Yes | No
### Payload Types:
Request Payload: `IGameCreateRequest`
Request Payload: `LobbyCreateRequest`
Response Payload: `IGameCreateResponse`
Response Payload: `LobbyCreateResponse`
---
## `game.join`
Joins the user into a game, the game must be in the lobby in order to join into
it.
## `lobby.join`
Joins the user into a game, the game must be in the lobby state in order to
join into it.
### Supported Event Types
| Request | Response | Broadcasted