1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 00:10:58 -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,
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,
@ -174,4 +189,4 @@ export interface Config {
dcmod_chat: string
}
}
}
}