summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-07-30 18:35:19 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-08-09 16:26:56 +0200
commit9798d08ac2abcfcef79b3dd3cbae8d7c283c58d7 (patch)
tree7917bb7c85dfcd53823d1e19d081631b63b8b442 /doc/classes
parent25fd4edd2922e026976a20c495984c7c32ea8b5d (diff)
[Core] Expose ResourceLoader.get_resource_uid.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/ResourceLoader.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/ResourceLoader.xml b/doc/classes/ResourceLoader.xml
index 3a3ce189d5..81e825194b 100644
--- a/doc/classes/ResourceLoader.xml
+++ b/doc/classes/ResourceLoader.xml
@@ -34,6 +34,13 @@
Returns the list of recognized extensions for a resource type.
</description>
</method>
+ <method name="get_resource_uid">
+ <return type="int" />
+ <argument index="0" name="path" type="String" />
+ <description>
+ Returns the ID associated with a given resource path, or [code]-1[/code] when no such ID exists.
+ </description>
+ </method>
<method name="has_cached">
<return type="bool" />
<argument index="0" name="path" type="String" />