Class UnturnedPlayerSwappedSeatEvent
The event that is triggered when a player has swapped their seat.
Inheritance
System.Object
UnturnedPlayerSwappedSeatEvent
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedPlayerSwappedSeatEvent : UnturnedPlayerEvent, IPlayerEvent, IVehicleEvent, IEvent
Constructors
|
Improve this Doc
View Source
UnturnedPlayerSwappedSeatEvent(UnturnedPlayer, UnturnedVehicle, Byte, Byte)
Declaration
public UnturnedPlayerSwappedSeatEvent(UnturnedPlayer player, UnturnedVehicle vehicle, byte fromSeatIndex, byte toSeatIndex)
Parameters
Properties
|
Improve this Doc
View Source
FromSeatIndex
Gets the seat the player has swapped from.
Declaration
public byte FromSeatIndex { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
ToSeatIndex
Gets the seat the player has swapped to.
Declaration
public byte ToSeatIndex { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
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