Award and query player progression tiers from the server.
Award XP points to a player's progression track and retrieve current tier and reward state. Progressions are threshold-based levelling systems configured in the console with per-tier reward payloads (assets, currency, progression points). Server-side awarding ensures points cannot be forged by clients.
See the LootLocker documentation.
◆ AddPointsToProgressionForPlayer()
Add points to the specified progression for the specified player.
- Parameters
-
| PlayerID | ID of the player for whom to add points to the specified progression |
| ProgressionKey | Key of the progression to add points to for the specified player |
| Amount | The number of points to add to the specified progression (only positive integers allowed) |
| OnCompletedRequest | Delegate for handling the server response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ DeleteProgressionForPlayer()
Delete the specified progression for the specified player.
- Parameters
-
| PlayerID | ID of the player for whom to delete the specified progression |
| ProgressionKey | Key of the progression to delete for the specified player |
| OnCompletedRequest | Delegate for handling the server response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ GetPaginatedProgressionsForPlayer()
Get a list of progressions for the specified player.
- Parameters
-
| PlayerID | ID of the player for whom to get progressions |
| Count | The number of progressions to get. Must be a value between 1 and 100 |
| After | The id of the progression from where to start getting progressions (non inclusive). Set to "" to start from the first item |
| OnCompletedRequest | Delegate for handling the server response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ GetProgressionForPlayerByKey()
Get a specific progression for the specified player.
- Parameters
-
| PlayerID | ID of the player for whom to get the specified progression |
| ProgressionKey | Key of the progression to get |
| OnCompletedRequest | Delegate for handling the server response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ GetProgressionsForPlayer()
Get a list of progressions for the specified player The list will contain the first 20 items, if you want to get more items or not list items from somewhere else than the beginning; use GetPaginatedProgressionsForPlayer.
- Parameters
-
| PlayerID | ID of the player for whom to get progressions |
| OnCompletedRequest | Delegate for handling the server response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ ResetProgressionForPlayer()
Reset the specified progression for the specified player.
- Parameters
-
| PlayerID | ID of the player for whom to reset the specified progression |
| ProgressionKey | Key of the progression to reset for the specified player |
| OnCompletedRequest | Delegate for handling the server response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ SubtractPointsFromProgressionForPlayer()
Subtract points from the specified progression for the specified player.
- Parameters
-
| PlayerID | ID of the player for whom to subtract points from the specified progression |
| ProgressionKey | Key of the progression to subtract points from for the specified player |
| Amount | The number of points to subtract from the specified progression (only positive integers allowed) |
| OnCompletedRequest | Delegate for handling the server response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
|
| static FString | ULootLockerServerForCpp::GetProgressionsForPlayer (int PlayerID, const FLootLockerServerPlayerProgressionListResponseDelegate &OnCompletedRequest) |
| | Get a list of progressions for the specified player The list will contain the first 20 items, if you want to get more items or not list items from somewhere else than the beginning; use GetPaginatedProgressionsForPlayer.
|
| |
| static FString | ULootLockerServerForCpp::GetPaginatedProgressionsForPlayer (int PlayerID, int32 Count, const FString &After, const FLootLockerServerPlayerProgressionListResponseDelegate &OnCompletedRequest) |
| | Get a list of progressions for the specified player.
|
| |
| static FString | ULootLockerServerForCpp::GetProgressionForPlayerByKey (int PlayerID, const FString &ProgressionKey, const FLootLockerServerSinglePlayerProgressionResponseDelegate &OnCompletedRequest) |
| | Get a specific progression for the specified player.
|
| |
| static FString | ULootLockerServerForCpp::AddPointsToProgressionForPlayer (int PlayerID, const FString &ProgressionKey, int32 Amount, const FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate &OnCompletedRequest) |
| | Add points to the specified progression for the specified player.
|
| |
| static FString | ULootLockerServerForCpp::SubtractPointsFromProgressionForPlayer (int PlayerID, const FString &ProgressionKey, int32 Amount, const FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate &OnCompletedRequest) |
| | Subtract points from the specified progression for the specified player.
|
| |
| static FString | ULootLockerServerForCpp::ResetProgressionForPlayer (int PlayerID, const FString &ProgressionKey, const FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate &OnCompletedRequest) |
| | Reset the specified progression for the specified player.
|
| |
| static FString | ULootLockerServerForCpp::DeleteProgressionForPlayer (int PlayerID, const FString &ProgressionKey, const FLootLockerServerDeletePlayerProgressionResponseDelegate &OnCompletedRequest) |
| | Delete the specified progression for the specified player.
|
| |