From 7db70bc4ec0a377a4f5ac9e416774eefde54450a Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Mon, 3 Jan 2022 18:50:35 -0700 Subject: [PATCH] Rename the event identifier in the type documentation --- common/src/types/events/SaveShip.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/types/events/SaveShip.ts b/common/src/types/events/SaveShip.ts index f514ddb..0f87622 100644 --- a/common/src/types/events/SaveShip.ts +++ b/common/src/types/events/SaveShip.ts @@ -1,6 +1,6 @@ import { ServerResponse } from "../ServerResponse"; -/** The data the client must provide in the `SaveShip` event. */ +/** The data the client must provide in the `put.player.design` event. */ export interface SaveShip { colour: string; ship: string; @@ -8,7 +8,7 @@ export interface SaveShip { /** * The event that get's sent out to all the other players on a successful - * `SaveShip` event + * `put.player.design` event */ export interface DesignUpdate { player: string; @@ -16,5 +16,5 @@ export interface DesignUpdate { colour: string; } -/** The response to the client that triggered the `SaveShip` event. */ +/** The response to the client that triggered the `put.player.design` event. */ export interface SaveShipResponse extends ServerResponse {} \ No newline at end of file