From 481283df178868a71f31bf4c89b5fcd253a76614 Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@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 +}