6#include "CoreMinimal.h"
10#include "LootLockerBalanceRequestHandler.generated.h"
19UENUM(BlueprintType, Category =
"LootLocker")
33USTRUCT(BlueprintType, Category=
"LootLocker")
40 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
45 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
50 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
55 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
62USTRUCT(BlueprintType, Category =
"LootLocker")
69 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
74 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
79 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
84 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
89 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
94 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
105USTRUCT(BlueprintType, Category=
"LootLocker")
112 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
117 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
122 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
129USTRUCT(BlueprintType, Category=
"LootLocker")
136 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
141 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
145 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
152USTRUCT(BlueprintType, Category=
"LootLocker")
159 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
164 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
168 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
180USTRUCT(BlueprintType, Category=
"LootLocker")
187 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
194USTRUCT(BlueprintType, Category=
"LootLocker")
201 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
206 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
211 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
216 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
223USTRUCT(BlueprintType, Category =
"LootLocker")
230 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
235 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
240 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
245 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
252USTRUCT(BlueprintType, Category =
"LootLocker")
259 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
264 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
269 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
274 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
281USTRUCT(BlueprintType, Category=
"LootLocker")
288 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
static FString GetWalletByWalletID(const FLootLockerPlayerData &PlayerData, const FString &WalletID, const FLootLockerGetWalletResponseDelegate &OnComplete)
static FString ListBalancesInWallet(const FLootLockerPlayerData &PlayerData, const FString &WalletID, const FLootLockerListBalancesForWalletResponseDelegate &OnComplete)
ULootLockerBalanceRequestHandler()
Definition LootLockerBalanceRequestHandler.h:328
static FString GetWalletByHolderID(const FLootLockerPlayerData &PlayerData, const FString &HolderULID, const ELootLockerWalletHolderTypes &HolderType, const FLootLockerGetWalletResponseDelegate &OnComplete)
static FString CreditBalanceToWallet(const FLootLockerPlayerData &PlayerData, const FString &WalletID, const FString &CurrencyID, const FString &Amount, const FLootLockerCreditWalletResponseDelegate &OnComplete)
static FString DebitBalanceToWallet(const FLootLockerPlayerData &PlayerData, const FString &WalletID, const FString &CurrencyID, const FString &Amount, const FLootLockerDebitWalletResponseDelegate &OnComplete)
ELootLockerWalletHolderTypes
Possible wallet holder types.
Definition LootLockerBalanceRequestHandler.h:24
void(* FLootLockerCreateWalletResponseDelegate)(FLootLockerCreateWalletResponse)
C++ response delegate for creating a wallet.
Definition LootLockerBalanceRequestHandler.h:315
void(* FLootLockerGetWalletResponseDelegate)(FLootLockerGetWalletResponse)
C++ response delegate for getting a wallet.
Definition LootLockerBalanceRequestHandler.h:303
void(* FLootLockerListBalancesForWalletResponseDelegate)(FLootLockerListBalancesForWalletResponse)
C++ response delegate for listing balances in a wallet.
Definition LootLockerBalanceRequestHandler.h:299
void(* FLootLockerCreditWalletResponseDelegate)(FLootLockerCreditWalletResponse)
C++ response delegate for crediting currency to a wallet.
Definition LootLockerBalanceRequestHandler.h:307
void(* FLootLockerDebitWalletResponseDelegate)(FLootLockerDebitWalletResponse)
C++ response delegate for debiting currency from a wallet.
Definition LootLockerBalanceRequestHandler.h:311
@ player
Definition LootLockerBalanceRequestHandler.h:26
@ character
Definition LootLockerBalanceRequestHandler.h:25
Describes a currency balance modifier with a scaling factor, currency reference, and optional expirat...
Definition LootLockerBalanceRequestHandler.h:64
FString Currency_code
The currency code.
Definition LootLockerBalanceRequestHandler.h:80
FString Expires_at
When this currency modifier expires.
Definition LootLockerBalanceRequestHandler.h:95
FString Factor
The factor of this currency.
Definition LootLockerBalanceRequestHandler.h:85
FString Currency_name
The name of the currency.
Definition LootLockerBalanceRequestHandler.h:75
FString Created_at
When this currency modifier was created.
Definition LootLockerBalanceRequestHandler.h:90
FString Currency_id
The id of the currency.
Definition LootLockerBalanceRequestHandler.h:70
Represents a currency balance in a wallet, including the amount, currency details,...
Definition LootLockerBalanceRequestHandler.h:35
FString Wallet_id
The id of the wallet holding this balance.
Definition LootLockerBalanceRequestHandler.h:51
FString Created_at
The time that this balance was created.
Definition LootLockerBalanceRequestHandler.h:56
FString Amount
Current amount of the given currency in this wallet.
Definition LootLockerBalanceRequestHandler.h:41
FLootLockerCurrency Currency
Information about the currency that this balance is in.
Definition LootLockerBalanceRequestHandler.h:46
Request to create a wallet for a specified holder, identified by ULID and holder type.
Definition LootLockerBalanceRequestHandler.h:107
FString Id
The id of the created wallet.
Definition LootLockerBalanceRequestHandler.h:123
FString Holder_id
ULID of the holder you want to create a wallet for.
Definition LootLockerBalanceRequestHandler.h:113
FString Holder_type
The type of holder that this holder id refers to.
Definition LootLockerBalanceRequestHandler.h:118
Response containing the unique identifier of the newly created wallet.
Definition LootLockerBalanceRequestHandler.h:283
FString Wallet_id
The unique id of this wallet.
Definition LootLockerBalanceRequestHandler.h:289
Request to credit a specified amount of a given currency to a wallet.
Definition LootLockerBalanceRequestHandler.h:131
FString Wallet_id
The id of the wallet to credit/debit to/from.
Definition LootLockerBalanceRequestHandler.h:146
FString Amount
Amount of the given currency to debit/credit to/from the given wallet.
Definition LootLockerBalanceRequestHandler.h:137
FString Currency_id
The id of the currency that the amount is given in.
Definition LootLockerBalanceRequestHandler.h:142
Response containing the resulting balance entry after crediting currency to a wallet.
Definition LootLockerBalanceRequestHandler.h:225
FString Amount
Current amount of the given currency in this wallet.
Definition LootLockerBalanceRequestHandler.h:231
FString Created_at
The time that this balance was created.
Definition LootLockerBalanceRequestHandler.h:246
FLootLockerCurrency Currency
Information about the currency that this balance is in.
Definition LootLockerBalanceRequestHandler.h:236
FString Wallet_id
The id of the wallet holding this balance.
Definition LootLockerBalanceRequestHandler.h:241
Details about a particular currency.
Definition LootLockerCurrencyRequestHandler.h:20
Request to debit a specified amount of a given currency from a wallet.
Definition LootLockerBalanceRequestHandler.h:154
FString Wallet_id
The id of the wallet to credit/debit to/from.
Definition LootLockerBalanceRequestHandler.h:169
FString Currency_id
The id of the currency that the amount is given in.
Definition LootLockerBalanceRequestHandler.h:165
FString Amount
Amount of the given currency to debit/credit to/from the given wallet.
Definition LootLockerBalanceRequestHandler.h:160
Response containing the resulting balance entry after debiting currency from a wallet.
Definition LootLockerBalanceRequestHandler.h:254
FLootLockerCurrency Currency
Information about the currency that this balance is in.
Definition LootLockerBalanceRequestHandler.h:265
FString Wallet_id
The id of the wallet holding this balance.
Definition LootLockerBalanceRequestHandler.h:270
FString Created_at
The time that this balance was created.
Definition LootLockerBalanceRequestHandler.h:275
FString Amount
Current amount of the given currency in this wallet.
Definition LootLockerBalanceRequestHandler.h:260
Response containing a wallet's holder identifier, holder type, and active balance modifiers.
Definition LootLockerBalanceRequestHandler.h:196
FLootLockerBalanceModifiers Modifiers
The modifiers for this wallet.
Definition LootLockerBalanceRequestHandler.h:217
FString Id
The unique id of this wallet.
Definition LootLockerBalanceRequestHandler.h:207
FString Holder_id
The unique id of the holder of this wallet.
Definition LootLockerBalanceRequestHandler.h:202
ELootLockerWalletHolderTypes type
The type of entity that holds this wallet.
Definition LootLockerBalanceRequestHandler.h:212
Response containing the list of currency balances held in a specific wallet.
Definition LootLockerBalanceRequestHandler.h:182
TArray< FLootLockerBalance > Balances
List of balances in different currencies in the requested wallet.
Definition LootLockerBalanceRequestHandler.h:188
Definition LootLockerPlayerData.h:12
Base response struct — every SDK callback receives a struct that derives from this.
Definition LootLockerResponse.h:19