LootLocker Unreal Server SDK 6.7.1
Server-side backend SDK for Unreal Engine
Loading...
Searching...
No Matches
FLootLockerServerGetPlayerInventoryItemResponse Struct Reference

Response for getting a single player item Note: The backend returns the item fields at the top level of the response object (not wrapped in an "item" key). More...

#include <LootLockerServerItemRequestHandler.h>

Inheritance diagram for FLootLockerServerGetPlayerInventoryItemResponse:
Collaboration diagram for FLootLockerServerGetPlayerInventoryItemResponse:

Data Fields

FString Id
 The unique identifier (ULID) of this inventory item instance.
 
int Player_id = 0
 The id of the player that owns this inventory item.
 
FString Item_template_id
 The unique identifier (ULID) of the item template this item is based on.
 
ELootLockerServerItemType Item_type = ELootLockerServerItemType::Unknown
 The type of this item (instanced or stackable)
 
bool Consumable = false
 Whether this item is consumable.
 
int Count = 0
 The count of this item in the stack.
 
FString Source
 The source that granted this item.
 
FDateTime Created_at = FDateTime(0)
 The time this item instance was created.
 
FDateTime Updated_at = FDateTime(0)
 The time this item instance was last updated.
 
TArray< FLootLockerServerMetadataEntry > Metadata
 Free-form metadata attached to this item instance.
 
FLootLockerItemTemplate Template
 The full item template this item is based on.
 
- Data Fields inherited from FLootLockerServerResponse
bool Success = false
 True if the request succeeded.
 
int StatusCode = 0
 HTTP Status code from the request to LootLockers backend.
 
FString FullTextFromServer
 Raw text/http body from the server response.
 
FLootLockerServerErrorData ErrorData
 If this request was not a success, this structure holds all the information needed to identify the problem.
 
FLootLockerServerRequestContext RequestContext
 Context information about the request.
 

Detailed Description

Response for getting a single player item Note: The backend returns the item fields at the top level of the response object (not wrapped in an "item" key).

Field Documentation

◆ Consumable

bool FLootLockerServerGetPlayerInventoryItemResponse::Consumable = false

Whether this item is consumable.

◆ Count

int FLootLockerServerGetPlayerInventoryItemResponse::Count = 0

The count of this item in the stack.

◆ Created_at

FDateTime FLootLockerServerGetPlayerInventoryItemResponse::Created_at = FDateTime(0)

The time this item instance was created.

◆ Id

FString FLootLockerServerGetPlayerInventoryItemResponse::Id

The unique identifier (ULID) of this inventory item instance.

◆ Item_template_id

FString FLootLockerServerGetPlayerInventoryItemResponse::Item_template_id

The unique identifier (ULID) of the item template this item is based on.

◆ Item_type

ELootLockerServerItemType FLootLockerServerGetPlayerInventoryItemResponse::Item_type = ELootLockerServerItemType::Unknown

The type of this item (instanced or stackable)

◆ Metadata

TArray<FLootLockerServerMetadataEntry> FLootLockerServerGetPlayerInventoryItemResponse::Metadata

Free-form metadata attached to this item instance.

Note: The server returns this as an array of metadata entries, matching the existing SDK convention (FLootLockerServerMetadataEntry).

◆ Player_id

int FLootLockerServerGetPlayerInventoryItemResponse::Player_id = 0

The id of the player that owns this inventory item.

◆ Source

FString FLootLockerServerGetPlayerInventoryItemResponse::Source

The source that granted this item.

◆ Template

FLootLockerItemTemplate FLootLockerServerGetPlayerInventoryItemResponse::Template

The full item template this item is based on.

◆ Updated_at

FDateTime FLootLockerServerGetPlayerInventoryItemResponse::Updated_at = FDateTime(0)

The time this item instance was last updated.

Unset (FDateTime(0)) when the item has never been updated.