docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CurrencyModifyBalanceRequest

    CurrencyModifyBalanceRequest

    Inheritance
    object
    CurrencyModifyBalanceRequest
    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 CurrencyModifyBalanceRequest

    Constructors

    CurrencyModifyBalanceRequest(string, long, string)

    Initializes a new instance of the CurrencyModifyBalanceRequest class.

    Declaration
    [Preserve]
    public CurrencyModifyBalanceRequest(string currencyId = null, long amount = 0, string writeLock = null)
    Parameters
    Type Name Description
    string currencyId

    Resource ID of the currency..

    long amount

    The value by which to increment or decrement. Zero is allowed but results in no change to the currency balance. (required).

    string writeLock

    The write lock for the currency balance..

    Properties

    Amount

    The value by which to increment or decrement. Zero is allowed but results in no change to the currency balance.

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

    The value by which to increment or decrement. Zero is allowed but results in no change to the currency balance.

    CurrencyId

    Resource ID of the currency.

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

    Resource ID of the currency.

    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)