docs.unity3d.com
    Show / Hide Table of Contents

    Class GetInventoryOptions

    Options for a GetInventoryAsync call.

    Inheritance
    Object
    GetInventoryOptions
    PlayerInventory.GetInventoryOptions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Services.Economy
    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
    Int32

    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>
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023