Microsoft.Xna.Framework.Net Namespace
Contains classes that implement support for Xbox LIVE, multiplayer, and networking for XNA Framework games.
Classes
Name | Description | |
---|---|---|
AvailableNetworkSession | Describes a multiplayer session that can be joined. | |
AvailableNetworkSessionCollection | Represents a collection of sessions available for joining. | |
GameEndedEventArgs | Represents the arguments passed to a GameEnded event. | |
GamerJoinedEventArgs | Represents the arguments passed to a GamerJoined event. | |
GamerLeftEventArgs | Represents the arguments passed to a GamerLeft event. | |
GameStartedEventArgs | Represents the arguments passed to a GameStarted event. | |
HostChangedEventArgs | Represents the arguments passed to a HostChanged event. | |
LocalNetworkGamer | Represents a local player in a network session. | |
NetworkGamer | Represents a player in a network session. | |
NetworkMachine | Represents a physical machine (such as single Xbox 360 console or Windows-based computer) that is participating in a multiplayer session. It can be used to detect when more than one NetworkGamer is playing on the same actual machine. | |
NetworkSession | Represents a multiplayer game session. | |
NetworkSessionEndedEventArgs | Represents the arguments passed to a SessionEnded event. These arguments are passed to event handlers when a session ends. | |
NetworkSessionJoinException | Thrown if an error was encountered while joining a session. | |
NetworkSessionProperties | Describes custom, game-specific information about a NetworkSession object. | |
PacketReader | Provides common functionality for efficiently reading incoming network packets. | |
PacketWriter | Provides common functionality for efficiently formatting outgoing network packets. | |
QualityOfService | Describes the quality of the network connection between this machine and the host of a multiplayer session that was discovered with a matchmaking query. | |
WriteLeaderboardsEventArgs | Represents the arguments passed to a WriteArbitratedLeaderboard. WriteUnarbitratedLeaderboard, or WriteTrueSkill event. |
Enumerations
Name | Description | |
---|---|---|
NetworkSessionEndReason | Defines the reason a session ended. | |
NetworkSessionJoinError | Contains additional data about a NetworkSessionJoinException. | |
NetworkSessionState | Defines the different states of a multiplayer session. | |
NetworkSessionType | Defines the different types of a multiplayer session. | |
SendDataOptions | Defines options for network packet transmission. |
Remarks
Important
Games for Windows - LIVE is unavailable to finished games. This functionality is not included in the redistributable version of the XNA Framework. A game that attempts to use these components without XNA Game Studio installed will result in a GamerServicesNotAvailableException.
See Also
Concepts
Prerequisites for Developing Xbox LIVE Multiplayer Games on Xbox 360
Networking Content Catalog at App Hub Online