Struct VehiclePassengerSyncPacket
Represents synchronization data for a vehicle passenger.
public readonly struct VehiclePassengerSyncPacket
- Inherited Members
Fields
DriveBySeatAdditionalKeyWeapon
Gets the combined data for seat, drive-by, cuffed state, weapon, and additional key.
public readonly ushort DriveBySeatAdditionalKeyWeapon
Field Value
HealthArmour
Gets the health and armor of the passenger.
public readonly Vector2 HealthArmour
Field Value
Keys
Gets the keys pressed by the passenger.
public readonly ushort Keys
Field Value
LeftRight
Gets the left-right movement of the passenger.
public readonly ushort LeftRight
Field Value
PlayerID
Gets the ID of the player.
public readonly int PlayerID
Field Value
Position
Gets the position of the passenger.
public readonly Vector3 Position
Field Value
UpDown
Gets the up-down movement of the passenger.
public readonly ushort UpDown
Field Value
VehicleID
Gets the ID of the vehicle.
public readonly int VehicleID
Field Value
Properties
AdditionalKey
Gets the additional key pressed by the passenger.
public byte AdditionalKey { get; }
Property Value
Cuffed
Gets a value indicating whether the passenger is cuffed.
public bool Cuffed { get; }
Property Value
DriveBy
Gets a value indicating whether the passenger is in drive-by mode.
public bool DriveBy { get; }
Property Value
SeatId
Gets the seat ID of the passenger.
public byte SeatId { get; }
Property Value
WeaponId
Gets the weapon ID of the passenger.
public byte WeaponId { get; }