feat: litenetlib connection to string method added
This commit is contained in:
@@ -7,4 +7,6 @@ public record class LiteNetLibConnection(NetPeer NetPeer) : IConnection
|
||||
public string Id { get; } = NetPeer.Id.ToString();
|
||||
public float Ping => NetPeer.Ping * .001f;
|
||||
public float RoundTrip => NetPeer.RoundTripTime * .001f;
|
||||
|
||||
public override string ToString() => $"Client({Id})";
|
||||
}
|
||||
|
Reference in New Issue
Block a user