NetworkSessionEndReason.cs 689 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. namespace Microsoft.Xna.Framework.Net
  3. {
  4. /// <summary>
  5. /// Reasons why a network session ended.
  6. /// </summary>
  7. public enum NetworkSessionEndReason
  8. {
  9. /// <summary>
  10. /// The session ended normally.
  11. /// </summary>
  12. ClientSignedOut,
  13. /// <summary>
  14. /// The host ended the session.
  15. /// </summary>
  16. HostEndedSession,
  17. /// <summary>
  18. /// The host removed the user.
  19. /// </summary>
  20. RemovedByHost,
  21. /// <summary>
  22. /// The session was disconnected.
  23. /// </summary>
  24. Disconnected,
  25. /// <summary>
  26. /// A network error occurred.
  27. /// </summary>
  28. NetworkError
  29. }
  30. }