Skip to content
On this page

AthenaShared.interfaces.vehicleInfo.VehicleInfo

shared/interfaces/vehicleInfo.VehicleInfo

Interface for working with / using vehicles.

Interface

VehicleInfo

Properties

class

class: VEHICLE_CLASS

The class of the vehicle; sport, utility, etc.

Defined in

shared/interfaces/vehicleInfo.ts:50


displayName

displayName: string

The display name of the vehicle.

Defined in

shared/interfaces/vehicleInfo.ts:15


fuelTankSize

Optional fuelTankSize: number

The total tanksize of the vehicle used for fuel cost calculations

Defined in

shared/interfaces/vehicleInfo.ts:106


fuelType

fuelType: FUEL_TYPE

The type of fuel the vehicle uses

Defined in

shared/interfaces/vehicleInfo.ts:78


hash

hash: number

The model hash of this vehicle.

Memberof

VehicleInfo

Defined in

shared/interfaces/vehicleInfo.ts:85


hexHash

Optional hexHash: string

The hex model hash of this vehicle.

Memberof

VehicleInfo

Defined in

shared/interfaces/vehicleInfo.ts:99


manufacturer

manufacturer: string

The manufacturer of the vehicle.

Memberof

VehicleInfo

Defined in

shared/interfaces/vehicleInfo.ts:36


manufacturerDisplayName

manufacturerDisplayName: string

The display name of the manufacturer of the vehicle.

Memberof

VehicleInfo

Defined in

shared/interfaces/vehicleInfo.ts:29


name

name: string

The model of the vehicle.

Defined in

shared/interfaces/vehicleInfo.ts:22


price

price: number

The price of this vehicle if purchaseable.

Defined in

shared/interfaces/vehicleInfo.ts:64


seats

Optional seats: number

The total number of available seats in a vehicle

Defined in

shared/interfaces/vehicleInfo.ts:113


sell

sell: boolean

Is this vehicle purchaseable?

Defined in

shared/interfaces/vehicleInfo.ts:57


signedHash

Optional signedHash: number

The signed model hash of this vehicle.

Memberof

VehicleInfo

Defined in

shared/interfaces/vehicleInfo.ts:92


storage

storage: number

How much storage this vehicle should have.

Defined in

shared/interfaces/vehicleInfo.ts:71


type

type: VEHICLE_TYPE

The vehicle type; vehicle, boat, plane, etc.

Defined in

shared/interfaces/vehicleInfo.ts:43

Created by Stuyk | Est. 2020