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

Class RustPlayerAttackingEvent

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

Constructors

| Improve this Doc View Source

RustPlayerAttackingEvent(RustPlayer, HitInfo)

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

Properties

| 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

IPlayerEvent
IEvent
ICancellableEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)