question

Thiago Lopes Rosa avatar image
Thiago Lopes Rosa asked

​Is there a way to see the last leaderboard results (from the previous reset) on the client side?

Is there a way to see the last leaderboard results (from the previous reset) on the client side?

For example: I want to know the previous top 10 players and add a badge on their avatars.


Leaderboards and Statistics
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

Yes, you can specify the Version property in the Client/GetLeaderboard API to see previous leaderboard results, let’s suppose the current leaderboard version is 2, now you want to see last leaderboard results, namely, version 1, here is a sample request you can make to get leaderboard version 1’s results:

//request body
{ 
"StatisticName": "xxx", 
"StartPosition": 0, 
"MaxResultsCount": 10, 
"UseSpecificVersion": true, 
"Version" : 1
}
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.