NetworkSessionState Enumeration

Defines the different states of a multiplayer session.

Namespace: Microsoft.Xna.Framework.Net
Assembly: Microsoft.Xna.Framework.Net (in

public enum NetworkSessionState

 Member nameDescription
LobbyThe local machine joins the session, waiting in the pregame lobby. The GameStarted event is raised when gameplay begins.
PlayingThe local machine joins the session, currently in the middle of gameplay. The GameEnded event is raised when the session returns to the lobby.
EndedThe 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.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions