mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-19 21:35:46 +01:00
Rework packet receiving in ServerThread
Notably it tries to receive all queued packets between server steps, not just one.
This commit is contained in:
@@ -35,6 +35,7 @@ public:
|
||||
~NetworkPacket();
|
||||
|
||||
void putRawPacket(u8 *data, u32 datasize, session_t peer_id);
|
||||
void clear();
|
||||
|
||||
// Getters
|
||||
u32 getSize() const { return m_datasize; }
|
||||
|
||||
Reference in New Issue
Block a user