You've already forked godot
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user