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")
104 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
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")
155 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
160 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
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")
243 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
248 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
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")
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")
428 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
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.
Definition LootLockerServerItemRequestHandler.h:26
@ Instanced
Each granted item is a separate, individually tracked instance.
Definition LootLockerServerItemRequestHandler.h:24
@ Unknown
The item type could not be determined.
Definition LootLockerServerItemRequestHandler.h:22
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
@ Group
A group.
Definition LootLockerServerItemRequestHandler.h:46
@ File
A file.
Definition LootLockerServerItemRequestHandler.h:58
@ Asset
An asset.
Definition LootLockerServerItemRequestHandler.h:38
@ Item_template
An item template.
Definition LootLockerServerItemRequestHandler.h:62
@ Reward
A reward.
Definition LootLockerServerItemRequestHandler.h:48
@ Publisher_progression_points
Publisher progression points.
Definition LootLockerServerItemRequestHandler.h:54
@ Currency
A currency.
Definition LootLockerServerItemRequestHandler.h:44
@ Discord_role
A Discord role.
Definition LootLockerServerItemRequestHandler.h:60
@ Progression_points
Progression points.
Definition LootLockerServerItemRequestHandler.h:40
@ Progression_reset
A progression reset.
Definition LootLockerServerItemRequestHandler.h:42
@ Player_metadata
Player metadata.
Definition LootLockerServerItemRequestHandler.h:56
@ Publisher_currency
A publisher currency.
Definition LootLockerServerItemRequestHandler.h:52
@ Platform_key
A platform key.
Definition LootLockerServerItemRequestHandler.h:50
void(* FLootLockerServerGrantItemResponseDelegate)(FLootLockerServerGrantItemResponse)
Definition LootLockerServerItemRequestHandler.h:451
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)
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
FLootLockerServerItemTemplate Template
The full item template this item is based on.
Definition LootLockerServerItemRequestHandler.h:281
FDateTime Updated_at
The time this item instance was last updated.
Definition LootLockerServerItemRequestHandler.h:269
TArray< FLootLockerServerMetadataEntry > Metadata
Free-form metadata attached to this item instance.
Definition LootLockerServerItemRequestHandler.h:276
FDateTime Created_at
The time this item instance was created.
Definition LootLockerServerItemRequestHandler.h:264
bool Consumable
Whether this item is consumable.
Definition LootLockerServerItemRequestHandler.h:249
ELootLockerServerItemType Item_type
The type of this item (instanced or stackable).
Definition LootLockerServerItemRequestHandler.h:244
FString Id
The unique identifier (ULID) of this inventory item instance.
Definition LootLockerServerItemRequestHandler.h:229
int Count
The count of this item in the stack.
Definition LootLockerServerItemRequestHandler.h:254
FString Source
The source that granted this item.
Definition LootLockerServerItemRequestHandler.h:259
int Player_id
The id of the player that owns this inventory item.
Definition LootLockerServerItemRequestHandler.h:234
FString Item_template_id
The unique identifier (ULID) of the item template this item is based on.
Definition LootLockerServerItemRequestHandler.h:239
Request body for granting an item to a player.
Definition LootLockerServerItemRequestHandler.h:380
FString Source
The source of this grant (optional).
Definition LootLockerServerItemRequestHandler.h:396
FString Item_template_id
The unique identifier (ULID) of the item template to grant (required).
Definition LootLockerServerItemRequestHandler.h:386
int Count
The number of items to grant (defaults to 1).
Definition LootLockerServerItemRequestHandler.h:391
Response for granting an item to a player.
Definition LootLockerServerItemRequestHandler.h:333
FString Id
The unique identifier (ULID) of the newly granted inventory item instance.
Definition LootLockerServerItemRequestHandler.h:339
TArray< FLootLockerServerGrantedItem > Behaviour_results
Results produced by any behaviours that fired as part of the grant (optional).
Definition LootLockerServerItemRequestHandler.h:344
A single result produced by a grant behaviour (e.g.
Definition LootLockerServerItemRequestHandler.h:299
FString Name
The name of the granted result (when provided).
Definition LootLockerServerItemRequestHandler.h:320
FString Source_id
The source id of the granted result (ULID).
Definition LootLockerServerItemRequestHandler.h:305
FString Code
The code of the granted result (when provided).
Definition LootLockerServerItemRequestHandler.h:325
ELootLockerServerRewardKind Type
The type of the granted result ("item_template", "currency", or "publisher_currency").
Definition LootLockerServerItemRequestHandler.h:315
int Count
The number of this result granted.
Definition LootLockerServerItemRequestHandler.h:310
A single item instance in a player's inventory.
Definition LootLockerServerItemRequestHandler.h:135
FString Id
The unique identifier (ULID) of this inventory item instance.
Definition LootLockerServerItemRequestHandler.h:141
ELootLockerServerItemType Item_type
The type of this item (instanced or stackable).
Definition LootLockerServerItemRequestHandler.h:156
TArray< FLootLockerServerMetadataEntry > Metadata
Free-form metadata attached to this item instance.
Definition LootLockerServerItemRequestHandler.h:190
FString Source
The source that granted this item.
Definition LootLockerServerItemRequestHandler.h:171
int Count
The count of this item in the stack.
Definition LootLockerServerItemRequestHandler.h:166
FDateTime Created_at
The time this item instance was created.
Definition LootLockerServerItemRequestHandler.h:176
int Player_id
The id of the player that owns this inventory item.
Definition LootLockerServerItemRequestHandler.h:146
FString Item_template_id
The unique identifier (ULID) of the item template this item is based on.
Definition LootLockerServerItemRequestHandler.h:151
bool Consumable
Whether this item is consumable.
Definition LootLockerServerItemRequestHandler.h:161
FDateTime Updated_at
The time this item instance was last updated.
Definition LootLockerServerItemRequestHandler.h:181
The template an item instance (player inventory item) is based on.
Definition LootLockerServerItemRequestHandler.h:74
int Limited
The limited quantity of this item template (if any).
Definition LootLockerServerItemRequestHandler.h:90
bool Deletable
Whether this item template is deletable.
Definition LootLockerServerItemRequestHandler.h:105
bool Consumable
Whether this item template is consumable.
Definition LootLockerServerItemRequestHandler.h:100
ELootLockerServerItemType Item_type
The type of this item template (instanced or stackable).
Definition LootLockerServerItemRequestHandler.h:95
FString Id
The unique identifier (ULID) of this item template.
Definition LootLockerServerItemRequestHandler.h:80
FString Name
The name of this item template.
Definition LootLockerServerItemRequestHandler.h:85
FDateTime Created_at
The time this item template was created.
Definition LootLockerServerItemRequestHandler.h:110
FDateTime Updated_at
The time this item template was last updated.
Definition LootLockerServerItemRequestHandler.h:115
Response for listing a player's items.
Definition LootLockerServerItemRequestHandler.h:202
FLootLockerServerExtendedIndexBasedPagination Pagination
Pagination information for this listing (extended offset pagination).
Definition LootLockerServerItemRequestHandler.h:213
TArray< FLootLockerServerInventoryItem > Items
The items in the player's inventory.
Definition LootLockerServerItemRequestHandler.h:208
Request body for merging player item stacks.
Definition LootLockerServerItemRequestHandler.h:418
FString Source_inventory_id
The unique identifier (ULID) of the source inventory item instance.
Definition LootLockerServerItemRequestHandler.h:424
FString Target_inventory_id
The unique identifier (ULID) of the target inventory item instance.
Definition LootLockerServerItemRequestHandler.h:429
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
int Count
The number of items to move into the new stack.
Definition LootLockerServerItemRequestHandler.h:410
Response for splitting a player item stack.
Definition LootLockerServerItemRequestHandler.h:352
FString Id
The unique identifier (ULID) of the newly split inventory item instance.
Definition LootLockerServerItemRequestHandler.h:358