1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00

Track bytes sent and received in Network.

This commit is contained in:
Matt
2019-01-29 16:35:19 +01:00
parent e4f1b12fa4
commit 2931ac6e31
7 changed files with 98 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ uint8_t* NetworkPacket::GetData()
return &(*Data)[0];
}
int32_t NetworkPacket::GetCommand()
int32_t NetworkPacket::GetCommand() const
{
if (Data->size() >= sizeof(uint32_t))
{