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

Class UnturnedPlayerFallDamagingEvent

Inheritance
System.Object
UnturnedPlayerEvent
UnturnedPlayerFallDamagingEvent
Implements
IPlayerDamagingEvent
IPlayerEvent
IEvent
ICancellableEvent
Inherited Members
UnturnedPlayerEvent.Player
UnturnedPlayerEvent.IPlayerEvent.Player
Namespace: OpenMod.Unturned.Players.Life.Events
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedPlayerFallDamagingEvent : UnturnedPlayerEvent, IPlayerDamagingEvent, IPlayerEvent, IEvent, ICancellableEvent

Constructors

| Improve this Doc View Source

UnturnedPlayerFallDamagingEvent(UnturnedPlayer, Single, Byte, IDamageSource, Boolean)

Declaration
public UnturnedPlayerFallDamagingEvent(UnturnedPlayer player, float velocity, byte amount, IDamageSource source, bool shouldBreakLegs)
Parameters
Type Name Description
UnturnedPlayer player
System.Single velocity
System.Byte amount
IDamageSource source
System.Boolean shouldBreakLegs

Properties

| Improve this Doc View Source

DamageAmount

Declaration
public byte DamageAmount { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

DamageSource

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

IsCancelled

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

ShouldBreakLegs

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

Velocity

Declaration
public float Velocity { get; }
Property Value
Type Description
System.Single

Explicit Interface Implementations

| Improve this Doc View Source

IPlayerDamagingEvent.DamageAmount

Declaration
double IPlayerDamagingEvent.DamageAmount { get; set; }
Returns
Type Description
System.Double

Implements

IPlayerDamagingEvent
IPlayerEvent
IEvent
ICancellableEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)