Class UnturnedPlayerDamagedEvent
Inheritance
System.Object
UnturnedPlayerDamagedEvent
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedPlayerDamagedEvent : UnturnedPlayerEvent, IPlayerDamagedEvent, IPlayerEvent, IEvent
Constructors
|
Improve this Doc
View Source
UnturnedPlayerDamagedEvent(UnturnedPlayer, Byte, EDeathCause, ELimb, CSteamID, IDamageSource)
Declaration
public UnturnedPlayerDamagedEvent(UnturnedPlayer player, byte damageAmount, EDeathCause cause, ELimb limb, CSteamID killer, IDamageSource damageSource)
Parameters
Type |
Name |
Description |
UnturnedPlayer |
player |
|
System.Byte |
damageAmount |
|
EDeathCause |
cause |
|
ELimb |
limb |
|
CSteamID |
killer |
|
IDamageSource |
damageSource |
|
Properties
|
Improve this Doc
View Source
Cause
Declaration
public EDeathCause Cause { get; }
Property Value
Type |
Description |
EDeathCause |
|
|
Improve this Doc
View Source
DamageAmount
Declaration
public byte DamageAmount { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
DamageSource
Declaration
public IDamageSource DamageSource { get; }
Property Value
|
Improve this Doc
View Source
Killer
Declaration
public CSteamID Killer { get; set; }
Property Value
Type |
Description |
CSteamID |
|
|
Improve this Doc
View Source
Limb
Declaration
public ELimb Limb { get; set; }
Property Value
Explicit Interface Implementations
|
Improve this Doc
View Source
IPlayerDamagedEvent.DamageAmount
Declaration
double IPlayerDamagedEvent.DamageAmount { get; }
Returns
Type |
Description |
System.Double |
|
Implements
Extension Methods