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

Detailed Description

Award points and read tier state for a player's progressions.

Progressions are points-threshold systems where reaching each tier unlocks configured rewards (assets, currency, other progression points). This group covers player-scoped operations: query current state, award points, and retrieve earned rewards. See Progressions for the shared infrastructure (tier definitions, metadata, reset).

See the LootLocker documentation.

Function Documentation

◆ AddPointsToPlayerProgression()

static void LootLocker.Requests.LootLockerSDKManager.AddPointsToPlayerProgression ( string  progressionKey,
ulong  amount,
Action< LootLockerPlayerProgressionWithRewardsResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Adds points to a player progression.

Parameters
progressionKeyProgression key
amountAmount of points to be added
onCompleteonComplete Action for handling the response of type LootLockerPlayerProgressionWithRewards
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ DeletePlayerProgression()

static void LootLocker.Requests.LootLockerSDKManager.DeletePlayerProgression ( string  progressionKey,
Action< LootLockerResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Deletes a player progression.

Parameters
progressionKeyProgression key
onCompleteonComplete Action for handling the response of type LootLockerResponse
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ GetOtherPlayersProgression()

static void LootLocker.Requests.LootLockerSDKManager.GetOtherPlayersProgression ( string  playerUlid,
string  progressionKey,
Action< LootLockerPlayerProgressionResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Returns a single progression that the specified player is currently on.

Parameters
playerUlidThe ulid of the player you wish to look up
progressionKeyProgression key
onCompleteonComplete Action for handling the response of type LootLockerPlayerProgression
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ GetOtherPlayersProgressions() [1/3]

static void LootLocker.Requests.LootLockerSDKManager.GetOtherPlayersProgressions ( string  playerUlid,
Action< LootLockerPaginatedPlayerProgressionsResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Returns multiple progressions that the specified player is currently on.

Parameters
playerUlidThe ulid of the player you wish to look up
onCompleteonComplete Action for handling the response of type LootLockerPaginatedPlayerProgressions
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ GetOtherPlayersProgressions() [2/3]

static void LootLocker.Requests.LootLockerSDKManager.GetOtherPlayersProgressions ( string  playerUlid,
int  count,
Action< LootLockerPaginatedPlayerProgressionsResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Returns multiple progressions that the specified player is currently on.

Parameters
playerUlidThe ulid of the player you wish to look up
countAmount of entries to receive
onCompleteonComplete Action for handling the response of type LootLockerPaginatedPlayerProgressions
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ GetOtherPlayersProgressions() [3/3]

static void LootLocker.Requests.LootLockerSDKManager.GetOtherPlayersProgressions ( string  playerUlid,
int  count,
string  after,
Action< LootLockerPaginatedPlayerProgressionsResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Returns multiple progressions that the specified player is currently on.

Parameters
playerUlidThe ulid of the player you wish to look up
countAmount of entries to receive
afterUsed for pagination, id of the player progression from which the pagination starts from, use the next_cursor and previous_cursor values
onCompleteonComplete Action for handling the response of type LootLockerPaginatedPlayerProgressions
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ GetPlayerProgression()

static void LootLocker.Requests.LootLockerSDKManager.GetPlayerProgression ( string  progressionKey,
Action< LootLockerPlayerProgressionResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Returns a single progression the player is currently on.

Parameters
progressionKeyProgression key
onCompleteonComplete Action for handling the response of type LootLockerPlayerProgression
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ GetPlayerProgressions() [1/3]

static void LootLocker.Requests.LootLockerSDKManager.GetPlayerProgressions ( Action< LootLockerPaginatedPlayerProgressionsResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Returns multiple progressions the player is currently on.

Parameters
onCompleteonComplete Action for handling the response of type LootLockerPaginatedPlayerProgressions
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ GetPlayerProgressions() [2/3]

static void LootLocker.Requests.LootLockerSDKManager.GetPlayerProgressions ( int  count,
Action< LootLockerPaginatedPlayerProgressionsResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Returns multiple progressions the player is currently on.

Parameters
countAmount of entries to receive
onCompleteonComplete Action for handling the response of type LootLockerPaginatedPlayerProgressions
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ GetPlayerProgressions() [3/3]

static void LootLocker.Requests.LootLockerSDKManager.GetPlayerProgressions ( int  count,
string  after,
Action< LootLockerPaginatedPlayerProgressionsResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Returns multiple progressions the player is currently on.

Parameters
countAmount of entries to receive
afterUsed for pagination, id of the player progression from which the pagination starts from, use the next_cursor and previous_cursor values
onCompleteonComplete Action for handling the response of type LootLockerPaginatedPlayerProgressions
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ RegisterPlayerProgression()

static void LootLocker.Requests.LootLockerSDKManager.RegisterPlayerProgression ( string  progressionKey,
Action< LootLockerPlayerProgressionWithRewardsResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Registers a player progression if it doesn't exist.

Same as adding 0 points to a progression.

Parameters
progressionKeyProgression key
onCompleteonComplete Action for handling the response of type LootLockerPlayerProgressionWithRewards
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ResetPlayerProgression()

static void LootLocker.Requests.LootLockerSDKManager.ResetPlayerProgression ( string  progressionKey,
Action< LootLockerPlayerProgressionWithRewardsResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Resets a player progression.

Parameters
progressionKeyProgression key
onCompleteonComplete Action for handling the response of type LootLockerPlayerProgressionWithRewards
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ SubtractPointsFromPlayerProgression()

static void LootLocker.Requests.LootLockerSDKManager.SubtractPointsFromPlayerProgression ( string  progressionKey,
ulong  amount,
Action< LootLockerPlayerProgressionWithRewardsResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Subtracts points from a player progression.

Parameters
progressionKeyProgression key
amountAmount of points to be subtracted
onCompleteonComplete Action for handling the response of type LootLockerPlayerProgressionWithRewards
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

Functions

static void LootLocker.Requests.LootLockerSDKManager.GetPlayerProgressions (int count, string after, Action< LootLockerPaginatedPlayerProgressionsResponse > onComplete, string forPlayerWithUlid=null)
 Returns multiple progressions the player is currently on.
 
static void LootLocker.Requests.LootLockerSDKManager.GetPlayerProgressions (int count, Action< LootLockerPaginatedPlayerProgressionsResponse > onComplete, string forPlayerWithUlid=null)
 Returns multiple progressions the player is currently on.
 
static void LootLocker.Requests.LootLockerSDKManager.GetPlayerProgressions (Action< LootLockerPaginatedPlayerProgressionsResponse > onComplete, string forPlayerWithUlid=null)
 Returns multiple progressions the player is currently on.
 
static void LootLocker.Requests.LootLockerSDKManager.GetPlayerProgression (string progressionKey, Action< LootLockerPlayerProgressionResponse > onComplete, string forPlayerWithUlid=null)
 Returns a single progression the player is currently on.
 
static void LootLocker.Requests.LootLockerSDKManager.AddPointsToPlayerProgression (string progressionKey, ulong amount, Action< LootLockerPlayerProgressionWithRewardsResponse > onComplete, string forPlayerWithUlid=null)
 Adds points to a player progression.
 
static void LootLocker.Requests.LootLockerSDKManager.SubtractPointsFromPlayerProgression (string progressionKey, ulong amount, Action< LootLockerPlayerProgressionWithRewardsResponse > onComplete, string forPlayerWithUlid=null)
 Subtracts points from a player progression.
 
static void LootLocker.Requests.LootLockerSDKManager.ResetPlayerProgression (string progressionKey, Action< LootLockerPlayerProgressionWithRewardsResponse > onComplete, string forPlayerWithUlid=null)
 Resets a player progression.
 
static void LootLocker.Requests.LootLockerSDKManager.DeletePlayerProgression (string progressionKey, Action< LootLockerResponse > onComplete, string forPlayerWithUlid=null)
 Deletes a player progression.
 
static void LootLocker.Requests.LootLockerSDKManager.RegisterPlayerProgression (string progressionKey, Action< LootLockerPlayerProgressionWithRewardsResponse > onComplete, string forPlayerWithUlid=null)
 Registers a player progression if it doesn't exist.
 
static void LootLocker.Requests.LootLockerSDKManager.GetOtherPlayersProgressions (string playerUlid, int count, string after, Action< LootLockerPaginatedPlayerProgressionsResponse > onComplete, string forPlayerWithUlid=null)
 Returns multiple progressions that the specified player is currently on.
 
static void LootLocker.Requests.LootLockerSDKManager.GetOtherPlayersProgressions (string playerUlid, int count, Action< LootLockerPaginatedPlayerProgressionsResponse > onComplete, string forPlayerWithUlid=null)
 Returns multiple progressions that the specified player is currently on.
 
static void LootLocker.Requests.LootLockerSDKManager.GetOtherPlayersProgressions (string playerUlid, Action< LootLockerPaginatedPlayerProgressionsResponse > onComplete, string forPlayerWithUlid=null)
 Returns multiple progressions that the specified player is currently on.
 
static void LootLocker.Requests.LootLockerSDKManager.GetOtherPlayersProgression (string playerUlid, string progressionKey, Action< LootLockerPlayerProgressionResponse > onComplete, string forPlayerWithUlid=null)
 Returns a single progression that the specified player is currently on.