1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 04:10:59 -05:00

Add vehicle data to typings

This commit is contained in:
toast-ts 2023-10-01 04:44:38 +11:00
parent 30e76ece59
commit 481283df17

View File

@ -28,7 +28,22 @@ export interface FSData {
capacity: number, capacity: number,
used: number, used: number,
players: Array<FSPlayer> players: Array<FSPlayer>
} },
vehicles: Array<FSVehicle>
}
interface FSVehicle {
name: string,
category: string,
type: string,
x: number,
y: number,
z: number,
fills: Array<FSVehicleFill>,
controller: string
}
interface FSVehicleFill {
type: string,
level: number
} }
export interface FSPlayer { export interface FSPlayer {
isUsed: boolean, isUsed: boolean,