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