Player Progressions

Player progressions are progressions that the player is currently on, your game may have many progressions but the player doesn't necessarily progress through all of them at a given time, some may need to be unlocked or may be mutually exclusive.

Starting a progression for a player is as easy as just starting to add points to it or using our RegisterPlayerProgression (Unity only) method. That progression will then be listed when retrieving progressions for that player.

Registering Player Progressions

string progressionKey = "global_exp";

LootLockerSDKManager.RegisterPlayerProgression(progressionKey, (response) =>
{
    if(!response.success)
    {
        Debug.Log("Error Regisering progression!");
        Debug.Log(response.errorData.ToString());
        return;
    }
    
    Debug.Log("Progression Registered successfully!");
});

Retrieving player progressions

Retrieving a single player progression using the progression key

Retrieving all player progressions

Retrieving player progressions using count

Count can be used to limit the number of entries returned.

Paginating through player progressions

You can use "after" parameter to paginate if the player is on many progressions.

Interacting with player progressions

Adding points to a player progression

If the player leveled up, awarded_tiers fields will contain acquired rewards.

Subtracting points from a player progression

Resetting a player progression

Resets the player progression points to 0, effectively returning the player to level 1, if you want to remove the progression from a player see below.

Deleting a player progression

Completely removes a player progression, it will no longer be listed when retrieving player progressions.

Last updated