OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class UnturnedVehicleLockUpdatedEvent

The event that is triggered when the vehicle lock has been updated.

Inheritance
System.Object
UnturnedVehicleEvent
UnturnedVehicleLockUpdatedEvent
Implements
IVehicleEvent
IEvent
Inherited Members
UnturnedVehicleEvent.Vehicle
UnturnedVehicleEvent.IVehicleEvent.Vehicle
Namespace: OpenMod.Unturned.Vehicles.Events
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedVehicleLockUpdatedEvent : UnturnedVehicleEvent, IVehicleEvent, IEvent

Constructors

| Improve this Doc View Source

UnturnedVehicleLockUpdatedEvent(UnturnedPlayer, UnturnedVehicle, Nullable<CSteamID>, Boolean)

Declaration
public UnturnedVehicleLockUpdatedEvent(UnturnedPlayer instigator, UnturnedVehicle vehicle, CSteamID? group, bool isLocked)
Parameters
Type Name Description
UnturnedPlayer instigator
UnturnedVehicle vehicle
System.Nullable<CSteamID> group
System.Boolean isLocked

Properties

| Improve this Doc View Source

Group

Gets the new lock owner group.

Declaration
public CSteamID? Group { get; }
Property Value
Type Description
System.Nullable<CSteamID>
| Improve this Doc View Source

Instigator

Gets the player locking or unlocking the vehicle.

Declaration
public UnturnedPlayer Instigator { get; }
Property Value
Type Description
UnturnedPlayer
| Improve this Doc View Source

IsLocked

Gets if the vehicle has been locked or unlocked.

Declaration
public bool IsLocked { get; }
Property Value
Type Description
System.Boolean

Implements

IVehicleEvent
IEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)