Table of Contents

Class EnterVehicleRequested

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

Properties

IgnoreInteractCooldown

If the VehicleInteract cooldown should be ignored.

public bool IgnoreInteractCooldown { get; init; }

Property Value

bool

Seat

The seat the player will enter.

public required int Seat { get; set; }

Property Value

int

Exceptions

ArgumentOutOfRangeException

Seat out of range or taken.

Vehicle

Vehicle being entered.

public required WarfareVehicle Vehicle { get; init; }

Property Value

WarfareVehicle