mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
doc: Sync classref with current source
Handle removal of Pool*Array types and other recent changes.
This commit is contained in:
@@ -171,7 +171,7 @@
|
||||
<method name="put_data">
|
||||
<return type="int" enum="Error">
|
||||
</return>
|
||||
<argument index="0" name="data" type="PoolByteArray">
|
||||
<argument index="0" name="data" type="PackedByteArray">
|
||||
</argument>
|
||||
<description>
|
||||
Sends a chunk of data through the connection, blocking if necessary until the data is done sending. This function returns an [enum @GlobalScope.Error] code.
|
||||
@@ -198,7 +198,7 @@
|
||||
<method name="put_partial_data">
|
||||
<return type="Array">
|
||||
</return>
|
||||
<argument index="0" name="data" type="PoolByteArray">
|
||||
<argument index="0" name="data" type="PackedByteArray">
|
||||
</argument>
|
||||
<description>
|
||||
Sends a chunk of data through the connection. If all the data could not be sent at once, only part of it will. This function returns two values, an [enum @GlobalScope.Error] code and an integer, describing how much data was actually sent.
|
||||
|
||||
Reference in New Issue
Block a user