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

Method get_script_property_list

compat/fake_gdscript.cpp:287–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287void FakeGDScript::get_script_property_list(List<PropertyInfo> *p_list) const {
288 // TODO: Parse types, default values, etc.
289 for (const auto &E : export_vars) {
290 p_list->push_back(PropertyInfo(Variant::NIL, E));
291 }
292 auto parent_script = get_base_script();
293 if (parent_script.is_valid()) {
294 parent_script->get_script_property_list(p_list);
295 }
296}
297
298int FakeGDScript::get_member_line(const StringName &p_member) const {
299 return -1;

Callers 1

Calls 3

PropertyInfoClass · 0.85
push_backMethod · 0.80
is_validMethod · 0.45

Tested by

no test coverage detected