Search Results for

    Show / Hide Table of Contents

    Class Consumable

    A wrapper class for InventorySystem.Items.Usables.Consumable.

    Inheritance
    System.Object
    TypeCastObject<Item>
    Item
    Usable
    Consumable
    Implements
    IWrapper<InventorySystem.Items.ItemBase>
    IWrapper<InventorySystem.Items.Usables.UsableItem>
    IWrapper<InventorySystem.Items.Usables.Consumable>
    Inherited Members
    Usable.Equippable
    Usable.Holsterable
    Usable.Weight
    Usable.IsUsing
    Usable.UseTime
    Usable.MaxCancellableTime
    Usable.RemainingCooldown
    Usable.PlayerGetCooldown
    Usable.CreatePickup(Vector3, Quaternion, Boolean)
    Usable.Use()
    Item.List
    Item.Serial
    Item.IsInInventory
    Item.Scale
    Item.Type
    Item.Category
    Item.TierFlags
    Item.IsAmmo
    Item.IsArmor
    Item.IsKeycard
    Item.IsConsumable
    Item.IsThrowable
    Item.IsUsable
    Item.IsWeapon
    Item.IsLightEmitter
    Item.IsDisarmer
    Item.Owner
    Item.Get(ItemBase)
    Item.Get(UInt16)
    Item.Create(ItemType, Player)
    Item.Give(Player)
    Item.Destroy()
    Item.Clone()
    Item.ToString()
    Item.ChangeItemOwner(Player, Player)
    TypeCastObject<Item>.Cast<TObject>()
    TypeCastObject<Item>.Cast<TObject>(TObject)
    TypeCastObject<Item>.As<TObject>()
    TypeCastObject<Item>.Is<TObject>(TObject)
    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 Source

    Consumable(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 Source

    Base

    Gets the InventorySystem.Items.Usables.Consumable that this class is encapsulating.

    Declaration
    public Consumable Base { get; }
    Property Value
    Type Description
    InventorySystem.Items.Usables.Consumable

    Implements

    IWrapper<T>
    IWrapper<T>
    IWrapper<T>

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX