Add ENet::GetTotalPacketReceived

This commit is contained in:
Lynix
2019-12-29 11:54:00 +01:00
parent 2dcf154553
commit 24cb8f6845
5 changed files with 12 additions and 0 deletions

View File

@@ -658,6 +658,9 @@ namespace Nz
return commandError();
}
if (peer)
peer->m_totalPacketReceived++;
if (peer && (command->header.command & ENetProtocolFlag_Acknowledge) != 0)
{
UInt16 sentTime;