Hello guys, I am using the Unity SDK and need some help:
How do I get data from the logged user in all the leaderboards?
How do I get the data from friends, excluding the logged user?
Thank you very much.
Best Answer
C
Customer Support
said
almost 7 years ago
Hi Valnei,
A GetLeaderboardEntriesRequest will return the high scores for a user on all the Leaderboards they have posted scores on. You can supply a playerId to get the entries for a specific player or remove that parameter to perform the request on the current player. You can read more about this request here. A SocialLeaderboardDataRequest will return the Leaderboard entries of players that are game friends with the current player. You need to supply a Leaderboard shortCode with this request. You can read more about this one here.
A GetLeaderboardEntriesRequest will return the high scores for a user on all the Leaderboards they have posted scores on. You can supply a playerId to get the entries for a specific player or remove that parameter to perform the request on the current player. You can read more about this request here. A SocialLeaderboardDataRequest will return the Leaderboard entries of players that are game friends with the current player. You need to supply a Leaderboard shortCode with this request. You can read more about this one here.
Valnei Sanderson Araújo da Costa
Hello guys, I am using the Unity SDK and need some help:
How do I get data from the logged user in all the leaderboards?
How do I get the data from friends, excluding the logged user?
Thank you very much.
Hi Valnei,
A GetLeaderboardEntriesRequest will return the high scores for a user on all the Leaderboards they have posted scores on. You can supply a playerId to get the entries for a specific player or remove that parameter to perform the request on the current player. You can read more about this request here. A SocialLeaderboardDataRequest will return the Leaderboard entries of players that are game friends with the current player. You need to supply a Leaderboard shortCode with this request. You can read more about this one here.
Thanks,
Liam
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCustomer Support
Hi Valnei,
A GetLeaderboardEntriesRequest will return the high scores for a user on all the Leaderboards they have posted scores on. You can supply a playerId to get the entries for a specific player or remove that parameter to perform the request on the current player. You can read more about this request here. A SocialLeaderboardDataRequest will return the Leaderboard entries of players that are game friends with the current player. You need to supply a Leaderboard shortCode with this request. You can read more about this one here.
Thanks,
Liam
Valnei Sanderson Araújo da Costa
Thank you for the help!
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics