diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-09-07 23:04:52 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-09-24 18:40:39 +0200 |
commit | 25226329bea7bada0b113068d3324fc0ce0fa8bd (patch) | |
tree | 91ccf408c17a68391be383fb0205296767409d72 /modules/webrtc/webrtc_multiplayer_peer.h | |
parent | 7c81ce43ec903001b5556aa4189674c15be541ff (diff) | |
download | redot-engine-25226329bea7bada0b113068d3324fc0ce0fa8bd.tar.gz |
[Net] MultiplayerPeer cleanup, defaults.
Diffstat (limited to 'modules/webrtc/webrtc_multiplayer_peer.h')
-rw-r--r-- | modules/webrtc/webrtc_multiplayer_peer.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/modules/webrtc/webrtc_multiplayer_peer.h b/modules/webrtc/webrtc_multiplayer_peer.h index 80a6491492..4a7e9ad7c8 100644 --- a/modules/webrtc/webrtc_multiplayer_peer.h +++ b/modules/webrtc/webrtc_multiplayer_peer.h @@ -65,10 +65,7 @@ private: uint32_t unique_id = 0; int target_peer = 0; int client_count = 0; - bool refuse_connections = false; ConnectionStatus connection_status = CONNECTION_DISCONNECTED; - int transfer_channel = 0; - Multiplayer::TransferMode transfer_mode = Multiplayer::TRANSFER_MODE_RELIABLE; int next_packet_peer = 0; bool server_compat = false; @@ -97,10 +94,6 @@ public: int get_max_packet_size() const override; // MultiplayerPeer - void set_transfer_channel(int p_channel) override; - int get_transfer_channel() const override; - void set_transfer_mode(Multiplayer::TransferMode p_mode) override; - Multiplayer::TransferMode get_transfer_mode() const override; void set_target_peer(int p_peer_id) override; int get_unique_id() const override; @@ -110,9 +103,6 @@ public: void poll() override; - void set_refuse_new_connections(bool p_enable) override; - bool is_refusing_new_connections() const override; - ConnectionStatus get_connection_status() const override; }; |