question

John Peterson avatar image
John Peterson asked

Getting user's position on leaderboard.

Dear PlayFab community,

Is there an easy way to get a player's current position in a leaderboard? It seems like the GetLeaderboardAroundUser call will return a zero-based Position value for the leaderboard entries, rather than an absolute Position value.

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

·
brendan avatar image
brendan answered

Actually, GetLeaderboardAroundUser does return the correct global leaderboard position for the player. If you're seeing something different, can you please provide your repro case (Title ID, statistic, PlayFab ID of the user)?

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.