diff --git a/Lidgren.Network/NetConnectionStatistics.cs b/Lidgren.Network/NetConnectionStatistics.cs index d993d06..1affbc2 100644 --- a/Lidgren.Network/NetConnectionStatistics.cs +++ b/Lidgren.Network/NetConnectionStatistics.cs @@ -93,11 +93,26 @@ namespace Lidgren.Network /// public long ReceivedBytes { get { return m_receivedBytes; } } + /// + /// Gets the number of sent messages for this connection + /// + public long SentMessages { get { return m_sentMessages; } } + + /// + /// Gets the number of received messages for this connection + /// + public long ReceivedMessages { get { return m_receivedMessages; } } + /// /// Gets the number of resent reliable messages for this connection /// public long ResentMessages { get { return m_resentMessagesDueToHole + m_resentMessagesDueToDelay; } } + /// + /// Gets the number of dropped messages for this connection + /// + public long DroppedMessages { get { return m_droppedMessages; } } + // public double LastSendRespondedTo { get { return m_connection.m_lastSendRespondedTo; } } #if !USE_RELEASE_STATISTICS