[Core] Expose ResourceLoader.get_resource_uid.

This commit is contained in:
Fabio Alessandrelli
2021-07-30 18:35:19 +02:00
parent 25fd4edd29
commit 9798d08ac2
3 changed files with 13 additions and 0 deletions

View File

@@ -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" />