.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/Dictionary.xml. .. _class_Dictionary: Dictionary ========== .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. note:: There are notable differences when using this API with C#. See :ref:`doc_c_sharp_differences` for more information. .. rst-class:: classref-reftable-group Constructors ------------ .. table:: :widths: auto +-------------------------------------+-----------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`Dictionary` **(** **)** | +-------------------------------------+-----------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`Dictionary` **(** :ref:`Dictionary` from **)** | +-------------------------------------+-----------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear` **(** **)** | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`duplicate` **(** :ref:`bool` deep=false **)** |const| | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`erase` **(** :ref:`Variant` key **)** | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Variant` | :ref:`find_key` **(** :ref:`Variant` value **)** |const| | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Variant` | :ref:`get` **(** :ref:`Variant` key, :ref:`Variant` default=null **)** |const| | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Variant` | :ref:`get_or_add` **(** :ref:`Variant` key, :ref:`Variant` default=null **)** | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`has` **(** :ref:`Variant` key **)** |const| | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`has_all` **(** :ref:`Array` keys **)** |const| | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`hash` **(** **)** |const| | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_empty` **(** **)** |const| | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_read_only` **(** **)** |const| | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`keys` **(** **)** |const| | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`make_read_only` **(** **)** | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`merge` **(** :ref:`Dictionary` dictionary, :ref:`bool` overwrite=false **)** | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`merged` **(** :ref:`Dictionary` dictionary, :ref:`bool` overwrite=false **)** |const| | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`recursive_equal` **(** :ref:`Dictionary` dictionary, :ref:`int` recursion_count **)** |const| | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`size` **(** **)** |const| | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`values` **(** **)** |const| | +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-reftable-group Operators --------- .. table:: :widths: auto +-------------------------------+--------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`operator !=` **(** :ref:`Dictionary` right **)** | +-------------------------------+--------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`operator ==` **(** :ref:`Dictionary` right **)** | +-------------------------------+--------------------------------------------------------------------------------------------------------------------+ | :ref:`Variant` | :ref:`operator []` **(** :ref:`Variant` key **)** | +-------------------------------+--------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Constructor Descriptions ------------------------ .. _class_Dictionary_constructor_Dictionary: .. rst-class:: classref-constructor :ref:`Dictionary` **Dictionary** **(** **)** .. container:: contribute There is currently no description for this constructor. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. rst-class:: classref-constructor :ref:`Dictionary` **Dictionary** **(** :ref:`Dictionary` from **)** .. container:: contribute There is currently no description for this constructor. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_Dictionary_method_clear: .. rst-class:: classref-method void **clear** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_duplicate: .. rst-class:: classref-method :ref:`Dictionary` **duplicate** **(** :ref:`bool` deep=false **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_erase: .. rst-class:: classref-method :ref:`bool` **erase** **(** :ref:`Variant` key **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_find_key: .. rst-class:: classref-method :ref:`Variant` **find_key** **(** :ref:`Variant` value **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_get: .. rst-class:: classref-method :ref:`Variant` **get** **(** :ref:`Variant` key, :ref:`Variant` default=null **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_get_or_add: .. rst-class:: classref-method :ref:`Variant` **get_or_add** **(** :ref:`Variant` key, :ref:`Variant` default=null **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_has: .. rst-class:: classref-method :ref:`bool` **has** **(** :ref:`Variant` key **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_has_all: .. rst-class:: classref-method :ref:`bool` **has_all** **(** :ref:`Array` keys **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_hash: .. rst-class:: classref-method :ref:`int` **hash** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_is_empty: .. rst-class:: classref-method :ref:`bool` **is_empty** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_is_read_only: .. rst-class:: classref-method :ref:`bool` **is_read_only** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_keys: .. rst-class:: classref-method :ref:`Array` **keys** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_make_read_only: .. rst-class:: classref-method void **make_read_only** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_merge: .. rst-class:: classref-method void **merge** **(** :ref:`Dictionary` dictionary, :ref:`bool` overwrite=false **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_merged: .. rst-class:: classref-method :ref:`Dictionary` **merged** **(** :ref:`Dictionary` dictionary, :ref:`bool` overwrite=false **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_recursive_equal: .. rst-class:: classref-method :ref:`bool` **recursive_equal** **(** :ref:`Dictionary` dictionary, :ref:`int` recursion_count **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_size: .. rst-class:: classref-method :ref:`int` **size** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_method_values: .. rst-class:: classref-method :ref:`Array` **values** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Operator Descriptions --------------------- .. _class_Dictionary_operator_neq_Dictionary: .. rst-class:: classref-operator :ref:`bool` **operator !=** **(** :ref:`Dictionary` right **)** .. container:: contribute There is currently no description for this operator. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_operator_eq_Dictionary: .. rst-class:: classref-operator :ref:`bool` **operator ==** **(** :ref:`Dictionary` right **)** .. container:: contribute There is currently no description for this operator. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Dictionary_operator_idx_Variant: .. rst-class:: classref-operator :ref:`Variant` **operator []** **(** :ref:`Variant` key **)** .. container:: contribute There is currently no description for this operator. Please help us by :ref:`contributing one `! .. |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.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`