mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Sync with latest 4.0-dev
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
:github_url: hide
|
||||
|
||||
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
||||
.. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
|
||||
.. DO NOT EDIT THIS FILE, but the Dictionary.xml source instead.
|
||||
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
||||
|
||||
@@ -242,13 +242,18 @@ Tutorials
|
||||
|
||||
- `OS Test Demo <https://godotengine.org/asset-library/asset/677>`__
|
||||
|
||||
Constructors
|
||||
------------
|
||||
|
||||
+-------------------------------------+-----------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Dictionary<class_Dictionary>` | :ref:`Dictionary<class_Dictionary_constructor_Dictionary>` **(** **)** |
|
||||
+-------------------------------------+-----------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Dictionary<class_Dictionary>` | :ref:`Dictionary<class_Dictionary_constructor_Dictionary>` **(** :ref:`Dictionary<class_Dictionary>` from **)** |
|
||||
+-------------------------------------+-----------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Dictionary<class_Dictionary>` | :ref:`Dictionary<class_Dictionary_method_Dictionary>` **(** **)** |constructor| |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Dictionary<class_Dictionary>` | :ref:`Dictionary<class_Dictionary_method_Dictionary>` **(** :ref:`Dictionary<class_Dictionary>` from **)** |constructor| |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`clear<class_Dictionary_method_clear>` **(** **)** |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
@@ -268,37 +273,43 @@ Methods
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Array<class_Array>` | :ref:`keys<class_Dictionary_method_keys>` **(** **)** |const| |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | **operator !=** **(** **)** |operator| |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | **operator !=** **(** :ref:`Dictionary<class_Dictionary>` right **)** |operator| |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | **operator ==** **(** **)** |operator| |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | **operator ==** **(** :ref:`Dictionary<class_Dictionary>` right **)** |operator| |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Variant<class_Variant>` | **operator []** **(** :ref:`Variant<class_Variant>` key **)** |operator| |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`size<class_Dictionary_method_size>` **(** **)** |const| |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Array<class_Array>` | :ref:`values<class_Dictionary_method_values>` **(** **)** |const| |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Method Descriptions
|
||||
-------------------
|
||||
Operators
|
||||
---------
|
||||
|
||||
.. _class_Dictionary_method_Dictionary:
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`operator !=<class_Dictionary_operator_neq_bool>` **(** **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`operator !=<class_Dictionary_operator_neq_bool>` **(** :ref:`Dictionary<class_Dictionary>` right **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`operator ==<class_Dictionary_operator_eq_bool>` **(** **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`operator ==<class_Dictionary_operator_eq_bool>` **(** :ref:`Dictionary<class_Dictionary>` right **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Variant<class_Variant>` | :ref:`operator []<class_Dictionary_operator_idx_Variant>` **(** :ref:`Variant<class_Variant>` key **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
- :ref:`Dictionary<class_Dictionary>` **Dictionary** **(** **)** |constructor|
|
||||
Constructor Descriptions
|
||||
------------------------
|
||||
|
||||
.. _class_Dictionary_constructor_Dictionary:
|
||||
|
||||
- :ref:`Dictionary<class_Dictionary>` **Dictionary** **(** **)**
|
||||
|
||||
Constructs an empty ``Dictionary``.
|
||||
|
||||
----
|
||||
|
||||
- :ref:`Dictionary<class_Dictionary>` **Dictionary** **(** :ref:`Dictionary<class_Dictionary>` from **)** |constructor|
|
||||
- :ref:`Dictionary<class_Dictionary>` **Dictionary** **(** :ref:`Dictionary<class_Dictionary>` from **)**
|
||||
|
||||
Constructs a ``Dictionary`` as a copy of the given ``Dictionary``.
|
||||
|
||||
----
|
||||
Method Descriptions
|
||||
-------------------
|
||||
|
||||
.. _class_Dictionary_method_clear:
|
||||
|
||||
@@ -419,32 +430,6 @@ Returns the list of keys in the ``Dictionary``.
|
||||
|
||||
----
|
||||
|
||||
.. _class_Dictionary_method_operator !=:
|
||||
|
||||
- :ref:`bool<class_bool>` **operator !=** **(** **)** |operator|
|
||||
|
||||
----
|
||||
|
||||
- :ref:`bool<class_bool>` **operator !=** **(** :ref:`Dictionary<class_Dictionary>` right **)** |operator|
|
||||
|
||||
----
|
||||
|
||||
.. _class_Dictionary_method_operator ==:
|
||||
|
||||
- :ref:`bool<class_bool>` **operator ==** **(** **)** |operator|
|
||||
|
||||
----
|
||||
|
||||
- :ref:`bool<class_bool>` **operator ==** **(** :ref:`Dictionary<class_Dictionary>` right **)** |operator|
|
||||
|
||||
----
|
||||
|
||||
.. _class_Dictionary_method_operator []:
|
||||
|
||||
- :ref:`Variant<class_Variant>` **operator []** **(** :ref:`Variant<class_Variant>` key **)** |operator|
|
||||
|
||||
----
|
||||
|
||||
.. _class_Dictionary_method_size:
|
||||
|
||||
- :ref:`int<class_int>` **size** **(** **)** |const|
|
||||
@@ -459,6 +444,33 @@ Returns the number of keys in the dictionary.
|
||||
|
||||
Returns the list of values in the ``Dictionary``.
|
||||
|
||||
Operator Descriptions
|
||||
---------------------
|
||||
|
||||
.. _class_Dictionary_operator_neq_bool:
|
||||
|
||||
- :ref:`bool<class_bool>` **operator !=** **(** **)**
|
||||
|
||||
----
|
||||
|
||||
- :ref:`bool<class_bool>` **operator !=** **(** :ref:`Dictionary<class_Dictionary>` right **)**
|
||||
|
||||
----
|
||||
|
||||
.. _class_Dictionary_operator_eq_bool:
|
||||
|
||||
- :ref:`bool<class_bool>` **operator ==** **(** **)**
|
||||
|
||||
----
|
||||
|
||||
- :ref:`bool<class_bool>` **operator ==** **(** :ref:`Dictionary<class_Dictionary>` right **)**
|
||||
|
||||
----
|
||||
|
||||
.. _class_Dictionary_operator_idx_Variant:
|
||||
|
||||
- :ref:`Variant<class_Variant>` **operator []** **(** :ref:`Variant<class_Variant>` key **)**
|
||||
|
||||
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
|
||||
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
|
||||
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
|
||||
|
||||
Reference in New Issue
Block a user