Files
Loong/Assets/_Loong/Scripts/Net/ServerResponse.cs
2025-07-01 14:54:02 +08:00

19 lines
489 B
C#

using System;
using System.Net;
using Mirror;
public class 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 string gameName;
public Uri uri;
// Prevent duplicate server appearance when a connection can be made via LAN on multiple NICs
public long serverId;
public long createTime;
}