mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 12:21:00 -05:00
Add vehicle data to typings
This commit is contained in:
parent
26d8196878
commit
db39540bbc
15
src/typings/interfaces.d.ts
vendored
15
src/typings/interfaces.d.ts
vendored
@ -28,7 +28,22 @@ export interface FSData {
|
||||
capacity: number,
|
||||
used: number,
|
||||
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 {
|
||||
isUsed: boolean,
|
||||
|
Loading…
Reference in New Issue
Block a user