mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
doc: Sync classref with current source + fixup some bindings
Includes various changes triggered by the refactoring of method bindings.
This commit is contained in:
@@ -20,9 +20,9 @@
|
||||
</description>
|
||||
</method>
|
||||
<method name="append">
|
||||
<return type="void">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="byte" type="int">
|
||||
<argument index="0" name="value" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Appends an element at the end of the array (alias of [method push_back]).
|
||||
@@ -128,9 +128,9 @@
|
||||
<method name="insert">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="idx" type="int">
|
||||
<argument index="0" name="at_index" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="byte" type="int">
|
||||
<argument index="1" name="value" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Inserts a new element at a given position in the array. The position must be valid, or at the end of the array ([code]idx == size()[/code]).
|
||||
@@ -144,9 +144,9 @@
|
||||
</description>
|
||||
</method>
|
||||
<method name="push_back">
|
||||
<return type="void">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="byte" type="int">
|
||||
<argument index="0" name="value" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Appends an element at the end of the array.
|
||||
@@ -155,16 +155,16 @@
|
||||
<method name="remove">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="idx" type="int">
|
||||
<argument index="0" name="index" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Removes an element from the array by index.
|
||||
</description>
|
||||
</method>
|
||||
<method name="resize">
|
||||
<return type="void">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="idx" type="int">
|
||||
<argument index="0" name="new_size" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size.
|
||||
@@ -173,9 +173,9 @@
|
||||
<method name="set">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="idx" type="int">
|
||||
<argument index="0" name="index" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="byte" type="int">
|
||||
<argument index="1" name="value" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Changes the byte at the given index.
|
||||
|
||||
Reference in New Issue
Block a user