6#include "CoreMinimal.h"
7#include "Dom/JsonObject.h"
11#include "LootLockerItemRequestHandler.generated.h"
20UENUM(BlueprintType, Category =
"LootLocker")
34UENUM(BlueprintType, Category =
"LootLocker")
51UENUM(BlueprintType, Category =
"LootLocker")
70UENUM(BlueprintType, Category =
"LootLocker")
87UENUM(BlueprintType, Category =
"LootLocker")
133USTRUCT(BlueprintType, Category =
"LootLocker")
139 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
143 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
147 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
151 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
155 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
159 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
160 bool Deletable = false;
163 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
167 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
178USTRUCT(BlueprintType, Category = "LootLocker")
184 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
188 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
192 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
193 FString Item_template_id = "";
196 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
200 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
204 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
205 bool Deletable = false;
208 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
212 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
216 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
220 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
224 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
228 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
235USTRUCT(BlueprintType, Category = "LootLocker")
241 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
242 FString Source_id = "";
245 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
249 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
253 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
257 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
270USTRUCT(BlueprintType, Category = "LootLocker")
279 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
286USTRUCT(BlueprintType, Category = "LootLocker")
292 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
299USTRUCT(BlueprintType, Category = "LootLocker")
305 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
306 FString Source_inventory_id = "";
309 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
310 FString Target_inventory_id = "";
322USTRUCT(BlueprintType, Category = "LootLocker")
328 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
332 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
342USTRUCT(BlueprintType, Category = "LootLocker")
348 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
352 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
358 void PopulateConvenienceStructures();
364USTRUCT(BlueprintType, Category = "LootLocker")
370 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
374 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
378 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
379 FString Item_template_id = "";
382 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
386 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
390 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
391 bool Deletable = false;
394 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
398 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
402 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
406 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
410 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
414 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
420 void PopulateConvenienceStructures();
426USTRUCT(BlueprintType, Category = "LootLocker")
432 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
433 bool Consumed = false;
436 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
443USTRUCT(BlueprintType, Category = "LootLocker")
449 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
456USTRUCT(BlueprintType, Category = "LootLocker")
void(* FLootLockerDefaultDelegate)(FLootLockerResponse)
Definition LootLockerResponse.h:38
Definition LootLockerItemRequestHandler.h:507
static FString ListPlayerInventoryItems(const FLootLockerPlayerData &PlayerData, int32 PerPage, int32 Page, const FString &Name, ELootLockerItemType ItemType, ELootLockerItemConsumableFilter ConsumableFilter, ELootLockerItemSortField Sort, ELootLockerItemSortOrder Order, const FLootLockerListPlayerInventoryItemsResponseDelegate &OnCompletedRequest)
static FString SplitPlayerInventoryItemStack(const FLootLockerPlayerData &PlayerData, const FString &InventoryId, const FLootLockerSplitInventoryItemStackRequest &Request, const FLootLockerSplitInventoryItemStackResponseDelegate &OnCompletedRequest)
static FString GetPlayerInventoryItem(const FLootLockerPlayerData &PlayerData, const FString &InventoryId, const FLootLockerGetPlayerInventoryItemResponseDelegate &OnCompletedRequest)
static FString ListItemTemplates(const FLootLockerPlayerData &PlayerData, int32 PerPage, int32 Page, const FLootLockerListItemTemplatesResponseDelegate &OnCompletedRequest)
static FString MergePlayerInventoryItemStacks(const FLootLockerPlayerData &PlayerData, const FLootLockerMergeInventoryItemStacksRequest &Request, const FLootLockerMergeInventoryItemStacksResponseDelegate &OnCompletedRequest)
static FString DeletePlayerInventoryItem(const FLootLockerPlayerData &PlayerData, const FString &InventoryId, const FLootLockerDefaultDelegate &OnCompletedRequest)
ULootLockerItemRequestHandler()
Definition LootLockerItemRequestHandler.h:510
static FString ConsumePlayerInventoryItem(const FLootLockerPlayerData &PlayerData, const FString &InventoryId, const FLootLockerConsumeInventoryItemRequest &Request, const FLootLockerConsumePlayerInventoryItemResponseDelegate &OnCompletedRequest)
ELootLockerRewardKind
The kind of reward that was granted as a result of a behaviour.
Definition LootLockerItemRequestHandler.h:92
void(* FLootLockerSplitInventoryItemStackResponseDelegate)(FLootLockerSplitInventoryItemStackResponse)
C++ response delegate for splitting an item stack.
Definition LootLockerItemRequestHandler.h:492
void(* FLootLockerListPlayerInventoryItemsResponseDelegate)(FLootLockerListPlayerInventoryItemsResponse)
C++ response delegate for listing player items.
Definition LootLockerItemRequestHandler.h:477
void(* FLootLockerGetPlayerInventoryItemResponseDelegate)(FLootLockerGetPlayerInventoryItemResponse)
C++ response delegate for getting a player item.
Definition LootLockerItemRequestHandler.h:482
void(* FLootLockerListItemTemplatesResponseDelegate)(FLootLockerListItemTemplatesResponse)
C++ response delegate for listing item templates.
Definition LootLockerItemRequestHandler.h:472
ELootLockerItemType
The type of an item, determining whether item instances are stackable or individually tracked.
Definition LootLockerItemRequestHandler.h:39
ELootLockerItemSortOrder
The direction in which to order a player item list response.
Definition LootLockerItemRequestHandler.h:75
void(* FLootLockerConsumePlayerInventoryItemResponseDelegate)(FLootLockerConsumePlayerInventoryItemResponse)
C++ response delegate for consuming a player item.
Definition LootLockerItemRequestHandler.h:487
void(* FLootLockerMergeInventoryItemStacksResponseDelegate)(FLootLockerMergeInventoryItemStacksResponse)
C++ response delegate for merging item stacks.
Definition LootLockerItemRequestHandler.h:497
ELootLockerItemSortField
The field by which to order a player item list response.
Definition LootLockerItemRequestHandler.h:56
ELootLockerItemConsumableFilter
Enum for filtering player items on whether they are consumable.
Definition LootLockerItemRequestHandler.h:25
@ Item_template
An item template.
@ Publisher_progression_points
Publisher progression points.
@ Discord_role
A Discord role.
@ Progression_points
Progression points.
@ Progression_reset
A progression reset.
@ Unknown
The reward kind could not be determined.
@ Player_metadata
Player metadata.
@ Publisher_currency
A publisher currency.
@ Platform_key
A platform key.
@ Stackable
The item is stored as a single entry with a count that can be incremented or decremented.
@ Instanced
Each granted item is a separate, individually tracked instance.
@ Created_at
Order by when the item was created.
@ Updated_at
Order by when the item was last updated.
@ Source
Order by the source that granted the item.
Request to consume one or more of an item.
Definition LootLockerItemRequestHandler.h:272
Response for consuming one or more of an item.
Definition LootLockerItemRequestHandler.h:428
Response for getting a single player inventory item.
Definition LootLockerItemRequestHandler.h:366
Represents an item that was granted as a result of consuming an item.
Definition LootLockerItemRequestHandler.h:237
Represents a single item (inventory entry) owned by a player.
Definition LootLockerItemRequestHandler.h:180
Represents an item template that can be granted to players.
Definition LootLockerItemRequestHandler.h:135
Response for listing item templates.
Definition LootLockerItemRequestHandler.h:324
Response for listing a player's inventory items.
Definition LootLockerItemRequestHandler.h:344
Request to merge two item stacks into one.
Definition LootLockerItemRequestHandler.h:301
Response for merging two item stacks.
Definition LootLockerItemRequestHandler.h:458
Represents a single typed metadata entry with a key, value type, tags, and access level,...
Definition LootLockerMetadataRequestHandler.h:118
Definition LootLockerPlayerData.h:12
Base response struct — every SDK callback receives a struct that derives from this.
Definition LootLockerResponse.h:19
Request to split a stackable item into two stacks.
Definition LootLockerItemRequestHandler.h:288
Response for splitting an item stack.
Definition LootLockerItemRequestHandler.h:445