| 4 | #include <core/io/json.h> |
| 5 | |
| 6 | bool ResourceInfo::using_script_class() const { |
| 7 | return !script_class.is_empty(); |
| 8 | } |
| 9 | Ref<ResourceInfo> ResourceInfo::from_dict(const Dictionary &dict) { |
| 10 | Ref<ResourceInfo> ri = memnew(ResourceInfo); |
| 11 | ri->uid = dict.get("uid", ResourceUID::INVALID_ID); |
no outgoing calls
no test coverage detected