NetworkSessionState Enumeration
XNA Game Studio 4.0
Defines the different states of a multiplayer session.
Namespace: Microsoft.Xna.Framework.Net
Assembly: Microsoft.Xna.Framework.Net (in microsoft.xna.framework.net.dll)
| 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. |