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

Merge pull request #27 from joshjje/master

Added missing readonly properties to NetConnectionStatistics for sent…
This commit is contained in:
lidgren
2015-07-09 10:09:33 +02:00

View File

@@ -93,11 +93,26 @@ namespace Lidgren.Network
/// </summary>
public long ReceivedBytes { get { return m_receivedBytes; } }
/// <summary>
/// Gets the number of sent messages for this connection
/// </summary>
public long SentMessages { get { return m_sentMessages; } }
/// <summary>
/// Gets the number of received messages for this connection
/// </summary>
public long ReceivedMessages { get { return m_receivedMessages; } }
/// <summary>
/// Gets the number of resent reliable messages for this connection
/// </summary>
public long ResentMessages { get { return m_resentMessagesDueToHole + m_resentMessagesDueToDelay; } }
/// <summary>
/// Gets the number of dropped messages for this connection
/// </summary>
public long DroppedMessages { get { return m_droppedMessages; } }
// public double LastSendRespondedTo { get { return m_connection.m_lastSendRespondedTo; } }
#if !USE_RELEASE_STATISTICS