Currency API for getting information from Currency.
More...
#include <AccelByteCurrencyApi.h>
|
|
| Currency (Credentials const &InCredentialsRef, Settings const &InSettingsRef, FHttpRetrySchedulerBase &InHttpRef, TSharedPtr< AccelByte::FApiClient, ESPMode::ThreadSafe > const &InApiClient=nullptr) |
|
| Currency (Credentials const &InCredentialsRef, Settings const &InSettingsRef, FHttpRetrySchedulerBase &InHttpRef, FAccelBytePlatformPtr const &InAccelBytePlatform) |
| FAccelByteTaskWPtr | GetCurrencyList (FString const &Namespace, THandler< TArray< FAccelByteModelsCurrencyList > > const &OnSuccess, FErrorHandler const &OnError, EAccelByteCurrencyType CurrencyType=EAccelByteCurrencyType::NONE) |
| | Get currency list information for a specific namespace.
|
|
| FApiBase (Credentials const &InCredentialsRef, Settings const &InSettingsRef, FHttpRetrySchedulerBase &InHttpRef, TSharedPtr< AccelByte::FApiClient, ESPMode::ThreadSafe > const &InApiClient) |
|
| FApiBase (Credentials const &InCredentialsRef, Settings const &InSettingsRef, FHttpRetrySchedulerBase &InHttpRef, FAccelBytePlatformPtr const &InAccelBytePlatform) |
|
void | SetApiClient (TSharedPtr< AccelByte::FApiClient, ESPMode::ThreadSafe > const &InApiClient) |
|
|
template<typename T> |
| bool | ValidateAccelByteId (FString const &Id, EAccelByteIdHypensRule HypenRule, FString const &ErrorMessage, T const &OnError) |
|
TSharedRef< Credentials const, ESPMode::ThreadSafe > | CredentialsRef |
|
Settings const & | SettingsRef |
|
FHttpRetrySchedulerBase & | HttpRef |
|
FHttpClient | HttpClient |
|
FAccelBytePlatformPtr | AccelBytePlatformPtr |
Currency API for getting information from Currency.
◆ GetCurrencyList()
| FAccelByteTaskWPtr AccelByte::Api::Currency::GetCurrencyList |
( |
FString const & | Namespace, |
|
|
THandler< TArray< FAccelByteModelsCurrencyList > > const & | OnSuccess, |
|
|
FErrorHandler const & | OnError, |
|
|
EAccelByteCurrencyType | CurrencyType = EAccelByteCurrencyType::NONE ) |
Get currency list information for a specific namespace.
- Parameters
-
| Namespace | The Namespace. |
| OnSuccess | This will be called when operation succeeded. The result is const FAccelByteModelsCurrencyList&. |
| OnError | This will be called when the operation failed. |
| CurrencyType | The Currency type. |
- Returns
- AccelByteTask object to track and cancel the ongoing API operation.