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

Missing some bits, and added connection status.

This commit is contained in:
Juan Linietsky
2016-08-14 14:06:51 -03:00
parent c21aae65b6
commit 01bdfe1ff6
4 changed files with 64 additions and 8 deletions

View File

@@ -19,6 +19,8 @@ class NetworkedMultiplayerENet : public NetworkedMultiplayerPeer {
ENetPeer *peer;
ENetHost *host;
ConnectionStatus connection_status;
Map<StringName,ENetPeer*> peer_map;
struct Packet {
@@ -60,6 +62,7 @@ public:
virtual int get_max_packet_size() const;
virtual ConnectionStatus get_connection_status() const;
NetworkedMultiplayerENet();
~NetworkedMultiplayerENet();