Table of Contents

Class ExitVehicleRequested

Namespace
Uncreated.Warfare.Events.Models.Vehicles
Assembly
Uncreated.Warfare.dll
[EventModel(EventSynchronizationContext.Global, SynchronizedModelTags = new string[] { "modify_vehicle" })]
public class ExitVehicleRequested : CancellablePlayerEvent, IPlayerEvent, ICancellable
Inheritance
ExitVehicleRequested
Implements
Inherited Members

Properties

ExitLocation

Location where the player will exit at.

public required Vector3 ExitLocation { get; set; }

Property Value

Vector3

ExitLocationYaw

Yaw rotation where the player will exit at.

public required float ExitLocationYaw { get; set; }

Property Value

float

IgnoreInteractCooldown

If the VehicleInteract cooldown should be ignored.

public bool IgnoreInteractCooldown { get; init; }

Property Value

bool

JumpVelocity

Client-side velocity if the exiting player is the driver.

public required Vector3 JumpVelocity { get; init; }

Property Value

Vector3

PassengerData

The seat object for the player's current seat.

public Passenger PassengerData { get; }

Property Value

Passenger

PassengerIndex

Passenger index in the vehicle's seat info for the player's current seat.

public required byte PassengerIndex { get; init; }

Property Value

byte

Vehicle

Vehicle being exited from.

public required WarfareVehicle Vehicle { get; init; }

Property Value

WarfareVehicle