LootLocker Unreal SDK 10.6.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
FLootLockerGetPlayerInventoryItemResponse Struct Reference

Response for getting a single player inventory item. More...

#include <LootLockerItemRequestHandler.h>

Inheritance diagram for FLootLockerGetPlayerInventoryItemResponse:
Collaboration diagram for FLootLockerGetPlayerInventoryItemResponse:

Public Member Functions

void PopulateConvenienceStructures ()
 Populate convenience structures (parsed metadata) from the raw response.
 

Data Fields

FString Id = ""
 The ULID of this specific inventory item.
 
int32 Player_id = 0
 The legacy integer id of the player that owns this item.
 
FString Item_template_id = ""
 The ULID of the item template that this item is based on.
 
ELootLockerItemType Item_type = ELootLockerItemType::None
 The type of the item (instanced or stackable).
 
bool Consumable = false
 Whether this item can be consumed.
 
bool Deletable = false
 Whether this item can be deleted by the player.
 
int32 Count = 0
 How many of this item the stack holds.
 
FString Source = ""
 How this item was acquired.
 
FDateTime Created_at = FDateTime(0)
 When this item was acquired.
 
FDateTime Updated_at = FDateTime(0)
 When this item was last updated.
 
FLootLockerItemTemplate Template
 The item template that this item is based on.
 
TArray< FLootLockerMetadataEntry > Metadata
 The free-form metadata for this item.
 
- Data Fields inherited from FLootLockerResponse
bool success = false
 Whether this request was a success.
 
int StatusCode = 0
 HTTP Status code from the request to LootLockers backend.
 
FString FullTextFromServer = ""
 Raw text/http body from the server response.
 
FLootLockerErrorData ErrorData
 If this request was not a success, this structure holds all the information needed to identify the problem.
 
FLootLockerRequestContext Context
 Context for the request.
 

Detailed Description

Response for getting a single player inventory item.

Member Function Documentation

◆ PopulateConvenienceStructures()

void FLootLockerGetPlayerInventoryItemResponse::PopulateConvenienceStructures ( )

Populate convenience structures (parsed metadata) from the raw response.

Field Documentation

◆ Consumable

bool FLootLockerGetPlayerInventoryItemResponse::Consumable = false

Whether this item can be consumed.

◆ Count

int32 FLootLockerGetPlayerInventoryItemResponse::Count = 0

How many of this item the stack holds.

◆ Created_at

FDateTime FLootLockerGetPlayerInventoryItemResponse::Created_at = FDateTime(0)

When this item was acquired.

◆ Deletable

bool FLootLockerGetPlayerInventoryItemResponse::Deletable = false

Whether this item can be deleted by the player.

◆ Id

FString FLootLockerGetPlayerInventoryItemResponse::Id = ""

The ULID of this specific inventory item.

◆ Item_template_id

FString FLootLockerGetPlayerInventoryItemResponse::Item_template_id = ""

The ULID of the item template that this item is based on.

◆ Item_type

ELootLockerItemType FLootLockerGetPlayerInventoryItemResponse::Item_type = ELootLockerItemType::None

The type of the item (instanced or stackable).

◆ Metadata

TArray<FLootLockerMetadataEntry> FLootLockerGetPlayerInventoryItemResponse::Metadata

The free-form metadata for this item.

◆ Player_id

int32 FLootLockerGetPlayerInventoryItemResponse::Player_id = 0

The legacy integer id of the player that owns this item.

◆ Source

FString FLootLockerGetPlayerInventoryItemResponse::Source = ""

How this item was acquired.

◆ Template

FLootLockerItemTemplate FLootLockerGetPlayerInventoryItemResponse::Template

The item template that this item is based on.

◆ Updated_at

FDateTime FLootLockerGetPlayerInventoryItemResponse::Updated_at = FDateTime(0)

When this item was last updated.

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