Class UnturnedInventoryItem
Inheritance
System.Object
UnturnedInventoryItem
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedInventoryItem : object, IInventoryItem, IItemInstance
Constructors
|
Improve this Doc
View Source
UnturnedInventoryItem(UnturnedPlayerInventory, ItemJar)
Declaration
public UnturnedInventoryItem(UnturnedPlayerInventory inventory, ItemJar itemJar)
Parameters
Properties
|
Improve this Doc
View Source
Inventory
Declaration
public UnturnedPlayerInventory Inventory { get; }
Property Value
|
Improve this Doc
View Source
Item
Declaration
public UnturnedItem Item { get; }
Property Value
|
Improve this Doc
View Source
ItemJar
Declaration
public ItemJar ItemJar { get; }
Property Value
Methods
|
Improve this Doc
View Source
DestroyAsync()
Declaration
public Task<bool> DestroyAsync()
Returns
Type |
Description |
Task<System.Boolean> |
|
|
Improve this Doc
View Source
DropAsync()
Declaration
Returns
Explicit Interface Implementations
|
Improve this Doc
View Source
IItemInstance.Item
Declaration
IItem IItemInstance.Item { get; }
Returns
Implements
Extension Methods