Class EnterVehicleRequested
[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
Seat
The seat the player will enter.
public required int Seat { get; set; }
Property Value
Exceptions
- ArgumentOutOfRangeException
Seat out of range or taken.
Vehicle
Vehicle being entered.
public required WarfareVehicle Vehicle { get; init; }