question

Dale Strickler avatar image
Dale Strickler asked

Is there a way to get a list of existing leaderboards?

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

·
Sarah Zhang avatar image
Sarah Zhang answered

You can call the API GetLeaderboard to retrieve the list of users’ rank in the given leaderboard. Do you mean you want to retrieve the list of existing leaderboards’ names? PlayFab doesn’t provide a native way for such uses. We would suggest you store the existing statistic/leaderboard names in the TitleData. Clients can call GetTitleData to retrieve the K/V pairs stored in the TitleData. You can refer to this doc -- Title Data quickstart forthetutorial of how to use it. If you have any questions about other features, please feel free to post the corresponding questions for them.

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.