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

Class RustPlayerDeathEvent

Inheritance
System.Object
EventBase
Event
RustPlayerEvent
RustPlayerDeathEvent
Implements
IPlayerDeathEvent
IPlayerEvent
IEvent
Inherited Members
RustPlayerEvent.Player
RustPlayerEvent.IPlayerEvent.Player
Event.Arguments
EventBase.Name
EventBase.Data
Namespace: OpenMod.Rust.Players.Life.Events
Assembly: OpenMod.Rust.dll
Syntax
public class RustPlayerDeathEvent : RustPlayerEvent, IPlayerDeathEvent, IPlayerEvent, IEvent

Constructors

| Improve this Doc View Source

RustPlayerDeathEvent(RustPlayer, Nullable<HitInfo>)

Declaration
public RustPlayerDeathEvent(RustPlayer player, HitInfo? hitInfo)
Parameters
Type Name Description
RustPlayer player
System.Nullable<HitInfo> hitInfo

Properties

| Improve this Doc View Source

DeathPosition

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

HitInfo

Declaration
public HitInfo? HitInfo { get; }
Property Value
Type Description
System.Nullable<HitInfo>

Implements

IPlayerDeathEvent
IPlayerEvent
IEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)