You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-16 23:26:32 +09:00
Merge pull request #27 from joshjje/master
Added missing readonly properties to NetConnectionStatistics for sent…
This commit is contained in:
@@ -93,11 +93,26 @@ namespace Lidgren.Network
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public long ReceivedBytes { get { return m_receivedBytes; } }
|
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>
|
/// <summary>
|
||||||
/// Gets the number of resent reliable messages for this connection
|
/// Gets the number of resent reliable messages for this connection
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public long ResentMessages { get { return m_resentMessagesDueToHole + m_resentMessagesDueToDelay; } }
|
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; } }
|
// public double LastSendRespondedTo { get { return m_connection.m_lastSendRespondedTo; } }
|
||||||
|
|
||||||
#if !USE_RELEASE_STATISTICS
|
#if !USE_RELEASE_STATISTICS
|
||||||
|
|||||||
Reference in New Issue
Block a user