LootLocker Unity SDK 8.1.1
Game backend SDK for Unity
Loading...
Searching...
No Matches
Catalog

Detailed Description

Browse item listings and prices in the LootLocker storefront catalog.

Catalogs are the pricing layer of LootLocker's economy — they assign virtual or real-money prices to Assets, Currencies, Progressions, and Progression Resets. A game can have multiple catalogs (e.g., one per store section). Listings support single items or bundles with custom Metadata and integrate with platform payment systems (App Store, Google Play, Steam). See Purchasing to initiate a transaction.

See the LootLocker documentation.

Function Documentation

◆ ListCatalogItems() [1/2]

static void LootLocker.Requests.LootLockerSDKManager.ListCatalogItems ( string  catalogKey,
int  count,
string  after,
Action< LootLockerListCatalogPricesResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

List the items available in a specific catalog.

Parameters
catalogKeyUnique Key of the catalog that you want to get items for
countAmount of catalog items to receive. Use null to simply get the default amount.
afterUsed for pagination, this is the cursor to start getting items from. Use null to get items from the beginning. Use the cursor from a previous call to get the next count of items in the list.
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ListCatalogItems() [2/2]

static void LootLocker.Requests.LootLockerSDKManager.ListCatalogItems ( string  catalogKey,
int  PerPage,
int  Page,
Action< LootLockerListCatalogPricesV2Response onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

List the items available in a specific catalog.

Parameters
catalogKeyUnique Key of the catalog that you want to get items for
PerPageThe number of results to return per page
PageThe page number to retrieve
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ListCatalogItemsById()

static void LootLocker.Requests.LootLockerSDKManager.ListCatalogItemsById ( string[]  catalogListingIds,
bool  includeMetadata,
string[]  metadataKeys,
Action< LootLockerListCatalogItemsByIdResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

List catalog items by their catalog_listing_ids.

Returns entries with entity details and optionally metadata inlined directly.

Parameters
catalogListingIdsArray of catalog_listing_id strings (max 100)
includeMetadataIf true, metadata is included for each entry, filtered by "metadataKeys" if provided.
metadataKeysOptional: Specific metadata keys to include. Only applicable if includeMetadata is true. If null/empty, all metadata is returned.
onCompleteCallback with inlined catalog entries
forPlayerWithUlidOptional : Execute the request for the specified player.

◆ ListCatalogs()

static void LootLocker.Requests.LootLockerSDKManager.ListCatalogs ( Action< LootLockerListCatalogsResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

List the catalogs available for the game.

Parameters
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

Functions

static void LootLocker.Requests.LootLockerSDKManager.ListCatalogs (Action< LootLockerListCatalogsResponse > onComplete, string forPlayerWithUlid=null)
 List the catalogs available for the game.
 
static void LootLocker.Requests.LootLockerSDKManager.ListCatalogItems (string catalogKey, int count, string after, Action< LootLockerListCatalogPricesResponse > onComplete, string forPlayerWithUlid=null)
 List the items available in a specific catalog.
 
static void LootLocker.Requests.LootLockerSDKManager.ListCatalogItems (string catalogKey, int PerPage, int Page, Action< LootLockerListCatalogPricesV2Response > onComplete, string forPlayerWithUlid=null)
 List the items available in a specific catalog.
 
static void LootLocker.Requests.LootLockerSDKManager.ListCatalogItemsById (string[] catalogListingIds, bool includeMetadata, string[] metadataKeys, Action< LootLockerListCatalogItemsByIdResponse > onComplete, string forPlayerWithUlid=null)
 List catalog items by their catalog_listing_ids.