Table of Contents

Struct VehiclePassengerSyncPacket

Namespace
SampSharp.OpenMp.Core.Api
Assembly
SampSharp.OpenMp.Core.dll

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

ushort

HealthArmour

Gets the health and armor of the passenger.

public readonly Vector2 HealthArmour

Field Value

Vector2

Keys

Gets the keys pressed by the passenger.

public readonly ushort Keys

Field Value

ushort

LeftRight

Gets the left-right movement of the passenger.

public readonly ushort LeftRight

Field Value

ushort

PlayerID

Gets the ID of the player.

public readonly int PlayerID

Field Value

int

Position

Gets the position of the passenger.

public readonly Vector3 Position

Field Value

Vector3

UpDown

Gets the up-down movement of the passenger.

public readonly ushort UpDown

Field Value

ushort

VehicleID

Gets the ID of the vehicle.

public readonly int VehicleID

Field Value

int

Properties

AdditionalKey

Gets the additional key pressed by the passenger.

public byte AdditionalKey { get; }

Property Value

byte

Cuffed

Gets a value indicating whether the passenger is cuffed.

public bool Cuffed { get; }

Property Value

bool

DriveBy

Gets a value indicating whether the passenger is in drive-by mode.

public bool DriveBy { get; }

Property Value

bool

SeatId

Gets the seat ID of the passenger.

public byte SeatId { get; }

Property Value

byte

WeaponId

Gets the weapon ID of the passenger.

public byte WeaponId { get; }

Property Value

byte