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

Method get_script_property_list

compat/fake_csharp_script.cpp:596–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

594}
595
596void FakeCSharpScript::get_script_property_list(List<PropertyInfo> *p_list) const {
597 // TODO: Parse types, default values, etc.
598
599 for (const auto &E : members) {
600 p_list->push_back(E.value);
601 }
602 auto parent_script = get_base_script();
603 if (parent_script.is_valid()) {
604 parent_script->get_script_property_list(p_list);
605 }
606}
607
608int FakeCSharpScript::get_member_line(const StringName &p_member) const {
609 // For now, return -1 as we don't track line numbers

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.80
is_validMethod · 0.45

Tested by

no test coverage detected