MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / get

Method get

compat/fake_script.cpp:244–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244bool FakeScriptInstance::get(const StringName &p_name, Variant &r_ret) const {
245 if (!properties.has(p_name)) {
246 if (!is_fake_embedded && has_cached_prop_name(p_name)) {
247 r_ret = Variant();
248 return true;
249 }
250 return false;
251 }
252 r_ret = properties[p_name];
253 return true;
254}
255
256void FakeScriptInstance::get_property_list(List<PropertyInfo> *p_properties) const {
257 for (const auto &E : _cached_prop_info) {

Callers 15

_get_dependenciesMethod · 0.45
get_resource_nameMethod · 0.45
loadMethod · 0.45
_find_resourcesMethod · 0.45
save_to_fileMethod · 0.45
scan_variantFunction · 0.45
loadMethod · 0.45
_find_resourcesMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_exported_projectMethod · 0.36