Class Vehicle
Inheritance
System.Object
Vehicle
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AltV.Net.Client.dll
Syntax
public class Vehicle : Entity, IInternalBaseObject, IVehicle, ISharedVehicle, IEntity, ISharedEntity, IWorldObject, ISharedWorldObject, IBaseObject, ISharedBaseObject, INative
Constructors
|
Improve this Doc
View Source
Vehicle(ICore, IntPtr, BaseObjectType, UInt32)
Declaration
public Vehicle(ICore core, IntPtr vehiclePointer, BaseObjectType type, uint id)
Parameters
|
Improve this Doc
View Source
Vehicle(ICore, IntPtr, UInt32)
Declaration
public Vehicle(ICore core, IntPtr vehiclePointer, uint id)
Parameters
Type |
Name |
Description |
ICore |
core |
|
IntPtr |
vehiclePointer |
|
System.UInt32 |
id |
|
Properties
|
Improve this Doc
View Source
AbsLight
Declaration
public bool AbsLight { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
BatteryLight
Declaration
public bool BatteryLight { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
EngineLight
Declaration
public bool EngineLight { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
EngineTemperature
Declaration
public float EngineTemperature { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
FuelLevel
Declaration
public float FuelLevel { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Gear
Declaration
public ushort Gear { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
IndicatorLights
Declaration
public byte IndicatorLights { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
IsTaxiLightOn
Declaration
public bool IsTaxiLightOn { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
MaxGear
Declaration
public ushort MaxGear { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
NativePointer
Declaration
public override IntPtr NativePointer { get; }
Property Value
Overrides
|
Improve this Doc
View Source
OccupiedSeatsCount
Declaration
public byte OccupiedSeatsCount { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
OilLevel
Declaration
public float OilLevel { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
OilLight
Declaration
public bool OilLight { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
PetrolLight
Declaration
public bool PetrolLight { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
PetrolTankHealth
Declaration
public int PetrolTankHealth { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Rpm
Declaration
public float Rpm { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
SeatCount
Declaration
public byte SeatCount { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
SpeedVector
Declaration
public Vector3 SpeedVector { get; }
Property Value
Type |
Description |
System.Numerics.Vector3 |
|
|
Improve this Doc
View Source
SteeringAngle
Declaration
public float SteeringAngle { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
SuspensionHeight
Declaration
public float SuspensionHeight { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
VehicleNativePointer
Declaration
public IntPtr VehicleNativePointer { get; }
Property Value
|
Improve this Doc
View Source
WheelsCount
Declaration
public byte WheelsCount { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
WheelSpeed
Declaration
public float WheelSpeed { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
GetHandling()
Declaration
public Handling GetHandling()
Returns
|
Improve this Doc
View Source
GetWheelCamber(Byte)
Declaration
public float GetWheelCamber(byte wheel)
Parameters
Type |
Name |
Description |
System.Byte |
wheel |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetWheelHeight(Byte)
Declaration
public float GetWheelHeight(byte wheel)
Parameters
Type |
Name |
Description |
System.Byte |
wheel |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetWheelRimRadius(Byte)
Declaration
public float GetWheelRimRadius(byte wheel)
Parameters
Type |
Name |
Description |
System.Byte |
wheel |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetWheelSurfaceMaterial(Byte)
Declaration
public uint GetWheelSurfaceMaterial(byte wheel)
Parameters
Type |
Name |
Description |
System.Byte |
wheel |
|
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
GetWheelTrackWidth(Byte)
Declaration
public float GetWheelTrackWidth(byte wheel)
Parameters
Type |
Name |
Description |
System.Byte |
wheel |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetWheelTyreRadius(Byte)
Declaration
public float GetWheelTyreRadius(byte wheel)
Parameters
Type |
Name |
Description |
System.Byte |
wheel |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetWheelTyreWidth(Byte)
Declaration
public float GetWheelTyreWidth(byte wheel)
Parameters
Type |
Name |
Description |
System.Byte |
wheel |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
ResetDashboardLights()
Declaration
public void ResetDashboardLights()
|
Improve this Doc
View Source
SetCached(IntPtr)
Declaration
public override void SetCached(IntPtr cachedVehicle)
Parameters
Type |
Name |
Description |
IntPtr |
cachedVehicle |
|
Overrides
|
Improve this Doc
View Source
SetWheelCamber(Byte, Single)
Declaration
public void SetWheelCamber(byte wheel, float value)
Parameters
Type |
Name |
Description |
System.Byte |
wheel |
|
System.Single |
value |
|
|
Improve this Doc
View Source
SetWheelHeight(Byte, Single)
Declaration
public void SetWheelHeight(byte wheel, float value)
Parameters
Type |
Name |
Description |
System.Byte |
wheel |
|
System.Single |
value |
|
|
Improve this Doc
View Source
SetWheelRimRadius(Byte, Single)
Declaration
public void SetWheelRimRadius(byte wheel, float value)
Parameters
Type |
Name |
Description |
System.Byte |
wheel |
|
System.Single |
value |
|
|
Improve this Doc
View Source
SetWheelTrackWidth(Byte, Single)
Declaration
public void SetWheelTrackWidth(byte wheel, float value)
Parameters
Type |
Name |
Description |
System.Byte |
wheel |
|
System.Single |
value |
|
|
Improve this Doc
View Source
SetWheelTyreRadius(Byte, Single)
Declaration
public void SetWheelTyreRadius(byte wheel, float value)
Parameters
Type |
Name |
Description |
System.Byte |
wheel |
|
System.Single |
value |
|
|
Improve this Doc
View Source
SetWheelTyreWidth(Byte, Single)
Declaration
public void SetWheelTyreWidth(byte wheel, float value)
Parameters
Type |
Name |
Description |
System.Byte |
wheel |
|
System.Single |
value |
|
Implements