- List of users currently in the game
- List of the current user’s People who are online
- Global leaderboard that contains random users
- Leaderboard of user’s People
- The People service only owns and returns the XUIDs that are on a user’s People List and some very basic information about each of those XUIDs (like favorite status).
- The Presence service owns data about the online status information of XUIDs.
- The Leaderboards service owns ranking information on lists of XUIDs.
List of users currently in the game
Title has: List of random XUIDs of other users in the game. Goal: To render minimal information for each of the other users. Field to render [owning service]:GameDisplayName [Profile]
Call flow:
Call Profile with the list of XUIDs.
Return to the top of this topic.
List of the current user’s People who are online
Title has: The current user’s XUID. Goal: To render a rich list of online users that are in the current user’s People List. Field to render [owning service]:- Favorite indicator [People]
- Display picture [Profile]
GameDisplayName[Profile]- Basic online status (green circle) [Presence]
- Call
Presence, passing in thePeoplemoniker to get the XUIDs and online status for each of the user’s People. - In parallel:
- Call
Profile, passing in the entire list of XUIDs to get the display name and picture URL for each. Then, get images for each picture URL. - Call
People, passing in the list of XUIDs to find out if any are favorites of the user.
- Call
Global leaderboard that contains random users
Title has: The ID/name of the leaderboard. Goal: To render basic information for each user on the leaderboard. Field to render [owning service]:- Favorite indicator [People]
GameDisplayName[Profile]- Rank [Leaderboards]
- Score [Leaderboards]
- Call
Leaderboardsto get the XUIDs, rank, and scores for the particular leaderboard. - In parallel:
- Call
Profile, passing in the list of XUIDs to get the display name and picture URL for each. - Call
People, passing in the list of XUIDs to find out if any are favorites of the user.
- Call
Leaderboard of user’s People
Title has:- The ID/name of the leaderboard
- The current user’s XUID
- Favorite indicator [People]
GameDisplayName[Profile]- Rank [Leaderboards]
- Score [Leaderboards]
- Call
Leaderboards, passing in thePeoplemoniker to get the XUIDs, rank, and scores for the particular leaderboard that’s limited to the user’s People List. - In parallel:
- Call
Profile, passing in the list of XUIDs to get the display name and picture URL for each. - Call
People, passing in the list of XUIDs to find out if any are favorites of the user.
- Call
