Inspect a player's purchase history and individual transaction statuses.
An entitlement records that a player has access rights to an item rather than outright ownership. Use this group to list all purchases, check the status of in-flight transactions, and display a transaction history — a requirement imposed by some First Party platforms.
See the LootLocker documentation.
◆ GetEntitlement()
| static void LootLocker.Requests.LootLockerSDKManager.GetEntitlement |
( |
string |
entitlementId, |
|
|
Action< LootLockerSingleEntitlementResponse > |
onComplete, |
|
|
string |
forPlayerWithUlid = null |
|
) |
| |
|
inlinestatic |
Get a single entitlement, with information about its current status Use this to retrieve information on entitlements the player has received regardless of their origin (for example as an effect of progression, purchases, or leaderboard rewards)
- Parameters
-
| entitlementId | |
| onComplete | |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
◆ ListEntitlements() [1/4]
List this player's historical entitlements Use this to retrieve information on entitlements the player has received regardless of their origin (for example as an effect of progression, purchases, or leaderboard rewards)
- Parameters
-
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
◆ ListEntitlements() [2/4]
List this player's historical entitlements Use this to retrieve information on entitlements the player has received regardless of their origin (for example as an effect of progression, purchases, or leaderboard rewards)
- Parameters
-
| count | Optional: Amount of historical entries to fetch |
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
◆ ListEntitlements() [3/4]
| static void LootLocker.Requests.LootLockerSDKManager.ListEntitlements |
( |
int |
count, |
|
|
string |
after, |
|
|
Action< LootLockerEntitlementHistoryResponse > |
onComplete, |
|
|
string |
forPlayerWithUlid = null |
|
) |
| |
|
inlinestatic |
List this player's historical entitlements Use this to retrieve information on entitlements the player has received regardless of their origin (for example as an effect of progression, purchases, or leaderboard rewards)
- Parameters
-
| count | Optional: Amount of historical entries to fetch |
| after | Optional: Used for pagination, this is the cursor to start getting entries from. Use null or use an overload without the parameter to get entries from the beginning. Use the cursor from a previous call to get the next count of entries in the list. |
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
◆ ListEntitlements() [4/4]
List this player's historical entitlements Use this to retrieve information on entitlements the player has received regardless of their origin (for example as an effect of progression, purchases, or leaderboard rewards)
- Parameters
-
| after | Optional: Used for pagination, this is the cursor to start getting entries from. Use null or use an overload without the parameter to get entries from the beginning. Use the cursor from a previous call to get the next count of entries in the list. |
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
| static void | LootLocker.Requests.LootLockerSDKManager.ListEntitlements (int count, string after, Action< LootLockerEntitlementHistoryResponse > onComplete, string forPlayerWithUlid=null) |
| | List this player's historical entitlements Use this to retrieve information on entitlements the player has received regardless of their origin (for example as an effect of progression, purchases, or leaderboard rewards)
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.ListEntitlements (int count, Action< LootLockerEntitlementHistoryResponse > onComplete, string forPlayerWithUlid=null) |
| | List this player's historical entitlements Use this to retrieve information on entitlements the player has received regardless of their origin (for example as an effect of progression, purchases, or leaderboard rewards)
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.ListEntitlements (string after, Action< LootLockerEntitlementHistoryResponse > onComplete, string forPlayerWithUlid=null) |
| | List this player's historical entitlements Use this to retrieve information on entitlements the player has received regardless of their origin (for example as an effect of progression, purchases, or leaderboard rewards)
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.ListEntitlements (Action< LootLockerEntitlementHistoryResponse > onComplete, string forPlayerWithUlid=null) |
| | List this player's historical entitlements Use this to retrieve information on entitlements the player has received regardless of their origin (for example as an effect of progression, purchases, or leaderboard rewards)
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.GetEntitlement (string entitlementId, Action< LootLockerSingleEntitlementResponse > onComplete, string forPlayerWithUlid=null) |
| | Get a single entitlement, with information about its current status Use this to retrieve information on entitlements the player has received regardless of their origin (for example as an effect of progression, purchases, or leaderboard rewards)
|
| |