diff --git a/doc/base/classes.xml b/doc/base/classes.xml index ab25c18b06b..dd32bbf3d37 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -21709,7 +21709,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) + + + Get a Variant. @@ -21718,12 +21721,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) + Send a Variant as a packet. + Get a raw packet. @@ -21732,18 +21737,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) + Send a raw packet. + Return the error state of the last packet received (via [method get_packet] and [method get_var]). + Return the number of packets currently available in the ring-buffer. @@ -21771,8 +21779,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) + UDP packet peer. + UDP packet peer. Can be used to send raw UDP packets as well as [Variant]s. @@ -21783,40 +21793,47 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) + Make this [PacketPeerUDP] listen on the "port" using a buffer size "recv_buf_size". Listens on all available adresses. + Close the UDP socket the [PacketPeerUDP] is currently listening on. + Wait for a packet to arrive on the listening port, see [method listen]. + Return whether this [PacketPeerUDP] is listening. + Return the IP of the remote peer that sent the last packet(that was received with [method get_packet] or [method get_var]). + Return the address of the remote peer(as a 32bit integer) that sent the last packet(that was received with [method get_packet] or [method get_var]). + Return the port of the remote peer that sent the last packet(that was received with [method get_packet] or [method get_var]). @@ -21827,6 +21844,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) + Set the destination address and port for sending packets and variables, a hostname will be resolved if valid. @@ -34630,7 +34648,7 @@ This method controls whether the position between two cached points is interpola - Put a variable into the stream. + Put a Variant into the stream. @@ -34725,7 +34743,7 @@ This method controls whether the position between two cached points is interpola - Get a variable from the stream. + Get a Variant from the stream.