From 05978da3ea3148b37299b3d1a8cccfd6798a2c7e Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Thu, 6 Jan 2022 16:26:21 -0700 Subject: [PATCH] Rename game.* events to lobby.* --- docs/events.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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