1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-01 16:38:31 +00:00

Use 2 different ENet channels for reliable/unreliable packets

This avoids stalling other sequenced but unreliable packets
(i.e. UNRELIABLE_ORDERED) when sending RELIABLE packets.
This commit is contained in:
Fabio Alessandrelli
2016-09-30 01:23:54 +02:00
parent cb7661df94
commit 8b9e5453a5
2 changed files with 27 additions and 16 deletions

View File

@@ -23,6 +23,13 @@ private:
SYSMSG_REMOVE_PEER
};
enum {
SYSCH_CONFIG,
SYSCH_RELIABLE,
SYSCH_UNRELIABLE,
SYSCH_MAX
};
bool active;
bool server;