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

Class UnturnedPlayerDeathEvent

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

Constructors

| Improve this Doc View Source

UnturnedPlayerDeathEvent(UnturnedPlayer, EDeathCause, ELimb, CSteamID)

Declaration
public UnturnedPlayerDeathEvent(UnturnedPlayer player, EDeathCause cause, ELimb limb, CSteamID instigator)
Parameters
Type Name Description
UnturnedPlayer player
EDeathCause cause
ELimb limb
CSteamID instigator

Properties

| Improve this Doc View Source

DeathCause

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

DeathPosition

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

Instigator

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

Limb

Declaration
public ELimb Limb { get; }
Property Value
Type Description
ELimb

Implements

IPlayerDeathEvent
IPlayerEvent
IEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)