Browse and filter the asset catalogue defined in the LootLocker console.
Assets are anything a player can earn, purchase, possess, or equip — cosmetics, weapons, game configs, loot boxes, drop tables, or rental items. Each asset is assigned a Context (category) and a Complexity (Generic, Loot Box, Rental, or Drop Table) that adds behaviour. This group covers listing reference assets and their metadata; for player-owned instances see Asset Instances.
See the LootLocker documentation.
◆ FAssetBonesResponseDelegate
◆ FAssetsResponseDelegate
◆ FContextDelegate
◆ FGetFavouriteAssetIndicesResponseDelegate
◆ FGrantAssetResponseDelegate
◆ FListSimpleAssetsResponseDelegate
◆ FUniversalAssetResponseDelegate
◆ ELootLockerAssetFilter
Filters applicable when querying the asset list.
| Enumerator |
|---|
| None | |
| Purchasable | |
| NonPurchasable | |
| Rentable | |
| NonRentable | |
| Popular | |
| UnPopular | |
◆ ELootLockerOrderAssetListBy
Fields by which an asset list can be ordered.
| Enumerator |
|---|
| None | |
| Id | |
| Name | |
| Created_at | |
| Updated_at | |
◆ ELootLockerOrderAssetListDirection
Sort direction when ordering an asset list.
◆ AddAssetToFavourites()
Add an asset to the player's favourites.
- Parameters
-
| AssetId | Asset id |
| OnCompletedRequest | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ GetAssetBones()
| static FString ULootLockerSDKManager::GetAssetBones |
( |
const FAssetBonesResponseDelegate & |
OnCompletedRequest, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
List default bones and any binding overrides.
- Parameters
-
| OnCompletedRequest | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ GetAssets()
List assets (paginated) with optional filtering.
- Parameters
-
| OnCompletedRequest | Delegate for handling the server response |
| StartFromIndex | Optional: Index of first item (default 0) |
| ItemsCount | Optional: Number of items (50-200, default 50) |
| AssetFilter | Optional: Asset filter (default None) |
| Context | Optional: Context id filter (default 0 = all) |
| IncludeUGC | Optional: Include UGC assets (default false) |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ GetAssetsByIds()
| static FString ULootLockerSDKManager::GetAssetsByIds |
( |
const TArray< int > & |
AssetIds, |
|
|
const FAssetsResponseDelegate & |
OnCompletedRequest, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
Retrieve specific assets by id.
- Parameters
-
| AssetIds | Asset ids to fetch |
| OnCompletedRequest | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ GetContexts()
| static FString ULootLockerSDKManager::GetContexts |
( |
const FContextDelegate & |
OnCompletedRequest, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
Get all the contexts the game has.
- Parameters
-
| OnCompletedRequest | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ GetFavouriteAssetIndices()
List the player's favourite asset ids.
- Parameters
-
| OnCompletedRequest | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ GetUniversalAssets()
| static FString ULootLockerSDKManager::GetUniversalAssets |
( |
int |
After, |
|
|
int |
ItemsCount, |
|
|
const FUniversalAssetResponseDelegate & |
OnCompletedRequest, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
List universal assets (paginated).
- Parameters
-
| After | Optional: Last universal asset id to start after |
| ItemsCount | Number of items to return (50-200) |
| OnCompletedRequest | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ GrantAssetToPlayerInventory() [1/2]
| static FString ULootLockerSDKManager::GrantAssetToPlayerInventory |
( |
const int |
AssetID, |
|
|
const FGrantAssetResponseDelegate & |
OnCompletedRequest, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
inlinestatic |
Grant an asset to the player (no variation or rental option).
- Parameters
-
| AssetID | Asset id to grant |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ GrantAssetToPlayerInventory() [2/2]
| static FString ULootLockerSDKManager::GrantAssetToPlayerInventory |
( |
const int |
AssetID, |
|
|
const int |
AssetVariationID, |
|
|
const int |
AssetRentalOptionID, |
|
|
const FGrantAssetResponseDelegate & |
OnCompletedRequest, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
Grant an asset (optionally with variation and rental option) to the player.
- Parameters
-
| AssetID | Asset id to grant |
| AssetVariationID | Asset variation id (0 for none) |
| AssetRentalOptionID | Rental option id (0 for none) |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ ListAssets()
List assets returning only selected fields (performance focused).
Use filters and field selection to minimize payload size.
- Parameters
-
| Request | Field include/exclude and asset filtering settings |
| OnCompletedRequest | Delegate for handling the server response |
| PerPage | Optional: Page size (used with Page). Set 0 to disable pagination. |
| Page | Optional: Page index (1-based). Set 0 to disable pagination. |
| OrderBy | Optional: Field to order by |
| OrderDirection | Optional: Ordering direction |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ ListAssetsWithDefaultParameters()
| static FString ULootLockerSDKManager::ListAssetsWithDefaultParameters |
( |
const FListSimpleAssetsResponseDelegate & |
OnCompletedRequest, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
List assets with default pagination and no filters (lightweight helper).
- Parameters
-
| OnCompletedRequest | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ RemoveAssetFromFavourites()
Remove an asset from the player's favourites.
- Parameters
-
| AssetId | Asset id |
| OnCompletedRequest | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
|
| enum class | ELootLockerAssetFilter : uint8 {
ELootLockerAssetFilter::None = 0
, ELootLockerAssetFilter::Purchasable = 1
, ELootLockerAssetFilter::NonPurchasable = 2
, ELootLockerAssetFilter::Rentable = 3
,
ELootLockerAssetFilter::NonRentable = 4
, ELootLockerAssetFilter::Popular = 5
, ELootLockerAssetFilter::UnPopular = 6
} |
| | Filters applicable when querying the asset list. More...
|
| |
| enum class | ELootLockerOrderAssetListBy : uint8 {
ELootLockerOrderAssetListBy::None = 0
, ELootLockerOrderAssetListBy::Id = 1
, ELootLockerOrderAssetListBy::Name = 2
, ELootLockerOrderAssetListBy::Created_at = 3
,
ELootLockerOrderAssetListBy::Updated_at = 4
} |
| | Fields by which an asset list can be ordered. More...
|
| |
| enum class | ELootLockerOrderAssetListDirection : uint8 { ELootLockerOrderAssetListDirection::None = 0
, ELootLockerOrderAssetListDirection::Asc = 1
, ELootLockerOrderAssetListDirection::Desc = 2
} |
| | Sort direction when ordering an asset list. More...
|
| |
|
| static FString | ULootLockerSDKManager::GetContexts (const FContextDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="") |
| | Get all the contexts the game has.
|
| |
| static FString | ULootLockerSDKManager::GetAssets (const FAssetsResponseDelegate &OnCompletedRequest, int StartFromIndex=0, int ItemsCount=50, ELootLockerAssetFilter AssetFilter=ELootLockerAssetFilter::None, int Context=0, bool IncludeUGC=false, const FString &ForPlayerWithUlid="") |
| | List assets (paginated) with optional filtering.
|
| |
| static FString | ULootLockerSDKManager::GetUniversalAssets (int After, int ItemsCount, const FUniversalAssetResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="") |
| | List universal assets (paginated).
|
| |
| static FString | ULootLockerSDKManager::GetAssetsByIds (const TArray< int > &AssetIds, const FAssetsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="") |
| | Retrieve specific assets by id.
|
| |
| static FString | ULootLockerSDKManager::GetAssetBones (const FAssetBonesResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="") |
| | List default bones and any binding overrides.
|
| |
| static FString | ULootLockerSDKManager::GetFavouriteAssetIndices (const FGetFavouriteAssetIndicesResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="") |
| | List the player's favourite asset ids.
|
| |
| static FString | ULootLockerSDKManager::AddAssetToFavourites (int AssetId, const FGetFavouriteAssetIndicesResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="") |
| | Add an asset to the player's favourites.
|
| |
| static FString | ULootLockerSDKManager::RemoveAssetFromFavourites (int AssetId, const FGetFavouriteAssetIndicesResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="") |
| | Remove an asset from the player's favourites.
|
| |
| static FString | ULootLockerSDKManager::GrantAssetToPlayerInventory (const int AssetID, const int AssetVariationID, const int AssetRentalOptionID, const FGrantAssetResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="") |
| | Grant an asset (optionally with variation and rental option) to the player.
|
| |
| static FString | ULootLockerSDKManager::GrantAssetToPlayerInventory (const int AssetID, const FGrantAssetResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="") |
| | Grant an asset to the player (no variation or rental option).
|
| |
| static FString | ULootLockerSDKManager::ListAssetsWithDefaultParameters (const FListSimpleAssetsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="") |
| | List assets with default pagination and no filters (lightweight helper).
|
| |
| static FString | ULootLockerSDKManager::ListAssets (const FLootLockerListSimpleAssetsRequest &Request, const FListSimpleAssetsResponseDelegate &OnCompletedRequest, int PerPage=0, int Page=0, ELootLockerOrderAssetListBy OrderBy=ELootLockerOrderAssetListBy::None, ELootLockerOrderAssetListDirection OrderDirection=ELootLockerOrderAssetListDirection::None, const FString &ForPlayerWithUlid="") |
| | List assets returning only selected fields (performance focused).
|
| |