Sdílet prostřednictvím


User (JSON)

Contains user leaderboard data.

User

The User object has the following specification.

Member Type Description
gamertag string Gamertag of the player (maximum of 15 characters). The client should use this value in the UI when identifying the player.
rank 32-bit signed integer The rank of the user relative to the user requesting the leaderboard data.
rating string The user's rating.
xuid 64-bit unsigned integer The Xbox User ID (XUID) of the user.

Sample JSON syntax

{ 
   "gamertag":"TrueBlue402",
   "rank":2,
   "rating":"2:19:21.17",
   "xuid":1234567890123456 
}
    

See also

Parent

JavaScript Object Notation (JSON) Object Reference