CurrenciesApi
Import
Import
Constructors
Constructor
-
Parameters
-
Optional configuration: Configuration
-
basePath: string = ...
-
axios: AxiosInstance = ...
Returns CurrenciesApi
-
Methods
Decrement Player Currency Balance
-
Parameters
-
requestParameters: CurrenciesApiDecrementPlayerCurrencyBalanceRequest
Request parameters.
-
Optional options: RawAxiosRequestConfig<any>
Returns Promise<AxiosResponse<CurrencyBalanceResponse, any>>
-
Get Player Currencies
-
Get a list of currency balances for a player. Results ordered in ascending currency ID.
Parameters
-
requestParameters: CurrenciesApiGetPlayerCurrenciesRequest
Request parameters.
-
Optional options: RawAxiosRequestConfig<any>
Returns Promise<AxiosResponse<PlayerCurrencyBalanceResponse, any>>
-
Increment Player Currency Balance
-
Increment a player's currency balance by a given value.
Parameters
-
requestParameters: CurrenciesApiIncrementPlayerCurrencyBalanceRequest
Request parameters.
-
Optional options: RawAxiosRequestConfig<any>
Returns Promise<AxiosResponse<CurrencyBalanceResponse, any>>
-
Set Player Currency Balance
-
Set a player's currency balance.
Parameters
-
requestParameters: CurrenciesApiSetPlayerCurrencyBalanceRequest
Request parameters.
-
Optional options: RawAxiosRequestConfig<any>
Returns Promise<AxiosResponse<CurrencyBalanceResponse, any>>
-
Decrements a player's currency balance by a given value.
Decrement currency balance
{RequiredError}
CurrenciesApi