Class UnturnedPlayerFallDamagingEvent
Inheritance
System.Object
UnturnedPlayerFallDamagingEvent
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
|
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
Extension Methods