{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class PlayersInventoryItem | Economy | 3.3.0
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PlayersInventoryItem

    Represents a single player's inventory item. This is an inventory item unique to a specific player.

    Inheritance
    object
    PlayersInventoryItem
    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.Model
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class PlayersInventoryItem

    Constructors

    Name Description
    PlayersInventoryItem(string, string, IDeserializable, string, EconomyDate, EconomyDate)

    Fields

    Name Description
    Created

    The date this players inventory item was created as an EconomyDate object.

    InstanceData

    Any instance data specific to this unique item in the player's inventory.

    InventoryItemId

    The configuration ID of the inventory item.

    Modified

    The date this players inventory item was modified as an EconomyDate object.

    PlayersInventoryItemId

    The ID of the unique item specific to this player's inventory.

    WriteLock

    The current WriteLock string.

    Methods

    Name Description
    GetItemDefinition()

    Gets the configuration definition associated with this player's inventory item.

    GetItemDefinitionAsync()

    Gets the configuration definition associated with this player's inventory item.

    In This Article
    Back to top
    Copyright © 2023 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)