Documentation

CurrenciesApi

Import

Import

  • const { CurrenciesApi } = require("@unity-services/economy-2.5");

Constructors

Constructor

Methods

Decrement Player Currency Balance

Get Player Currencies

  • Get a list of currency balances for a player. Results ordered in ascending currency ID.

    summary

    Player currency balances

    throws

    {RequiredError}

    memberof

    CurrenciesApi

    Parameters

    Returns Promise<AxiosResponse<PlayerCurrencyBalanceResponse, any>>

Increment Player Currency Balance

Set Player Currency Balance