mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #107989 from Jojo-1000/docs-add-required-qualifier
Documentation: Add missing required qualifier for various classes
This commit is contained in:
commit
9b96eaaf80
15 changed files with 42 additions and 65 deletions
|
|
@ -174,7 +174,7 @@ Ref<Resource> ResourceFormatLoader::load(const String &p_path, const String &p_o
|
|||
}
|
||||
}
|
||||
|
||||
ERR_FAIL_V_MSG(Ref<Resource>(), vformat("Failed to load resource '%s'. ResourceFormatLoader::load was not implemented for this resource type.", p_path));
|
||||
return Ref<Resource>();
|
||||
}
|
||||
|
||||
void ResourceFormatLoader::get_dependencies(const String &p_path, List<String> *p_dependencies, bool p_add_types) {
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ protected:
|
|||
GDVIRTUAL2RC(Error, _rename_dependencies, String, Dictionary)
|
||||
GDVIRTUAL1RC(bool, _exists, String)
|
||||
|
||||
GDVIRTUAL4RC(Variant, _load, String, String, bool, int)
|
||||
GDVIRTUAL4RC_REQUIRED(Variant, _load, String, String, bool, int)
|
||||
|
||||
public:
|
||||
virtual Ref<Resource> load(const String &p_path, const String &p_original_path = "", Error *r_error = nullptr, bool p_use_sub_threads = false, float *r_progress = nullptr, CacheMode p_cache_mode = CACHE_MODE_REUSE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue