LootLocker Unity SDK 8.0.0
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.

◆ 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.