WIP Packet loss identification. Put packetID in message

This commit is contained in:
stiffly
2015-12-09 17:43:36 +01:00
parent 0807a7d0ae
commit 4de613814b
7 changed files with 51 additions and 7 deletions
+5
View File
@@ -32,6 +32,11 @@ private:
std::clock_t m_StopTimes[8];
// Game logic
World* m_World;
// Packet loss logic
unsigned int m_PacketCounter = 0;
unsigned int m_PacketID = 0;
const unsigned int m_PacketModolus = 1000;
// Close logic
bool m_ThreadIsRunning = true;
// Threaded