docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CurrencyBalanceResponse

    CurrencyBalanceResponse

    Inheritance
    object
    CurrencyBalanceResponse
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.Economy
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class CurrencyBalanceResponse

    Constructors

    CurrencyBalanceResponse(string, long, string, ModifiedMetadata, ModifiedMetadata)

    Initializes a new instance of the CurrencyBalanceResponse class.

    Declaration
    [Preserve]
    public CurrencyBalanceResponse(string currencyId = null, long balance = 0, string writeLock = null, ModifiedMetadata created = null, ModifiedMetadata modified = null)
    Parameters
    Type Name Description
    string currencyId

    Resource ID of the currency. (required).

    long balance

    The player's balance. (required).

    string writeLock

    The write lock for the currency balance. (required).

    ModifiedMetadata created

    created (required).

    ModifiedMetadata modified

    modified (required).

    Properties

    Balance

    The player's balance.

    Declaration
    [Preserve]
    public long Balance { get; set; }
    Property Value
    Type Description
    long

    The player's balance.

    Created

    Gets or Sets Created

    Declaration
    [Preserve]
    public ModifiedMetadata Created { get; set; }
    Property Value
    Type Description
    ModifiedMetadata

    CurrencyId

    Resource ID of the currency.

    Declaration
    [Preserve]
    public string CurrencyId { get; set; }
    Property Value
    Type Description
    string

    Resource ID of the currency.

    Modified

    Gets or Sets Modified

    Declaration
    [Preserve]
    public ModifiedMetadata Modified { get; set; }
    Property Value
    Type Description
    ModifiedMetadata

    WriteLock

    The write lock for the currency balance.

    Declaration
    [Preserve]
    public string WriteLock { get; set; }
    Property Value
    Type Description
    string

    The write lock for the currency balance.

    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)