summaryrefslogtreecommitdiffstats
path: root/modules/enet/networked_multiplayer_enet.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-10-09 14:05:40 +0200
committerGitHub <noreply@github.com>2016-10-09 14:05:40 +0200
commitc16c621c97f6abd443a751dfb493104575770011 (patch)
treee9a89359ea364cc000e89d68cabaa20ee6c2023b /modules/enet/networked_multiplayer_enet.h
parent74917d7037e27c81dc5817b2c47820a2256b69e5 (diff)
parent8b9e5453a57e873d43d748d9acf16be4b7a1aa19 (diff)
downloadredot-engine-c16c621c97f6abd443a751dfb493104575770011.tar.gz
Merge pull request #6657 from Faless/multi_channel_rpc
Use 2 different ENet channels for reliable/unreliable packets
Diffstat (limited to 'modules/enet/networked_multiplayer_enet.h')
-rw-r--r--modules/enet/networked_multiplayer_enet.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/enet/networked_multiplayer_enet.h b/modules/enet/networked_multiplayer_enet.h
index 59863c1f78..f64db4561e 100644
--- a/modules/enet/networked_multiplayer_enet.h
+++ b/modules/enet/networked_multiplayer_enet.h
@@ -23,6 +23,13 @@ private:
SYSMSG_REMOVE_PEER
};
+ enum {
+ SYSCH_CONFIG,
+ SYSCH_RELIABLE,
+ SYSCH_UNRELIABLE,
+ SYSCH_MAX
+ };
+
bool active;
bool server;