Class UnturnedVehicleLockpickingEvent
The event that is triggered when a player tries to lockpick a vehicle.
Namespace: OpenMod.Unturned.Vehicles.Events
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedVehicleLockpickingEvent : UnturnedVehicleEvent, IVehicleEvent, IEvent, ICancellableEvent
Constructors
| Improve this Doc View SourceUnturnedVehicleLockpickingEvent(UnturnedVehicle, UnturnedPlayer)
Declaration
public UnturnedVehicleLockpickingEvent(UnturnedVehicle vehicle, UnturnedPlayer instigator)
Parameters
| Type | Name | Description |
|---|---|---|
| UnturnedVehicle | vehicle | |
| UnturnedPlayer | instigator |
Properties
| Improve this Doc View SourceInstigator
Gets the player trying to lockpick the vehicle.
Declaration
public UnturnedPlayer Instigator { get; }
Property Value
| Type | Description |
|---|---|
| UnturnedPlayer |
IsCancelled
Declaration
public bool IsCancelled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Implements
ICancellableEvent