From 2a8501e1a26b12dadd4f6fcbed799e319cd77027 Mon Sep 17 00:00:00 2001 From: David Snopek Date: Sun, 19 Mar 2023 12:41:25 -0700 Subject: Add missing documentation for MultiplayerPeerExtension (cherry picked from commit 4d13be3c5eab71b04f6d7a0ed9d7e8679b377494) --- doc/classes/MultiplayerPeerExtension.xml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/classes/MultiplayerPeerExtension.xml b/doc/classes/MultiplayerPeerExtension.xml index 5717135b80..c7d46f136d 100644 --- a/doc/classes/MultiplayerPeerExtension.xml +++ b/doc/classes/MultiplayerPeerExtension.xml @@ -49,6 +49,18 @@ Called when a packet needs to be received by the [MultiplayerAPI], with [param r_buffer_size] being the size of the binary [param r_buffer] in bytes. + + + + Called to get the channel over which the next available packet was received. See [method MultiplayerPeer.get_packet_channel]. + + + + + + Called to get the [enum MultiplayerPeer.TransferMode] the remote peer used to send the next available packet. See [method MultiplayerPeer.get_packet_mode]. + + @@ -76,7 +88,7 @@ - Called when the unique ID of this [MultiplayerPeer] is requested (see [method MultiplayerPeer.get_unique_id]). + Called when the unique ID of this [MultiplayerPeer] is requested (see [method MultiplayerPeer.get_unique_id]). The value must be between [code]1[/code] and [code]2147483647[/code]. @@ -91,6 +103,12 @@ Called when the "is server" status is requested on the [MultiplayerAPI]. See [method MultiplayerAPI.is_server]. + + + + Called to check if the server can act as a relay in the current configuration. See [method MultiplayerPeer.is_server_relay_supported]. + + -- cgit v1.2.3