LootLocker Unity SDK 8.0.0
Game backend SDK for Unity
Loading...
Searching...
No Matches
Entitlements

Detailed Description

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.

Function 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
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ListEntitlements() [1/4]

static void LootLocker.Requests.LootLockerSDKManager.ListEntitlements ( 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
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ListEntitlements() [2/4]

static void LootLocker.Requests.LootLockerSDKManager.ListEntitlements ( int  count,
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
countOptional: Amount of historical entries to fetch
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : 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
countOptional: Amount of historical entries to fetch
afterOptional: 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.
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ListEntitlements() [4/4]

static void LootLocker.Requests.LootLockerSDKManager.ListEntitlements ( 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
afterOptional: 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.
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.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)