Browse the asset catalogue from the server.
List and filter the reference assets defined in the LootLocker console — cosmetics, weapons, game configs, loot boxes, and more. For player-owned copies see Asset Instances.
See the LootLocker documentation.
◆ GetAssets()
List all the assets from this game Note that this is a paginated call and it will likely require multiple calls to LootLocker with a parameter for every call except the first to step forward in the results.
Up to 200 (the default limit is 50 though) assets are returned at a time, and to fetch the next page you have to use the largest ID you've gotten returned in the previous response
- Parameters
-
| OnCompletedRequest | Delegate for handling the server response |
| IncludeUGC | Optional: Include user generated assets |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ GetAssetsByContext()
Get all assets for a context.
- Parameters
-
| Count | The number of assets to get. Must be a value between 1 and 200 |
| After | The id of the asset from where to start getting assets (non inclusive). Set to 0 to start from the first item |
| Context | The context id to filter by |
| OnCompletedRequest | Delegate for handling the server response |
| IncludeUGC | Optional: Include user generated assets |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ GetPaginatedAssets()
List a set of assets from this game according to the supplied pagination options Note that this is a paginated call and it will likely require multiple calls to LootLocker with a parameter for every call except the first to step forward in the results.
Up to 200 (the default limit is 50 though) assets are returned at a time, and to fetch the next page you have to use the largest ID you've gotten returned in the previous response
- Parameters
-
| Count | The number of assets to get. Must be a value between 1 and 200 |
| After | The id of the asset from where to start getting assets (non inclusive). Set to 0 to start from the first item |
| OnCompletedRequest | Delegate for handling the server response |
| IncludeUGC | Optional: Include user generated assets |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound