mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-23 19:02:04 -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" />
|
// /// <reference path="/path/to/openrct2.d.ts" />
|
||||||
//
|
//
|
||||||
|
|
||||||
export type PluginType = "server" | "client" | "server_client";
|
export type PluginType = "local" | "remote";
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface PluginMetadata {
|
interface PluginMetadata {
|
||||||
|
@ -288,7 +288,7 @@ declare global {
|
||||||
trousers: number;
|
trousers: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Map {
|
interface GameMap {
|
||||||
readonly size: { x: number; y: number; };
|
readonly size: { x: number; y: number; };
|
||||||
readonly rides: number;
|
readonly rides: number;
|
||||||
readonly things: number;
|
readonly things: number;
|
||||||
|
@ -595,7 +595,7 @@ declare global {
|
||||||
var console: Console;
|
var console: Console;
|
||||||
var context: Context;
|
var context: Context;
|
||||||
var date: GameDate;
|
var date: GameDate;
|
||||||
var map: Map;
|
var map: GameMap;
|
||||||
var network: Network;
|
var network: Network;
|
||||||
var park: Park;
|
var park: Park;
|
||||||
var ui: Ui;
|
var ui: Ui;
|
||||||
|
|
Loading…
Add table
Reference in a new issue