Skip to content

List All Catalogs In-Game

This how-to lists every Catalog configured for your game, so you can confirm which Catalogs are available before building against them.

Prerequisites

List Catalogs

LootLockerSDKManager.ListCatalogs((response) =>
{
if (!response.success)
{
Debug.Log("Could not List Catalogs");
return;
}
foreach(var catalog in response.catalogs)
{
Debug.Log(catalog.name);
Debug.Log(catalog.key);
Debug.Log(catalog.id);
}
});

See the Reference Documentation for the full response.

Conclusion

You've listed every Catalog configured for your game. Next, set up UI for an in-game store using the results.