NetworkSessionState.cs 707 B

123456789101112131415161718192021222324252627282930313233
  1. namespace Microsoft.Xna.Framework.Net
  2. {
  3. /// <summary>
  4. /// Current state of a network session.
  5. /// </summary>
  6. public enum NetworkSessionState
  7. {
  8. /// <summary>
  9. /// Session is being created.
  10. /// </summary>
  11. Creating,
  12. /// <summary>
  13. /// Session is joining (client waiting for host acceptance).
  14. /// </summary>
  15. Joining,
  16. /// <summary>
  17. /// Session is in the lobby, waiting for players.
  18. /// </summary>
  19. Lobby,
  20. /// <summary>
  21. /// Session is in an active game.
  22. /// </summary>
  23. Playing,
  24. /// <summary>
  25. /// Session has ended.
  26. /// </summary>
  27. Ended
  28. }
  29. }