Class Progressions

Class progressions are progressions that the Class is currently on, your game may have many progressions but the Class 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 Class on a progression is as easy as just starting to add points to it. That progression will then be listed when retrieving progressions for that Class.

Retrieving Class Progressions

Retrieving a single Class Progression using the progression key

int characterId = 1;
string progressionKey = "mage";

LootLockerSDKManager.GetCharacterProgression(characterId, progressionKey, response =>
{
    if (!response.success) {
        Debug.Log("Failed: " + response.Error);
    }
    
    // Output the character level and show how much points are needed to progress to the next tier
    Debug.Log($"The character is currently level {response.step}");
    if (response.next_threshold != null)
    {
        Debug.Log($"Points needed to reach next level: {response.next_threshold - response.points}");
    }
});

Retrieving all Class Progressions

Retrieving Class Progressions using count

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

Paginating through Class Progressions

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

Interacting with Class Progressions

Adding points to a Class Progression

Subtracting points from a Class Progression

Resetting a Class Progression

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

Deleting a Class Progression

Completely removes a Class Progression, it will no longer be listed when retrieving Class Progressions.

Last updated