mirror of
https://github.com/godotengine/godot.git
synced 2026-03-03 20:55:48 +00:00
doc: Sync classref to add operators after #43419
This commit is contained in:
@@ -10,14 +10,14 @@
|
||||
<link title="GDScript format strings">https://docs.godotengine.org/en/latest/getting_started/scripting/gdscript/gdscript_format_string.html</link>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="String">
|
||||
<method name="String" qualifiers="constructor">
|
||||
<return type="String">
|
||||
</return>
|
||||
<description>
|
||||
Constructs an empty [String] ([code]""[/code]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="String">
|
||||
<method name="String" qualifiers="constructor">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="from" type="String">
|
||||
@@ -26,7 +26,7 @@
|
||||
Constructs a [String] as a copy of the given [String].
|
||||
</description>
|
||||
</method>
|
||||
<method name="String">
|
||||
<method name="String" qualifiers="constructor">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="from" type="NodePath">
|
||||
@@ -35,7 +35,7 @@
|
||||
Constructs a new String from the given [NodePath].
|
||||
</description>
|
||||
</method>
|
||||
<method name="String">
|
||||
<method name="String" qualifiers="constructor">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="from" type="StringName">
|
||||
@@ -466,6 +466,86 @@
|
||||
To get a boolean result from a string comparison, use the [code]==[/code] operator instead. See also [method casecmp_to] and [method naturalnocasecmp_to].
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator !=" qualifiers="operator">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="right" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator !=" qualifiers="operator">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="right" type="StringName">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator %" qualifiers="operator">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="right" type="Variant">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator +" qualifiers="operator">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="right" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator <" qualifiers="operator">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="right" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator <=" qualifiers="operator">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="right" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator ==" qualifiers="operator">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="right" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator ==" qualifiers="operator">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="right" type="StringName">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator >" qualifiers="operator">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="right" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator >=" qualifiers="operator">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="right" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="ord_at">
|
||||
<return type="int">
|
||||
</return>
|
||||
|
||||
Reference in New Issue
Block a user