From 91043cec516f8e875cff4a049a427e7a2dc32311 Mon Sep 17 00:00:00 2001 From: Ted John Date: Wed, 12 Feb 2020 14:29:02 +0000 Subject: [PATCH] Add RideObject API --- distribution/openrct2.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/distribution/openrct2.d.ts b/distribution/openrct2.d.ts index ccc7ba579c..956238c7d8 100644 --- a/distribution/openrct2.d.ts +++ b/distribution/openrct2.d.ts @@ -250,7 +250,16 @@ export interface Tile { getElement(index: number): TileElement; } +export interface RideObject { + readonly id: number; + readonly name: string; + readonly description: string; + readonly capacity: string; +} + export interface Ride { + readonly object: RideObject; + type: string; name: string; excitement: number; intensity: number;