Hello,
Is there any way to get total player in a leadearboard?
I want to to randomly choose player from a leaderboard, and then the player id will be used to acquire user data ( level, exp, custom data, etc ) and then display that to user.
Thank You
Answer by Citrus Yan · Sep 10, 2019 at 06:15 AM
Hi, GetLeaderboard supports retrieving maximal 100 entries per call. You might need to write an automated process to retrieve and store all the players using GetLeaderboard API, starts from the first entry with 100 as MaxResultsCount till the end of the Leaderboard.