ServerResponse.cs 493 B

123456789101112131415161718
  1. using System;
  2. using System.Net;
  3. namespace Mirror.Discovery
  4. {
  5. public struct ServerResponse : NetworkMessage
  6. {
  7. // The server that sent this
  8. // this is a property so that it is not serialized, but the
  9. // client fills this up after we receive it
  10. public IPEndPoint EndPoint { get; set; }
  11. public Uri uri;
  12. // Prevent duplicate server appearance when a connection can be made via LAN on multiple NICs
  13. public long serverId;
  14. }
  15. }