Nazara/Network: ENetHost::GetTotalReceivedPackets now returns the number of commands received
This commit is contained in:
parent
24cb8f6845
commit
0bcd8769fe
|
|
@ -211,6 +211,7 @@ Nazara Engine:
|
|||
- String::Number is now locale-independent
|
||||
- Added ENetPeer::GetTotalByte[Received|Sent]
|
||||
- Added ENetPeer::GetTotalPacketSent
|
||||
- ⚠ ENetHost::GetTotalReceivedPackets now returns the number of commands received (instead of the number of UDP packets received)
|
||||
|
||||
Nazara Development Kit:
|
||||
- Added ImageWidget (#139)
|
||||
|
|
|
|||
|
|
@ -658,6 +658,7 @@ namespace Nz
|
|||
return commandError();
|
||||
}
|
||||
|
||||
m_totalReceivedPackets++;
|
||||
if (peer)
|
||||
peer->m_totalPacketReceived++;
|
||||
|
||||
|
|
@ -754,7 +755,6 @@ namespace Nz
|
|||
m_receivedDataLength = receivedLength;
|
||||
|
||||
m_totalReceivedData += receivedLength;
|
||||
m_totalReceivedPackets++;
|
||||
|
||||
// Intercept
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue