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

Class RustPlayerDamagingEvent

Inheritance
System.Object
EventBase
Event
RustPlayerEvent
RustPlayerDamagingEvent
Implements
IPlayerDamagingEvent
IPlayerEvent
IEvent
ICancellableEvent
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 RustPlayerDamagingEvent : RustPlayerEvent, IPlayerDamagingEvent, IPlayerEvent, IEvent, ICancellableEvent

Constructors

| Improve this Doc View Source

RustPlayerDamagingEvent(RustPlayer, HitInfo)

Declaration
public RustPlayerDamagingEvent(RustPlayer player, HitInfo hitInfo)
Parameters
Type Name Description
RustPlayer player
HitInfo hitInfo

Properties

| Improve this Doc View Source

DamageAmount

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

DamageSource

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

HitInfo

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

IsCancelled

Declaration
public bool IsCancelled { get; set; }
Property Value
Type Description
System.Boolean

Implements

IPlayerDamagingEvent
IPlayerEvent
IEvent
ICancellableEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)