How To: Add LIVE Party Support
LIVE Party gives groups of gamers additional ways to connect, chat, and play together. The XNA Framework supports LIVE Party through the Guide, LocalNetworkGamer, and SignedInGamer classes. This topic shows you how to use these classes to add LIVE Party support to your game title.
|Currently, the only platform that supports LIVE Party is the Xbox 360. Other platforms do not support LIVE Party functionality, even though the platform may support LIVE otherwise.|
Showing the LIVE Party Screens
The Guide provides two screens related to LIVE Party: the Party screen and Party Sessions screen.
The Party screen serves as the main interface to LIVE Party functionality for a given player. It allows a player to do the following:
- View all the members of the current party.
- Manage the party (if the player is the party organizer).
- Send party invitations to other party members.
The Party Sessions screen allows a player to see all party members who are in a joinable session in the same game. It allows the player to join any of these sessions.
To show the Guide's LIVE Party screen
Sending a Game Invitation to Party Members
For party members not yet in the game, the player can use the LocalNetworkGamer class to send them an invitation to the current game session.
To send a game invitation to all party members not in the current game session
Retrieving the Number of Party Members for a Gamer
You can use the gamer's SignedInGamer class to determine the number of party members in a gamer party.