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

Class RustPlayerPickingUpItemEvent

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

Constructors

| Improve this Doc View Source

RustPlayerPickingUpItemEvent(RustPlayer, RustItem, Int32)

Declaration
public RustPlayerPickingUpItemEvent(RustPlayer player, RustItem item, int targetPos)
Parameters
Type Name Description
RustPlayer player
RustItem item
System.Int32 targetPos

Properties

| Improve this Doc View Source

IsCancelled

Declaration
public bool IsCancelled { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Item

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

TargetPos

Declaration
public int TargetPos { get; }
Property Value
Type Description
System.Int32

Implements

IPlayerEvent
IEvent
ICancellableEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)