Sync classref with current source

This commit is contained in:
Rémi Verschelde
2019-10-29 12:48:46 +01:00
parent bbc6682099
commit a72184300f
449 changed files with 14004 additions and 232 deletions

View File

@@ -51,30 +51,40 @@ Method Descriptions
Adds a resource to the preloader with the given ``name``. If a resource with the given ``name`` already exists, the new resource will be renamed to "``name`` N" where N is an incrementing number starting from 2.
----
.. _class_ResourcePreloader_method_get_resource:
- :ref:`Resource<class_Resource>` **get_resource** **(** :ref:`String<class_String>` name **)** const
Returns the resource associated to ``name``.
----
.. _class_ResourcePreloader_method_get_resource_list:
- :ref:`PoolStringArray<class_PoolStringArray>` **get_resource_list** **(** **)** const
Returns the list of resources inside the preloader.
----
.. _class_ResourcePreloader_method_has_resource:
- :ref:`bool<class_bool>` **has_resource** **(** :ref:`String<class_String>` name **)** const
Returns ``true`` if the preloader contains a resource associated to ``name``.
----
.. _class_ResourcePreloader_method_remove_resource:
- void **remove_resource** **(** :ref:`String<class_String>` name **)**
Removes the resource associated to ``name`` from the preloader.
----
.. _class_ResourcePreloader_method_rename_resource:
- void **rename_resource** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` newname **)**