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

Class UnturnedVehicleRepairingEvent

The event that is triggered when a player is repairing a vehicle.

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

Constructors

| Improve this Doc View Source

UnturnedVehicleRepairingEvent(UnturnedVehicle, CSteamID, UInt16)

Declaration
public UnturnedVehicleRepairingEvent(UnturnedVehicle vehicle, CSteamID instigator, ushort pendingTotalHealing)
Parameters
Type Name Description
UnturnedVehicle vehicle
CSteamID instigator
System.UInt16 pendingTotalHealing

Properties

| Improve this Doc View Source

Instigator

Gets the player repairing the vehicle.

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

IsCancelled

Declaration
public bool IsCancelled { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

PendingTotalHealing

Gets or sets the amount of health to restore.

Declaration
public ushort PendingTotalHealing { get; set; }
Property Value
Type Description
System.UInt16

Implements

IVehicleEvent
IEvent
ICancellableEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)