summaryrefslogtreecommitdiffstats
path: root/core/bind/core_bind.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-08-10 15:57:43 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-08-10 15:57:43 -0300
commit852378109fa701101c851c789cc5306298d2a636 (patch)
tree7fd2fa87c5d954a8370aac88a458918d248f931f /core/bind/core_bind.h
parent767fb2fa0ba14ee6afb4eeeaad12e5dee944547b (diff)
downloadredot-engine-852378109fa701101c851c789cc5306298d2a636.tar.gz
Added function ResourceLoader.exists(), to check if a resource exists. Closes #19140
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r--core/bind/core_bind.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h
index 1729c23779..8327149f49 100644
--- a/core/bind/core_bind.h
+++ b/core/bind/core_bind.h
@@ -55,7 +55,8 @@ public:
PoolVector<String> get_recognized_extensions_for_type(const String &p_type);
void set_abort_on_missing_resources(bool p_abort);
PoolStringArray get_dependencies(const String &p_path);
- bool has(const String &p_path);
+ bool has_cached(const String &p_path);
+ bool exists(const String &p_path, const String &p_type_hint = "");
_ResourceLoader();
};