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

Represents a single item (inventory entry) owned by a player. More...

#include <LootLockerItemRequestHandler.h>

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.
 
FString Name = ""
 The name of the item template this item is based on.
 
FDateTime Created_at = FDateTime(0)
 When this item was acquired.
 
FDateTime Updated_at = FDateTime(0)
 When this item was last updated.
 
TArray< FLootLockerMetadataEntry > Metadata
 The free-form metadata for this item.
 

Detailed Description

Represents a single item (inventory entry) owned by a player.

This represents an item granted from an item template. It is unrelated to the asset-based inventory API (FLootLockerInventory, GetInventory, ListPlayerInventory), which deals with assets and asset instances.

Field Documentation

◆ Consumable

bool FLootLockerInventoryItem::Consumable = false

Whether this item can be consumed.

◆ Count

int32 FLootLockerInventoryItem::Count = 0

How many of this item the stack holds.

◆ Created_at

FDateTime FLootLockerInventoryItem::Created_at = FDateTime(0)

When this item was acquired.

◆ Deletable

bool FLootLockerInventoryItem::Deletable = false

Whether this item can be deleted by the player.

◆ Id

FString FLootLockerInventoryItem::Id = ""

The ULID of this specific inventory item.

◆ Item_template_id

FString FLootLockerInventoryItem::Item_template_id = ""

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

◆ Item_type

ELootLockerItemType FLootLockerInventoryItem::Item_type = ELootLockerItemType::None

The type of the item (instanced or stackable).

◆ Metadata

TArray<FLootLockerMetadataEntry> FLootLockerInventoryItem::Metadata

The free-form metadata for this item.

◆ Name

FString FLootLockerInventoryItem::Name = ""

The name of the item template this item is based on.

◆ Player_id

int32 FLootLockerInventoryItem::Player_id = 0

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

◆ Source

FString FLootLockerInventoryItem::Source = ""

How this item was acquired.

◆ Updated_at

FDateTime FLootLockerInventoryItem::Updated_at = FDateTime(0)

When this item was last updated.

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