Nazara/Network: Add GetTotalByte[Received|Sent]

This commit is contained in:
Lynix
2019-12-28 17:31:21 +01:00
parent 9f8e83087a
commit 56243f5a12
5 changed files with 23 additions and 1 deletions

View File

@@ -541,6 +541,7 @@ namespace Nz
{
peer->m_address = m_receivedAddress;
peer->m_incomingDataTotal += UInt32(m_receivedDataLength);
peer->m_totalByteReceived += UInt32(m_receivedDataLength);
}
auto commandError = [&]() -> bool