Poll McSocket

This commit is contained in:
MarcEricMartel
2023-11-06 13:56:12 -05:00
parent ac9174f793
commit 9b9e2b3f1f
9 changed files with 43 additions and 20 deletions

View File

@@ -4,6 +4,7 @@
#include <algorithm>
#include <chrono>
#include <cmath>
#include <unordered_map>
#include "../SQCSim-common/array2d.h"
#include "../SQCSim-common/blockinfo.h"
#include "../SQCSim-common/bullet.h"
@@ -88,7 +89,7 @@ private:
Bullet* m_bullets[MAX_BULLETS];
std::map<uint64_t, Player*> m_players;
std::unordered_map<uint64_t, Player*> m_players;
netprot::Buffer m_buf;
std::chrono::high_resolution_clock::time_point m_startTime;