Loading...
Searching...
No Matches
AccelByte::Api::Configurations Class Reference
Inheritance diagram for AccelByte::Api::Configurations:

Public Member Functions

 Configurations (Credentials const &InCredentialsRef, Settings const &InSettingsRef, FHttpRetrySchedulerBase &InHttpRef, TSharedPtr< AccelByte::FApiClient, ESPMode::ThreadSafe > const &InApiClient=nullptr)
 Configurations (Credentials const &InCredentialsRef, Settings const &InSettingsRef, FHttpRetrySchedulerBase &InHttpRef, FAccelBytePlatformPtr const &InAccelBytePlatform)
FAccelByteTaskWPtr GetAll (THandler< TArray< FAccelByteModelsConfiguration > > const &OnSuccess, FErrorHandler const &OnError)
 Get all public configurations for current namespace.
FAccelByteTaskWPtr Get (FString const &Key, THandler< FAccelByteModelsConfiguration > const &OnSuccess, FErrorHandler const &OnError)
 Get a public configuration based on the key for current namespace.
Public Member Functions inherited from AccelByte::FApiBase
 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)

Additional Inherited Members

Protected Member Functions inherited from AccelByte::FApiBase
template<typename T>
bool ValidateAccelByteId (FString const &Id, EAccelByteIdHypensRule HypenRule, FString const &ErrorMessage, T const &OnError)
Protected Attributes inherited from AccelByte::FApiBase
TSharedRef< Credentials const, ESPMode::ThreadSafe > CredentialsRef
Settings const & SettingsRef
FHttpRetrySchedulerBaseHttpRef
FHttpClient HttpClient
FAccelBytePlatformPtr AccelBytePlatformPtr

Member Function Documentation

◆ Get()

FAccelByteTaskWPtr AccelByte::Api::Configurations::Get ( FString const & Key,
THandler< FAccelByteModelsConfiguration > const & OnSuccess,
FErrorHandler const & OnError )

Get a public configuration based on the key for current namespace.

Parameters
KeyThe configuration Key.
OnSuccessThis will be called when the operation succeeded.
OnErrorThis will be called when the operation failed.
Returns
AccelByteTask object to track and cancel the ongoing API operation.

◆ GetAll()

FAccelByteTaskWPtr AccelByte::Api::Configurations::GetAll ( THandler< TArray< FAccelByteModelsConfiguration > > const & OnSuccess,
FErrorHandler const & OnError )

Get all public configurations for current namespace.

Parameters
OnSuccessThis will be called when the operation succeeded.
OnErrorThis will be called when the operation failed.
Returns
AccelByteTask object to track and cancel the ongoing API operation.