mirror of
https://github.com/godotengine/godot
synced 2024-09-05 17:49:51 +00:00
![Fabio Alessandrelli](/assets/img/avatar_default.png)
Simplify StreamPeer, PacketPeer, MultiplayerPeer extension. Simplify and update WebRTC*Extension with newly supported types.
36 lines
1.1 KiB
XML
36 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="PacketPeerExtension" inherits="PacketPeer" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="_get_available_packet_count" qualifiers="virtual const">
|
|
<return type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_max_packet_size" qualifiers="virtual const">
|
|
<return type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_packet" qualifiers="virtual">
|
|
<return type="int" enum="Error" />
|
|
<param index="0" name="r_buffer" type="const uint8_t **" />
|
|
<param index="1" name="r_buffer_size" type="int32_t*" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_put_packet" qualifiers="virtual">
|
|
<return type="int" enum="Error" />
|
|
<param index="0" name="p_buffer" type="const uint8_t*" />
|
|
<param index="1" name="p_buffer_size" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
</class>
|