Search Results for

    Show / Hide Table of Contents

    Class HeroInventory.Item

    Inheritance
    System.Object
    HeroInventory.Item
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Oasys.Common.GameObject.Clients.ExtendedInstances
    Assembly: Oasys.Common.dll
    Syntax
    public class Item

    Fields

    CreatedInListGameTime

    Gets the time when the item was created in the list.

    Declaration
    public float CreatedInListGameTime
    Field Value
    Type Description
    System.Single

    ID

    Gets the ID of the item.

    Declaration
    public ItemID ID
    Field Value
    Type Description
    ItemID

    OwnerHero

    Gets the item owner hero.

    Declaration
    public AIHeroClient OwnerHero
    Field Value
    Type Description
    AIHeroClient

    Properties

    Charges

    Gets the amount of charges the item has.

    Declaration
    public int Charges { get; }
    Property Value
    Type Description
    System.Int32

    Cooldown

    Gets the item cooldown.

    Declaration
    public float Cooldown { get; }
    Property Value
    Type Description
    System.Single

    CooldownExpiry

    Gets the item cooldown expiry time.

    Declaration
    public float CooldownExpiry { get; }
    Property Value
    Type Description
    System.Single

    Cost

    Gets the item cost.

    Declaration
    public float Cost { get; }
    Property Value
    Type Description
    System.Single

    IsReady

    Checks whether if the item is ready.

    Declaration
    public bool IsReady { get; }
    Property Value
    Type Description
    System.Boolean

    Name

    Gets the name of the item.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String

    Slot

    Gets the slot of the item.

    Declaration
    public ItemSlot Slot { get; }
    Property Value
    Type Description
    ItemSlot

    SpellCastSlot

    Declaration
    public SpellCastSlot SpellCastSlot { get; }
    Property Value
    Type Description
    SpellCastSlot

    SpellSlot

    Declaration
    public SpellSlot SpellSlot { get; }
    Property Value
    Type Description
    SpellSlot

    Extension Methods

    Extensions.In<T>(T, T[])
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾