summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2023-03-19 12:41:25 -0700
committerRĂ©mi Verschelde <rverschelde@gmail.com>2023-05-12 12:31:22 +0200
commit2a8501e1a26b12dadd4f6fcbed799e319cd77027 (patch)
treed71c8943a2d350c5873359cd7a9aec0238b9fb0e /scene
parent07128ccb9d380dcaa090c1ea1c358af515fac20a (diff)
Add missing documentation for MultiplayerPeerExtension
(cherry picked from commit 4d13be3c5eab71b04f6d7a0ed9d7e8679b377494)
Diffstat (limited to 'scene')
-rw-r--r--scene/main/multiplayer_peer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/main/multiplayer_peer.cpp b/scene/main/multiplayer_peer.cpp
index f3e56a1455..8c9eeea027 100644
--- a/scene/main/multiplayer_peer.cpp
+++ b/scene/main/multiplayer_peer.cpp
@@ -201,6 +201,9 @@ void MultiplayerPeerExtension::_bind_methods() {
GDVIRTUAL_BIND(_get_packet_script)
GDVIRTUAL_BIND(_put_packet_script, "p_buffer");
+ GDVIRTUAL_BIND(_get_packet_channel);
+ GDVIRTUAL_BIND(_get_packet_mode);
+
GDVIRTUAL_BIND(_set_transfer_channel, "p_channel");
GDVIRTUAL_BIND(_get_transfer_channel);
@@ -217,6 +220,7 @@ void MultiplayerPeerExtension::_bind_methods() {
GDVIRTUAL_BIND(_get_unique_id);
GDVIRTUAL_BIND(_set_refuse_new_connections, "p_enable");
GDVIRTUAL_BIND(_is_refusing_new_connections);
+ GDVIRTUAL_BIND(_is_server_relay_supported);
GDVIRTUAL_BIND(_get_connection_status);
ADD_PROPERTY_DEFAULT("transfer_mode", TRANSFER_MODE_RELIABLE);