v24
Get Achievement Levels Breakdown
1
<void> leaderboard.getLevelsBreakdown(<Function> success, <Function> failure);
Copied!
“success” callback is passed array of level objects.
Record with "level": null describes players who did not achieve any level yet.

Response

1
[
2
{
3
"level": null,
4
"total": <total number of users reached this level>,
5
"percentage": <% from total number of users>
6
},
7
{
8
"level": <level>,
9
"total": <total number of users reached this level>,
10
"percentage": <% from total number of users>
11
},
12
...
13
]
Copied!
Last modified 2yr ago
Copy link
Contents
Response