question

Keisuke.Ukishima avatar image
Keisuke.Ukishima asked

How to attach other information to the leaderboard.

When I display the leaderboard.
・"What character was the player using
・"The stage the player has reached
I would like to display these information.

I've looked through the documentation,
but I can't find a way to save this information in the leaderboard,
and I can't find a way to save this information in the player's profile either.

Thank you very much for your help.

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

·
Rick Chen avatar image
Rick Chen answered

You could save the statistic value in the Character Statistic, using UpdateCharacterStatistics API. Then you can get the Character leaderboard and see which character was used with GetCharacterLeaderboard API.

For the “stage the player has reached”, you could save it in the Player Data as public (visible to other user). However, in this way, it is difficult to retrieve all the data in one API call, you may need to use the GetUserData to get this data 1 by 1.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Keisuke.Ukishima avatar image Keisuke.Ukishima commented ·

Thanks Rick. I'll look into it. However, it seems to be very complicated to achieve this with the current leaderbord. I'm looking forward to leaderbord v2. Thanks .

0 Likes 0 ·

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.