Update the server info interface to be inline with my new format for interfaces
This commit is contained in:
parent
06cfea7564
commit
a8311a6834
1 changed files with 9 additions and 1 deletions
|
|
@ -1,7 +1,15 @@
|
||||||
|
import { IColour } from "../Colour";
|
||||||
|
import { ISpaceship } from "../Spaceship";
|
||||||
import { ServerResponse } from "../ServerResponse";
|
import { ServerResponse } from "../ServerResponse";
|
||||||
|
|
||||||
/** The data sent as a response to `server.info`. */
|
/** 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. */
|
/** The version that the server is currently running. */
|
||||||
version?: string;
|
version?: string;
|
||||||
|
|
||||||
|
/** The ship colours that are supported by the server. */
|
||||||
|
colours?: IColour[];
|
||||||
|
|
||||||
|
/** The ship icons that are supported by the server. */
|
||||||
|
shipIcons?: ISpaceship[];
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue