docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GetInventoryOptions

    Options for a GetInventoryAsync call.

    Inheritance
    object
    GetInventoryOptions
    PlayerInventory.GetInventoryOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Economy
    Assembly: Unity.Services.Economy.dll
    Syntax
    public class GetInventoryOptions

    Fields

    InventoryItemIds

    The configuration IDs of the items you want to retrieve.

    Declaration
    public List<string> InventoryItemIds
    Field Value
    Type Description
    List<string>

    ItemsPerFetch

    Used to specify the number of items to fetch per request. Defaults to 20 items.

    Declaration
    public int ItemsPerFetch
    Field Value
    Type Description
    int

    PlayersInventoryItemIds

    The PlayersInventoryItem IDs of the items in the players inventory that you want to retrieve.

    Declaration
    public List<string> PlayersInventoryItemIds
    Field Value
    Type Description
    List<string>
    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)