vehicle sync OHNE FEHLER
This commit is contained in:
@@ -56,6 +56,8 @@ interface IVehicle extends IEntity {
|
||||
setEngineStatus(status: boolean, instantly: boolean, otherwise: boolean);
|
||||
setUndriveable(status: boolean);
|
||||
setDoorsLocked(state: boolean);
|
||||
setDoorShut(door: number, instantly: boolean);
|
||||
setDoorOpen(door: number, loose: boolean, instantly: boolean);
|
||||
}
|
||||
|
||||
interface IEntityPool<TEntity> {
|
||||
@@ -88,6 +90,14 @@ interface AccountData {
|
||||
interface VehicleData {
|
||||
EngineState: boolean;
|
||||
Locked: boolean;
|
||||
|
||||
Doors: { [door: number]: number };
|
||||
}
|
||||
|
||||
enum DoorState {
|
||||
DoorClosed,
|
||||
DoorOpen,
|
||||
DoorBroken,
|
||||
}
|
||||
|
||||
enum EventName {
|
||||
@@ -133,5 +143,6 @@ export {
|
||||
VehicleSeat,
|
||||
EntityType,
|
||||
AccountData,
|
||||
VehicleData
|
||||
VehicleData,
|
||||
DoorState
|
||||
}
|
||||
Reference in New Issue
Block a user