feat: litenetlib connection to string method added

This commit is contained in:
Syntriax 2025-06-28 23:01:01 +03:00
parent b238235c15
commit 0ec047cc23

View File

@ -7,4 +7,6 @@ public record class LiteNetLibConnection(NetPeer NetPeer) : IConnection
public string Id { get; } = NetPeer.Id.ToString(); public string Id { get; } = NetPeer.Id.ToString();
public float Ping => NetPeer.Ping * .001f; public float Ping => NetPeer.Ping * .001f;
public float RoundTrip => NetPeer.RoundTripTime * .001f; public float RoundTrip => NetPeer.RoundTripTime * .001f;
public override string ToString() => $"Client({Id})";
} }