:github_url: hide .. 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/doc/classes/ResourceUID.xml. .. _class_ResourceUID: ResourceUID =========== **Inherits:** :ref:`Object` Methods ------- +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_id` **(** :ref:`int` id, :ref:`String` path **)** | +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`create_id` **(** **)** | +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_id_path` **(** :ref:`int` id **)** |const| | +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`has_id` **(** :ref:`int` id **)** |const| | +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`id_to_text` **(** :ref:`int` id **)** |const| | +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+ | void | :ref:`remove_id` **(** :ref:`int` id **)** | +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_id` **(** :ref:`int` id, :ref:`String` path **)** | +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`text_to_id` **(** :ref:`String` text_id **)** |const| | +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+ Constants --------- .. _class_ResourceUID_constant_INVALID_ID: - **INVALID_ID** = **-1** Method Descriptions ------------------- .. _class_ResourceUID_method_add_id: - void **add_id** **(** :ref:`int` id, :ref:`String` path **)** ---- .. _class_ResourceUID_method_create_id: - :ref:`int` **create_id** **(** **)** ---- .. _class_ResourceUID_method_get_id_path: - :ref:`String` **get_id_path** **(** :ref:`int` id **)** |const| ---- .. _class_ResourceUID_method_has_id: - :ref:`bool` **has_id** **(** :ref:`int` id **)** |const| ---- .. _class_ResourceUID_method_id_to_text: - :ref:`String` **id_to_text** **(** :ref:`int` id **)** |const| ---- .. _class_ResourceUID_method_remove_id: - void **remove_id** **(** :ref:`int` id **)** ---- .. _class_ResourceUID_method_set_id: - void **set_id** **(** :ref:`int` id, :ref:`String` path **)** ---- .. _class_ResourceUID_method_text_to_id: - :ref:`int` **text_to_id** **(** :ref:`String` text_id **)** |const| .. |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.)`