LocalNetworkGamer.cs 807 B

123456789101112131415161718192021222324252627
  1. namespace Microsoft.Xna.Framework.Net
  2. {
  3. /// <summary>
  4. /// Represents a local network gamer.
  5. /// </summary>
  6. public class LocalNetworkGamer : NetworkGamer
  7. {
  8. internal LocalNetworkGamer(NetworkSession session, string id, bool isHost, string gamertag)
  9. : base(session, id, true, isHost, gamertag)
  10. {
  11. }
  12. /// <summary>
  13. /// Gets whether this local gamer is sending data.
  14. /// </summary>
  15. public bool IsSendingData => false; // Mock implementation
  16. /// <summary>
  17. /// Enables or disables sending data for this local gamer.
  18. /// </summary>
  19. /// <param name="options">Send data options.</param>
  20. public void EnableSendData(SendDataOptions options)
  21. {
  22. // Mock implementation
  23. }
  24. }
  25. }