doc: Sync classref with current source

Fix wrong binding after #37111.
This commit is contained in:
Rémi Verschelde 2020-03-18 09:14:39 +01:00
parent 6b6174e210
commit a2d3ba3372
7 changed files with 23 additions and 24 deletions

View File

@ -2444,7 +2444,7 @@ void _Directory::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_drive", "idx"), &_Directory::get_drive); ClassDB::bind_method(D_METHOD("get_drive", "idx"), &_Directory::get_drive);
ClassDB::bind_method(D_METHOD("get_current_drive"), &_Directory::get_current_drive); ClassDB::bind_method(D_METHOD("get_current_drive"), &_Directory::get_current_drive);
ClassDB::bind_method(D_METHOD("change_dir", "todir"), &_Directory::change_dir); ClassDB::bind_method(D_METHOD("change_dir", "todir"), &_Directory::change_dir);
ClassDB::bind_method(D_METHOD("get_current_dir", "include_drive"), &_Directory::get_current_dir, DEFVAL(true)); ClassDB::bind_method(D_METHOD("get_current_dir"), &_Directory::get_current_dir);
ClassDB::bind_method(D_METHOD("make_dir", "path"), &_Directory::make_dir); ClassDB::bind_method(D_METHOD("make_dir", "path"), &_Directory::make_dir);
ClassDB::bind_method(D_METHOD("make_dir_recursive", "path"), &_Directory::make_dir_recursive); ClassDB::bind_method(D_METHOD("make_dir_recursive", "path"), &_Directory::make_dir_recursive);
ClassDB::bind_method(D_METHOD("file_exists", "path"), &_Directory::file_exists); ClassDB::bind_method(D_METHOD("file_exists", "path"), &_Directory::file_exists);

View File

@ -28,17 +28,6 @@
Adds a new node to the graph. The [code]position[/code] is used for display in the editor. Adds a new node to the graph. The [code]position[/code] is used for display in the editor.
</description> </description>
</method> </method>
<method name="replace_node">
<return type="void">
</return>
<argument index="0" name="name" type="String">
</argument>
<argument index="1" name="node" type="AnimationNode">
</argument>
<description>
Replaces the node and keeps its transitions unchanged.
</description>
</method>
<method name="add_transition"> <method name="add_transition">
<return type="void"> <return type="void">
</return> </return>
@ -194,6 +183,16 @@
Renames the given node. Renames the given node.
</description> </description>
</method> </method>
<method name="replace_node">
<return type="void">
</return>
<argument index="0" name="name" type="StringName">
</argument>
<argument index="1" name="node" type="AnimationNode">
</argument>
<description>
</description>
</method>
<method name="set_end_node"> <method name="set_end_node">
<return type="void"> <return type="void">
</return> </return>

View File

@ -116,7 +116,7 @@
</description> </description>
</method> </method>
<method name="back"> <method name="back">
<return type="void"> <return type="Variant">
</return> </return>
<description> <description>
Returns the last element of the array, or [code]null[/code] if the array is empty. Returns the last element of the array, or [code]null[/code] if the array is empty.
@ -213,7 +213,7 @@
</description> </description>
</method> </method>
<method name="front"> <method name="front">
<return type="void"> <return type="Variant">
</return> </return>
<description> <description>
Returns the first element of the array, or [code]null[/code] if the array is empty. Returns the first element of the array, or [code]null[/code] if the array is empty.
@ -260,28 +260,28 @@
</description> </description>
</method> </method>
<method name="max"> <method name="max">
<return type="void"> <return type="Variant">
</return> </return>
<description> <description>
Returns the maximum value contained in the array if all elements are of comparable types. If the elements can't be compared, [code]null[/code] is returned. Returns the maximum value contained in the array if all elements are of comparable types. If the elements can't be compared, [code]null[/code] is returned.
</description> </description>
</method> </method>
<method name="min"> <method name="min">
<return type="void"> <return type="Variant">
</return> </return>
<description> <description>
Returns the minimum value contained in the array if all elements are of comparable types. If the elements can't be compared, [code]null[/code] is returned. Returns the minimum value contained in the array if all elements are of comparable types. If the elements can't be compared, [code]null[/code] is returned.
</description> </description>
</method> </method>
<method name="pop_back"> <method name="pop_back">
<return type="void"> <return type="Variant">
</return> </return>
<description> <description>
Removes and returns the last element of the array. Returns [code]null[/code] if the array is empty. Removes and returns the last element of the array. Returns [code]null[/code] if the array is empty.
</description> </description>
</method> </method>
<method name="pop_front"> <method name="pop_front">
<return type="void"> <return type="Variant">
</return> </return>
<description> <description>
Removes and returns the first element of the array. Returns [code]null[/code] if the array is empty. Removes and returns the first element of the array. Returns [code]null[/code] if the array is empty.

View File

@ -98,7 +98,7 @@
</description> </description>
</method> </method>
<method name="get"> <method name="get">
<return type="void"> <return type="Variant">
</return> </return>
<argument index="0" name="key" type="Variant"> <argument index="0" name="key" type="Variant">
</argument> </argument>

View File

@ -33,7 +33,7 @@
</description> </description>
</method> </method>
<method name="disconnect"> <method name="disconnect">
<return type="void"> <return type="Variant">
</return> </return>
<argument index="0" name="callable" type="Callable"> <argument index="0" name="callable" type="Callable">
</argument> </argument>

View File

@ -149,7 +149,7 @@
</description> </description>
</method> </method>
<method name="xform"> <method name="xform">
<return type="void"> <return type="Variant">
</return> </return>
<argument index="0" name="v" type="Variant"> <argument index="0" name="v" type="Variant">
</argument> </argument>
@ -158,7 +158,7 @@
</description> </description>
</method> </method>
<method name="xform_inv"> <method name="xform_inv">
<return type="void"> <return type="Variant">
</return> </return>
<argument index="0" name="v" type="Variant"> <argument index="0" name="v" type="Variant">
</argument> </argument>

View File

@ -151,7 +151,7 @@
</description> </description>
</method> </method>
<method name="xform"> <method name="xform">
<return type="void"> <return type="Variant">
</return> </return>
<argument index="0" name="v" type="Variant"> <argument index="0" name="v" type="Variant">
</argument> </argument>
@ -160,7 +160,7 @@
</description> </description>
</method> </method>
<method name="xform_inv"> <method name="xform_inv">
<return type="void"> <return type="Variant">
</return> </return>
<argument index="0" name="v" type="Variant"> <argument index="0" name="v" type="Variant">
</argument> </argument>