Class Consumable
A wrapper class for InventorySystem.Items.Usables.Consumable.
Implements
IWrapper<InventorySystem.Items.ItemBase>
IWrapper<InventorySystem.Items.Usables.UsableItem>
IWrapper<InventorySystem.Items.Usables.Consumable>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.API.Features.Items
Assembly: Exiled.API.dll
Syntax
public class Consumable : Usable, IWrapper<ItemBase>, IWrapper<UsableItem>, IWrapper<Consumable>
Constructors
| Improve this Doc View SourceConsumable(Consumable)
Initializes a new instance of the Consumable class.
Declaration
public Consumable(Consumable itemBase)
Parameters
Type | Name | Description |
---|---|---|
InventorySystem.Items.Usables.Consumable | itemBase | The base InventorySystem.Items.Usables.Consumable class. |
Properties
| Improve this Doc View SourceBase
Gets the InventorySystem.Items.Usables.Consumable that this class is encapsulating.
Declaration
public Consumable Base { get; }
Property Value
Type | Description |
---|---|
InventorySystem.Items.Usables.Consumable |