docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct InventoryItemSerializableData

    Serializable data structure that contains the state of an inventory item.

    Namespace: UnityEngine.GameFoundation.DataPersistence
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct InventoryItemSerializableData

    Constructors

    Name Description
    InventoryItemSerializableData(string, string)

    Basic constructor that takes in the inventory item definition Id of the item and the quantity it have in this inventory.

    Fields

    Name Description
    definitionId

    The definition Id of the inventory item

    id

    The GameItemId of the item use by GameItemLookup

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)