feat: litenetlib connection to string method added
This commit is contained in:
parent
b238235c15
commit
0ec047cc23
@ -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})";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user