Define and query the virtual currency types in your game's economy.
Currencies drive virtual and (indirectly) real-money purchases via the Catalog system. Each currency has a name, shorthand identifier, minor-unit name, and denomination chain (e.g., 1 Gold = 100 Silver = 1,000 Copper). They can be granted by rewards from Progressions, Leaderboards, and Triggers, or exchanged for other currencies. See Balances to read player wallets.
See the LootLocker documentation.
◆ FLootLockerGetCurrencyDetailsResponseDelegate
C++ response delegate for getting details for a single currency.
◆ FLootLockerListCurrenciesResponseDelegate
C++ response delegate for listing currencies.
◆ FLootLockerListDenominationsResponseDelegate
C++ response delegate for listing denominations on a currency.
◆ GetCurrencyDenominationsByCode()
List available denominations for a currency.
- Parameters
-
| CurrencyCode | Currency code |
| 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
◆ GetCurrencyDetails()
Get currency details.
- Parameters
-
| CurrencyCode | Currency code |
| 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
◆ ListCurrencies()
List available game currencies.
- 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