| 2871 | } |
| 2872 | |
| 2873 | Ref<ResourceInfo> ResourceLoaderCompatText::get_resource_info() { |
| 2874 | Ref<ResourceInfo> info; |
| 2875 | info.instantiate(); |
| 2876 | _set_main_resource_info(info); |
| 2877 | return info; |
| 2878 | } |
| 2879 | |
| 2880 | Ref<Resource> ResourceFormatLoaderCompatText::custom_load(const String &p_path, const String &p_original_path, ResourceInfo::LoadType p_load_type, Error *r_error, bool use_threads, ResourceFormatLoader::CacheMode p_cache_mode) { |
| 2881 | if (r_error) { |
nothing calls this directly
no test coverage detected