Is there a way to get the country code for each of the leaderboard entries so I can show the flag in a "global" ranking alongside with the entry display name?
Attachments: Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.
Sure, you could use the Geo info we return as part of the player login to get the player's country, and set that as a Tag on the player account (AddPlayerTag). Then, set ShowTags to true in the ProfileConstraints when you query the leaderboard.
Will try! Thanks a lot!
Seems it only works on Server API. I need this on Client.
To be specific, I meant you would set that in a Cloud Script call, so that you can make sure you're setting only the Tags that you really want to (Tags should not be set by a client authoritative action, as players could then set any Tag they wanted to - potentially cheating your title, depending on how you use them).
2 People are following this question.
Copy player data (title) key/value pair to player statistics
Pledging custom data to leaderboard
,How to post user points to a certain leaderboard and get the leaderboard back in Unity?
leaderboards and up-to-date usernames
How to get last week's leaderboard champion?