NetworkSessionState Enumeration
Defines the different states of a multiplayer session.
Namespace: Microsoft.Xna.Framework.Net
Assembly: Microsoft.Xna.Framework.Net (in microsoft.xna.framework.net.dll)
Syntax
public enum NetworkSessionState
Members
Member name | Description | |
---|---|---|
Lobby | The local machine joins the session, waiting in the pregame lobby. The GameStarted event is raised when gameplay begins. | |
Playing | The local machine joins the session, currently in the middle of gameplay. The GameEnded event is raised when the session returns to the lobby. | |
Ended | The local machine has left the current session or the session has ended. The SessionEnded event is raised at this time. The event's arguments describe the reason for the session ending. |
See Also
Reference
Microsoft.Xna.Framework.Net Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP