diff --git a/docs/events.md b/docs/events.md index 91373f7..e743838 100644 --- a/docs/events.md +++ b/docs/events.md @@ -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