Google play games 如何获得播放器';在我使用Google Play Games的游戏中,s的排名和提交的分数是多少?
我想看看玩家是否在前1%的玩家中,所以我需要看看他们的排名以及有多少分数提交给了游戏。如何检查?您可以使用下面的方法获得排名 资源表示:Google play games 如何获得播放器';在我使用Google Play Games的游戏中,s的排名和提交的分数是多少?,google-play-games,Google Play Games,我想看看玩家是否在前1%的玩家中,所以我需要看看他们的排名以及有多少分数提交给了游戏。如何检查?您可以使用下面的方法获得排名 资源表示: { "kind": "games#playerLeaderboardScoreListResponse", "nextPageToken": string, "player": players Resource, "items": [ { "kind": "games#playerLeaderboardScore",
{
"kind": "games#playerLeaderboardScoreListResponse",
"nextPageToken": string,
"player": players Resource,
"items": [
{
"kind": "games#playerLeaderboardScore",
"leaderboard_id": string,
"scoreValue": long,
"scoreString": string,
"publicRank": {
"kind": "games#leaderboardScoreRank",
"rank": long,
"formattedRank": string,
"numScores": long,
"formattedNumScores": string
},
"socialRank": {
"kind": "games#leaderboardScoreRank",
"rank": long,
"formattedRank": string,
"numScores": long,
"formattedNumScores": string
},
"timeSpan": string,
"writeTimestamp": long,
"scoreTag": string
}
]
}
使用Scores:get方法在当前已认证玩家的排行榜中获得高分,并可选择排名
请注意,此方法需要