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
d5ef1ef543
commit
b9c4ee7141
15
src/typings/interfaces.d.ts
vendored
15
src/typings/interfaces.d.ts
vendored
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user