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

Class UnturnedPlayerTakingItemEvent

Inheritance
System.Object
UnturnedPlayerEvent
UnturnedPlayerTakingItemEvent
Implements
IPlayerEvent
IEvent
ICancellableEvent
Inherited Members
UnturnedPlayerEvent.Player
UnturnedPlayerEvent.IPlayerEvent.Player
Namespace: OpenMod.Unturned.Players.Inventory.Events
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedPlayerTakingItemEvent : UnturnedPlayerEvent, IPlayerEvent, IEvent, ICancellableEvent

Constructors

| Improve this Doc View Source

UnturnedPlayerTakingItemEvent(UnturnedPlayer, Byte, Byte, UInt32, Byte, Byte, Byte, Byte, ItemData)

Declaration
public UnturnedPlayerTakingItemEvent(UnturnedPlayer player, byte regionX, byte regionY, uint instanceId, byte inventoryX, byte inventoryY, byte inventoryRotation, byte inventoryPage, ItemData itemData)
Parameters
Type Name Description
UnturnedPlayer player
System.Byte regionX
System.Byte regionY
System.UInt32 instanceId
System.Byte inventoryX
System.Byte inventoryY
System.Byte inventoryRotation
System.Byte inventoryPage
ItemData itemData

Properties

| Improve this Doc View Source

InstanceId

Declaration
public uint InstanceId { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

InventoryPage

Declaration
public byte InventoryPage { get; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

InventoryRotation

Declaration
public byte InventoryRotation { get; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

InventoryX

Declaration
public byte InventoryX { get; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

InventoryY

Declaration
public byte InventoryY { get; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

IsCancelled

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

ItemData

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

RegionX

Declaration
public byte RegionX { get; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

RegionY

Declaration
public byte RegionY { get; }
Property Value
Type Description
System.Byte

Implements

IPlayerEvent
IEvent
ICancellableEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)