diff options
Diffstat (limited to 'modules/enet/networked_multiplayer_enet.h')
-rw-r--r-- | modules/enet/networked_multiplayer_enet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/enet/networked_multiplayer_enet.h b/modules/enet/networked_multiplayer_enet.h index 3921c1c9ca..20eb53990d 100644 --- a/modules/enet/networked_multiplayer_enet.h +++ b/modules/enet/networked_multiplayer_enet.h @@ -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(); |