5#include "XsollaStoreDataModel.h"
6#include "XsollaStoreDelegates.h"
7#include "XsollaStoreAuxiliaryDataModel.generated.h"
21TArray<FString> AdditionalFields;
24FOnStoreItemsUpdate ResultSuccessCallback;
27FOnError ResultErrorCallback;
33FErrorData ResultErrorData;
36FOnStoreItemsUpdate CurrentSuccessCallback;
39FOnError CurrentErrorCallback;
50void ProcessNextPartOfData(
const FStoreItemsData& InItemsData,
const TFunction<
void()>& NextCallFunc)
52ResultData.Items.Append(InItemsData.Items);
54if (InItemsData.has_more)
65void Finish(
bool isSuccess)
67CurrentSuccessCallback.Unbind();
68CurrentErrorCallback.Unbind();
69isSuccess ? ResultSuccessCallback.ExecuteIfBound(ResultData) : ResultErrorCallback.ExecuteIfBound(ResultErrorData.StatusCode, ResultErrorData.ErrorCode, ResultErrorData.ErrorMessage);
77const FString& InLocale,
78const FString& InCountry,
79const TArray<FString>& InAdditionalFields,
80const FOnStoreItemsUpdate& InResultSuccessCallback,
81const FOnError& InResultErrorCallback,
82const FString& InAuthToken)
85, AdditionalFields(InAdditionalFields)
86, ResultSuccessCallback(InResultSuccessCallback)
87, ResultErrorCallback(InResultErrorCallback)
88, AuthToken(InAuthToken)
105TArray<FString> AdditionalFields;
108FOnVirtualCurrenciesUpdate ResultSuccessCallback;
111FOnError ResultErrorCallback;
117FErrorData ResultErrorData;
120FOnVirtualCurrenciesUpdate CurrentSuccessCallback;
123FOnError CurrentErrorCallback;
131void ProcessNextPartOfData(
const FVirtualCurrencyData& InCurrenciesData,
const TFunction<
void()>& NextCallFunc)
133ResultData.Items.Append(InCurrenciesData.Items);
135if (InCurrenciesData.has_more)
146void Finish(
bool isSuccess)
148CurrentSuccessCallback.Unbind();
149CurrentErrorCallback.Unbind();
150isSuccess ? ResultSuccessCallback.ExecuteIfBound(ResultData) : ResultErrorCallback.ExecuteIfBound(ResultErrorData.StatusCode, ResultErrorData.ErrorCode, ResultErrorData.ErrorMessage);
158const FString& InLocale,
159const FString& InCountry,
160const TArray<FString>& InAdditionalFields,
161const FOnVirtualCurrenciesUpdate& InResultSuccessCallback,
162const FOnError& InResultErrorCallback)
165, AdditionalFields(InAdditionalFields)
166, ResultSuccessCallback(InResultSuccessCallback)
167, ResultErrorCallback(InResultErrorCallback)
184TArray<FString> AdditionalFields;
187FOnVirtualCurrencyPackagesUpdate ResultSuccessCallback;
190FOnError ResultErrorCallback;
196FErrorData ResultErrorData;
199FOnVirtualCurrencyPackagesUpdate CurrentSuccessCallback;
202FOnError CurrentErrorCallback;
215ResultData.Items.Append(InCurrencyPackagesData.Items);
217if (InCurrencyPackagesData.has_more)
228void Finish(
bool isSuccess)
230CurrentSuccessCallback.Unbind();
231CurrentErrorCallback.Unbind();
232isSuccess ? ResultSuccessCallback.ExecuteIfBound(ResultData) : ResultErrorCallback.ExecuteIfBound(ResultErrorData.StatusCode, ResultErrorData.ErrorCode, ResultErrorData.ErrorMessage);
240const FString& InLocale,
241const FString& InCountry,
242const TArray<FString>& InAdditionalFields,
243const FOnVirtualCurrencyPackagesUpdate& InResultSuccessCallback,
244const FOnError& InResultErrorCallback,
245const FString& InAuthToken)
248, AdditionalFields(InAdditionalFields)
249, ResultSuccessCallback(InResultSuccessCallback)
250, ResultErrorCallback(InResultErrorCallback)
251, AuthToken(InAuthToken)
271TArray<FString> AdditionalFields;
274FOnGetItemsListBySpecifiedGroup ResultSuccessCallback;
277FOnError ResultErrorCallback;
283FErrorData ResultErrorData;
286FOnGetItemsListBySpecifiedGroup CurrentSuccessCallback;
289FOnError CurrentErrorCallback;
300void ProcessNextPartOfData(
const FStoreItemsList& InData,
const TFunction<
void()>& NextCallFunc)
302ResultData.Items.Append(InData.Items);
315void Finish(
bool isSuccess)
317CurrentSuccessCallback.Unbind();
318CurrentErrorCallback.Unbind();
319isSuccess ? ResultSuccessCallback.ExecuteIfBound(ResultData) : ResultErrorCallback.ExecuteIfBound(ResultErrorData.StatusCode, ResultErrorData.ErrorCode, ResultErrorData.ErrorMessage);
327const FString& InExternalId,
328const FString& InLocale,
329const FString& InCountry,
330const TArray<FString>& InAdditionalFields,
331const FOnGetItemsListBySpecifiedGroup& InResultSuccessCallback,
332const FOnError& InResultErrorCallback,
333const FString& InAuthToken)
334: ExternalId(InExternalId)
337, AdditionalFields(InAdditionalFields)
338, ResultSuccessCallback(InResultSuccessCallback)
339, ResultErrorCallback(InResultErrorCallback)
340, AuthToken(InAuthToken)
357TArray<FString> AdditionalFields;
360FOnGetListOfBundlesUpdate ResultSuccessCallback;
363FOnError ResultErrorCallback;
369FErrorData ResultErrorData;
372FOnGetListOfBundlesUpdate CurrentSuccessCallback;
375FOnError CurrentErrorCallback;
386void ProcessNextPartOfData(
const FStoreListOfBundles& InData,
const TFunction<
void()>& NextCallFunc)
388ResultData.items.Append(InData.items);
401void Finish(
bool isSuccess)
403CurrentSuccessCallback.Unbind();
404CurrentErrorCallback.Unbind();
405isSuccess ? ResultSuccessCallback.ExecuteIfBound(ResultData) : ResultErrorCallback.ExecuteIfBound(ResultErrorData.StatusCode, ResultErrorData.ErrorCode, ResultErrorData.ErrorMessage);
413const FString& InLocale,
414const FString& InCountry,
415const TArray<FString>& InAdditionalFields,
416const FOnGetListOfBundlesUpdate& InResultSuccessCallback,
417const FOnError& InResultErrorCallback,
418const FString& InAuthToken)
421, AdditionalFields(InAdditionalFields)
422, ResultSuccessCallback(InResultSuccessCallback)
423, ResultErrorCallback(InResultErrorCallback)
424, AuthToken(InAuthToken)
Definition: XsollaStoreAuxiliaryDataModel.h:347
Definition: XsollaStoreAuxiliaryDataModel.h:258
Definition: XsollaStoreAuxiliaryDataModel.h:95
Definition: XsollaStoreAuxiliaryDataModel.h:174
Definition: XsollaStoreAuxiliaryDataModel.h:11
Definition: XsollaStoreDataModel.h:248
Definition: XsollaStoreDataModel.h:236
Definition: XsollaStoreDataModel.h:658
Definition: XsollaStoreDataModel.h:338
Definition: XsollaStoreDataModel.h:449