mirror of
				https://github.com/DerTyp7/defrain-shooter-unity.git
				synced 2025-11-02 22:33:47 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			493 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			493 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System;
 | 
						|
using System.Net;
 | 
						|
 | 
						|
namespace Mirror.Discovery
 | 
						|
{
 | 
						|
    public struct ServerResponse : NetworkMessage
 | 
						|
    {
 | 
						|
        // The server that sent this
 | 
						|
        // this is a property so that it is not serialized,  but the
 | 
						|
        // client fills this up after we receive it
 | 
						|
        public IPEndPoint EndPoint { get; set; }
 | 
						|
 | 
						|
        public Uri uri;
 | 
						|
 | 
						|
        // Prevent duplicate server appearance when a connection can be made via LAN on multiple NICs
 | 
						|
        public long serverId;
 | 
						|
    }
 | 
						|
} |