5#include "CoreMinimal.h"
9#include "LootLockerServerItemRequestHandler.generated.h"
15UENUM(BlueprintType, Category =
"LootLockerServer")
29UENUM(BlueprintType, Category =
"LootLockerServer")
79 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
84 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
89 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
94 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
99 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
100 bool Consumable = false;
104 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
105 bool Deletable = false;
109 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
114 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
133USTRUCT(BlueprintType)
140 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
145 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
150 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
151 FString Item_template_id;
155 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
160 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
161 bool Consumable = false;
165 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
170 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
175 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
180 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
189 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
200USTRUCT(BlueprintType)
207 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
212 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
221USTRUCT(BlueprintType)
228 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
233 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
238 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
239 FString Item_template_id;
243 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
248 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
249 bool Consumable = false;
253 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
258 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
263 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
268 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
275 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
280 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
287USTRUCT(BlueprintType)
297USTRUCT(BlueprintType)
304 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
309 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
314 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
319 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
324 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
331USTRUCT(BlueprintType)
338 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
343 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
350USTRUCT(BlueprintType)
357 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
365USTRUCT(BlueprintType)
378USTRUCT(BlueprintType)
385 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
386 FString Item_template_id;
390 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
395 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
402USTRUCT(BlueprintType)
409 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
416USTRUCT(BlueprintType)
423 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
424 FString Source_inventory_id;
428 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
429 FString Target_inventory_id;
ELootLockerServerItemType
The type of an item, determining whether item instances are stackable or individually tracked.
Definition LootLockerServerItemRequestHandler.h:20
@ 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.
@ Unknown
The item type could not be determined.
void(* FLootLockerServerSplitPlayerInventoryItemStackResponseDelegate)(FLootLockerServerSplitPlayerInventoryItemStackResponse)
Definition LootLockerServerItemRequestHandler.h:455
void(* FLootLockerServerListPlayerInventoryItemsResponseDelegate)(FLootLockerServerListPlayerInventoryItemsResponse)
Definition LootLockerServerItemRequestHandler.h:439
void(* FLootLockerServerDeletePlayerInventoryItemResponseDelegate)(FLootLockerServerDeletePlayerInventoryItemResponse)
Definition LootLockerServerItemRequestHandler.h:447
void(* FLootLockerServerMergePlayerInventoryItemStacksResponseDelegate)(FLootLockerServerMergePlayerInventoryItemStacksResponse)
Definition LootLockerServerItemRequestHandler.h:459
void(* FLootLockerServerGetPlayerInventoryItemResponseDelegate)(FLootLockerServerGetPlayerInventoryItemResponse)
Definition LootLockerServerItemRequestHandler.h:443
ELootLockerServerRewardKind
The kind of reward that was granted as a result of a behaviour.
Definition LootLockerServerItemRequestHandler.h:34
@ 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.
@ Player_metadata
Player metadata.
@ Publisher_currency
A publisher currency.
@ Platform_key
A platform key.
void(* FLootLockerServerGrantItemResponseDelegate)(FLootLockerServerGrantItemResponse)
Definition LootLockerServerItemRequestHandler.h:451
Handler for the Items & Item Templates server endpoints.
Definition LootLockerServerItemRequestHandler.h:466
static FString SplitPlayerInventoryItemStack(int PlayerID, const FString &InventoryId, const FLootLockerServerSplitInventoryItemRequest &Request, const FLootLockerServerSplitPlayerInventoryItemStackResponseDelegate &OnCompletedRequest)
static FString MergePlayerInventoryItemStacks(int PlayerID, const FLootLockerServerMergeInventoryItemsRequest &Request, const FLootLockerServerMergePlayerInventoryItemStacksResponseDelegate &OnCompletedRequest)
ULootLockerServerItemRequestHandler()
static FString GetPlayerInventoryItem(int PlayerID, const FString &InventoryId, const FLootLockerServerGetPlayerInventoryItemResponseDelegate &OnCompletedRequest)
static FString ListPlayerInventoryItems(int PlayerID, int Page, int PerPage, const FLootLockerServerListPlayerInventoryItemsResponseDelegate &OnCompletedRequest)
static FString DeletePlayerInventoryItem(int PlayerID, const FString &InventoryId, const FLootLockerServerDeletePlayerInventoryItemResponseDelegate &OnCompletedRequest)
static FString GrantItemToPlayerInventory(int PlayerID, const FLootLockerServerGrantItemRequest &Request, const FLootLockerServerGrantItemResponseDelegate &OnCompletedRequest)
The template an item instance (player inventory item) is based on.
Definition LootLockerServerItemRequestHandler.h:74
Response for deleting a player item.
Definition LootLockerServerItemRequestHandler.h:289
Response for getting a single player item Note: The backend returns the item fields at the top level ...
Definition LootLockerServerItemRequestHandler.h:223
Request body for granting an item to a player.
Definition LootLockerServerItemRequestHandler.h:380
Response for granting an item to a player.
Definition LootLockerServerItemRequestHandler.h:333
A single result produced by a grant behaviour (e.g.
Definition LootLockerServerItemRequestHandler.h:299
A single item instance in a player's inventory.
Definition LootLockerServerItemRequestHandler.h:135
Response for listing a player's items.
Definition LootLockerServerItemRequestHandler.h:202
Request body for merging player item stacks.
Definition LootLockerServerItemRequestHandler.h:418
Response for merging player item stacks Note: This endpoint returns 204 No Content.
Definition LootLockerServerItemRequestHandler.h:367
Definition LootLockerServerMetadataRequest.h:104
The base response for all LootLocker Server responses.
Definition LootLockerServerResponse.h:67
Request body for splitting a player item stack.
Definition LootLockerServerItemRequestHandler.h:404
Response for splitting a player item stack.
Definition LootLockerServerItemRequestHandler.h:352