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

Class RustPlayerCraftingItemEvent

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

Constructors

| Improve this Doc View Source

RustPlayerCraftingItemEvent(RustPlayer, ItemBlueprint, Int32)

Declaration
public RustPlayerCraftingItemEvent(RustPlayer player, ItemBlueprint blueprint, int amount)
Parameters
Type Name Description
RustPlayer player
ItemBlueprint blueprint
System.Int32 amount

Properties

| Improve this Doc View Source

Amount

Declaration
public int Amount { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Blueprint

Declaration
public ItemBlueprint Blueprint { get; }
Property Value
Type Description
ItemBlueprint
| 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)