You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-15 22:56:30 +09:00
Major refactoring of sending messages to multiple recipients
This commit is contained in:
@@ -66,6 +66,8 @@ namespace SamplesCommon
|
||||
NetConnection conn = Peer.Connections[0];
|
||||
bdr.AppendLine("Connection 0:");
|
||||
bdr.AppendLine("Average RTT: " + ((int)(conn.AverageRoundtripTime * 1000.0f)) + " ms");
|
||||
bdr.AppendLine("Last response: " + (int)(NetTime.Now - conn.Statistics.LastSendRespondedTo) + "s ago");
|
||||
bdr.AppendLine("Most sends: " + conn.Statistics.MostSends);
|
||||
bdr.Append(conn.Statistics.ToString());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user