docs.unity.cn
    Show / Hide Table of Contents

    Struct InventoryManagerData

    Serializable data structure that contains the state of the InventoryItem instances.

    Namespace: UnityEngine.GameFoundation.Data
    Syntax
    [Serializable]
    public struct InventoryManagerData : IEquatable<InventoryManagerData>

    Fields

    itemLists

    The ItemList instance data.

    Declaration
    public ItemListData[] itemLists
    Field Value
    Type Description
    ItemListData[]

    itemMaps

    The ItemMap instance data.

    Declaration
    public ItemMapData[] itemMaps
    Field Value
    Type Description
    ItemMapData[]

    items

    The InventoryItem instance data.

    Declaration
    public InventoryItemData[] items
    Field Value
    Type Description
    InventoryItemData[]

    Methods

    Equals(Object)

    Tells whether this InventoryManagerData instance equals obj.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The other object to compare this instance with.

    Returns
    Type Description
    Boolean

    true if equals, false otherwise.

    Overrides
    ValueType.Equals(Object)

    Equals(InventoryManagerData)

    Declaration
    public bool Equals(InventoryManagerData other)
    Parameters
    Type Name Description
    InventoryManagerData other
    Returns
    Type Description
    Boolean

    GetHashCode()

    Gets the hash code of this InventoryManagerData instance. Returns 0.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    The hash code of this InventoryManagerData instance.

    Overrides
    ValueType.GetHashCode()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 16 June 2021