Export (0) Print
Expand All

NetworkGamer.IsReady Property

Determines whether the gamer is ready to leave the lobby screen and begin gameplay.

Namespace: Microsoft.Xna.Framework.Net
Assembly: Microsoft.Xna.Framework.Net (in microsoft.xna.framework.net.dll)

public bool IsReady { get; set; }

Property Value

true if the gamer is ready to start playing; false otherwise.

Exception typeCondition
InvalidOperationException
ObjectDisposedExceptionThis NetworkGamer is no longer valid. The gamer may have left the session.

The host of a multiplayer session can use the IsEveryoneReady property to detect when all players have marked themselves ready, and then call StartGame to kick off the game.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show:
© 2014 Microsoft