Class UnturnedPlayerExitingVehicleEvent
The event that is triggered when a player is exitting a vehicle.
Inheritance
System.Object
UnturnedPlayerExitingVehicleEvent
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedPlayerExitingVehicleEvent : UnturnedPlayerEvent, IPlayerExitingVehicleEvent, IPlayerEvent, IVehicleEvent, IEvent, ICancellableEvent
Constructors
|
Improve this Doc
View Source
UnturnedPlayerExitingVehicleEvent(UnturnedPlayer, UnturnedVehicle, Vector3, Single)
Declaration
public UnturnedPlayerExitingVehicleEvent(UnturnedPlayer player, UnturnedVehicle vehicle, Vector3 pendingLocation, float pendingYaw)
Parameters
Properties
|
Improve this Doc
View Source
IsCancelled
Declaration
public bool IsCancelled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
PendingLocation
Gets or sets the location the player will get teleported to.
Declaration
public Vector3 PendingLocation { get; set; }
Property Value
|
Improve this Doc
View Source
PendingYaw
Gets or sets the yaw to be set of the player.
Declaration
public float PendingYaw { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Vehicle
Declaration
public UnturnedVehicle Vehicle { get; }
Property Value
Explicit Interface Implementations
|
Improve this Doc
View Source
IVehicleEvent.Vehicle
Declaration
IVehicle IVehicleEvent.Vehicle { get; }
Returns
Implements
Extension Methods