From a8311a6834eca829a314ed94dda53544f67573bd Mon Sep 17 00:00:00 2001 From: Oliver Akins Date: Mon, 7 Mar 2022 00:49:59 -0600 Subject: [PATCH] Update the server info interface to be inline with my new format for interfaces --- common/src/types/events/server_info.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/common/src/types/events/server_info.ts b/common/src/types/events/server_info.ts index bcc6648..3ef6b30 100644 --- a/common/src/types/events/server_info.ts +++ b/common/src/types/events/server_info.ts @@ -1,7 +1,15 @@ +import { IColour } from "../Colour"; +import { ISpaceship } from "../Spaceship"; import { ServerResponse } from "../ServerResponse"; /** The data sent as a response to `server.info`. */ -export interface IServerInfoResponse extends ServerResponse { +export interface IServerInfo extends ServerResponse { /** The version that the server is currently running. */ version?: string; + + /** The ship colours that are supported by the server. */ + colours?: IColour[]; + + /** The ship icons that are supported by the server. */ + shipIcons?: ISpaceship[]; } \ No newline at end of file