class_resourceuid.rst 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ResourceUID.xml.
  6. .. _class_ResourceUID:
  7. ResourceUID
  8. ===========
  9. **Inherits:** :ref:`Object<class_Object>`
  10. Methods
  11. -------
  12. +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+
  13. | void | :ref:`add_id<class_ResourceUID_method_add_id>` **(** :ref:`int<class_int>` id, :ref:`String<class_String>` path **)** |
  14. +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`int<class_int>` | :ref:`create_id<class_ResourceUID_method_create_id>` **(** **)** |
  16. +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+
  17. | :ref:`String<class_String>` | :ref:`get_id_path<class_ResourceUID_method_get_id_path>` **(** :ref:`int<class_int>` id **)** |const| |
  18. +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+
  19. | :ref:`bool<class_bool>` | :ref:`has_id<class_ResourceUID_method_has_id>` **(** :ref:`int<class_int>` id **)** |const| |
  20. +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+
  21. | :ref:`String<class_String>` | :ref:`id_to_text<class_ResourceUID_method_id_to_text>` **(** :ref:`int<class_int>` id **)** |const| |
  22. +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+
  23. | void | :ref:`remove_id<class_ResourceUID_method_remove_id>` **(** :ref:`int<class_int>` id **)** |
  24. +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+
  25. | void | :ref:`set_id<class_ResourceUID_method_set_id>` **(** :ref:`int<class_int>` id, :ref:`String<class_String>` path **)** |
  26. +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+
  27. | :ref:`int<class_int>` | :ref:`text_to_id<class_ResourceUID_method_text_to_id>` **(** :ref:`String<class_String>` text_id **)** |const| |
  28. +-----------------------------+-----------------------------------------------------------------------------------------------------------------------+
  29. Constants
  30. ---------
  31. .. _class_ResourceUID_constant_INVALID_ID:
  32. - **INVALID_ID** = **-1**
  33. Method Descriptions
  34. -------------------
  35. .. _class_ResourceUID_method_add_id:
  36. - void **add_id** **(** :ref:`int<class_int>` id, :ref:`String<class_String>` path **)**
  37. ----
  38. .. _class_ResourceUID_method_create_id:
  39. - :ref:`int<class_int>` **create_id** **(** **)**
  40. ----
  41. .. _class_ResourceUID_method_get_id_path:
  42. - :ref:`String<class_String>` **get_id_path** **(** :ref:`int<class_int>` id **)** |const|
  43. ----
  44. .. _class_ResourceUID_method_has_id:
  45. - :ref:`bool<class_bool>` **has_id** **(** :ref:`int<class_int>` id **)** |const|
  46. ----
  47. .. _class_ResourceUID_method_id_to_text:
  48. - :ref:`String<class_String>` **id_to_text** **(** :ref:`int<class_int>` id **)** |const|
  49. ----
  50. .. _class_ResourceUID_method_remove_id:
  51. - void **remove_id** **(** :ref:`int<class_int>` id **)**
  52. ----
  53. .. _class_ResourceUID_method_set_id:
  54. - void **set_id** **(** :ref:`int<class_int>` id, :ref:`String<class_String>` path **)**
  55. ----
  56. .. _class_ResourceUID_method_text_to_id:
  57. - :ref:`int<class_int>` **text_to_id** **(** :ref:`String<class_String>` text_id **)** |const|
  58. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  59. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  60. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  61. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  62. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  63. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`