mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-23 10:51:58 -05:00
Fix API definitions
This commit is contained in:
parent
e6ca727b4b
commit
0cf0121f30
1 changed files with 3 additions and 3 deletions
6
distribution/openrct2.d.ts
vendored
6
distribution/openrct2.d.ts
vendored
|
@ -15,7 +15,7 @@
|
|||
// /// <reference path="/path/to/openrct2.d.ts" />
|
||||
//
|
||||
|
||||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue