mirror of
https://github.com/godotengine/godot
synced 2024-09-05 18:09:34 +00:00
![Fabio Alessandrelli](/assets/img/avatar_default.png)
Simplify StreamPeer, PacketPeer, MultiplayerPeer extension. Simplify and update WebRTC*Extension with newly supported types.
49 lines
1.6 KiB
XML
49 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="StreamPeerExtension" inherits="StreamPeer" 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_bytes" qualifiers="virtual const">
|
|
<return type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_data" qualifiers="virtual">
|
|
<return type="int" enum="Error" />
|
|
<param index="0" name="r_buffer" type="uint8_t*" />
|
|
<param index="1" name="r_bytes" type="int" />
|
|
<param index="2" name="r_received" type="int32_t*" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_partial_data" qualifiers="virtual">
|
|
<return type="int" enum="Error" />
|
|
<param index="0" name="r_buffer" type="uint8_t*" />
|
|
<param index="1" name="r_bytes" type="int" />
|
|
<param index="2" name="r_received" type="int32_t*" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_put_data" qualifiers="virtual">
|
|
<return type="int" enum="Error" />
|
|
<param index="0" name="p_data" type="const uint8_t*" />
|
|
<param index="1" name="p_bytes" type="int" />
|
|
<param index="2" name="r_sent" type="int32_t*" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_put_partial_data" qualifiers="virtual">
|
|
<return type="int" enum="Error" />
|
|
<param index="0" name="p_data" type="const uint8_t*" />
|
|
<param index="1" name="p_bytes" type="int" />
|
|
<param index="2" name="r_sent" type="int32_t*" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
</class>
|