Class CurrencyModifyBalanceRequest
CurrencyModifyBalanceRequest
Inherited Members
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. |