1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-16 15:16:33 +09:00

Major refactoring of sending messages to multiple recipients

This commit is contained in:
lidgren
2010-06-21 19:22:21 +00:00
parent d843a5944a
commit 14d3f3b390
18 changed files with 417 additions and 302 deletions

View File

@@ -72,6 +72,20 @@ namespace Lidgren.Network
/// </summary>
public int ReceivedBytes { get { return m_receivedBytes; } }
public double LastSendRespondedTo { get { return m_connection.m_lastSendRespondedTo; } }
public int MostSends
{
get
{
int most = 0;
foreach (var a in m_connection.m_unackedSends)
if (a.NumSends > most)
most = a.NumSends;
return most;
}
}
[Conditional("DEBUG")]
internal void PacketSent(int numBytes, int numMessages)
{