From b9c4ee714110461a71a95a5f24cc49211f5912a0 Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Sun, 1 Oct 2023 04:44:38 +1100 Subject: [PATCH] Add vehicle data to typings --- src/typings/interfaces.d.ts | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/typings/interfaces.d.ts b/src/typings/interfaces.d.ts index cd06a03..7903b21 100644 --- a/src/typings/interfaces.d.ts +++ b/src/typings/interfaces.d.ts @@ -28,7 +28,22 @@ export interface FSData { capacity: number, used: number, players: Array - } + }, + vehicles: Array +} +interface FSVehicle { + name: string, + category: string, + type: string, + x: number, + y: number, + z: number, + fills: Array, + controller: string +} +interface FSVehicleFill { + type: string, + level: number } export interface FSPlayer { isUsed: boolean, @@ -174,4 +189,4 @@ export interface Config { dcmod_chat: string } } -} \ No newline at end of file +}