heum well

This commit is contained in:
MarcEricMartel
2023-11-06 17:59:57 -05:00
parent 253e49b1cc
commit bc1f4f750b
6 changed files with 70 additions and 30 deletions

View File

@@ -33,9 +33,8 @@ public:
PlayerInfo* getInfo() const;
sockaddr_in* getAddr() const;
void getPacks();
std::thread Start();
void getPacks(SOCKET sock);
void sendPacks(SOCKET sock, std::unordered_map<uint64_t, Connection*> conns);
void Run(World* world);
@@ -50,6 +49,11 @@ private:
LoginInfo m_loginfo;
PlayerInfo m_playinfo;
Buffer* m_buf;
Timestamp m_startsync;
uint64_t m_last_in = 0,
m_last_out = 0;
Buffer m_buf,
m_bufout;
};
#endif