From 0cf0121f30dc67433635c07d212b1b5ef79a9833 Mon Sep 17 00:00:00 2001 From: Ted John Date: Tue, 25 Feb 2020 00:44:02 +0000 Subject: [PATCH] Fix API definitions --- distribution/openrct2.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/distribution/openrct2.d.ts b/distribution/openrct2.d.ts index 8e066e06b6..22030b4a60 100644 --- a/distribution/openrct2.d.ts +++ b/distribution/openrct2.d.ts @@ -15,7 +15,7 @@ // /// // -export type PluginType = "server" | "client" | "server_client"; +export type PluginType = "local" | "remote"; declare global { interface PluginMetadata { @@ -288,7 +288,7 @@ declare global { trousers: number; } - interface Map { + interface GameMap { readonly size: { x: number; y: number; }; readonly rides: number; readonly things: number; @@ -595,7 +595,7 @@ declare global { var console: Console; var context: Context; var date: GameDate; - var map: Map; + var map: GameMap; var network: Network; var park: Park; var ui: Ui;