Struct VehicleDriverSyncPacket
Represents synchronization data for a vehicle driver.
public readonly struct VehicleDriverSyncPacket
- Inherited Members
Fields
AdditionalKeyWeapon
Gets the combined data for additional key and weapon.
public readonly byte AdditionalKeyWeapon
Field Value
HasTrailer
Gets a value indicating whether the vehicle has a trailer attached.
public readonly BlittableBoolean HasTrailer
Field Value
Health
Gets the health of the vehicle.
public readonly float Health
Field Value
HydraThrustAngle
Gets the thrust angle for Hydra vehicles.
public readonly uint HydraThrustAngle
Field Value
Keys
Gets the keys pressed by the driver.
public readonly ushort Keys
Field Value
LandingGear
Gets the landing gear state of the vehicle.
public readonly byte LandingGear
Field Value
LeftRight
Gets the left-right movement of the vehicle.
public readonly ushort LeftRight
Field Value
PlayerHealthArmour
Gets the health and armor of the driver.
public readonly Vector2 PlayerHealthArmour
Field Value
PlayerID
Gets the ID of the player driving the vehicle.
public readonly int PlayerID
Field Value
Position
Gets the position of the vehicle.
public readonly Vector3 Position
Field Value
Rotation
Gets the rotation quaternion of the vehicle.
public readonly GTAQuat Rotation
Field Value
Siren
Gets the siren state of the vehicle.
public readonly byte Siren
Field Value
TrailerID
Gets the ID of the trailer attached to the vehicle.
public readonly ushort TrailerID
Field Value
UpDown
Gets the up-down movement of the vehicle.
public readonly ushort UpDown
Field Value
VehicleID
Gets the ID of the vehicle being driven.
public readonly ushort VehicleID
Field Value
Velocity
Gets the velocity of the vehicle.
public readonly Vector3 Velocity
Field Value
Properties
AdditionalKey
Gets the additional key pressed by the driver.
public byte AdditionalKey { get; }
Property Value
TrainSpeed
Gets the speed of the train if the vehicle is a train.
public float TrainSpeed { get; }
Property Value
WeaponID
Gets the weapon ID of the driver.
public byte WeaponID { get; }