MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / debug_get_static_var_by_index

Method debug_get_static_var_by_index

modules/gdscript/gdscript.cpp:1181–1189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1179}
1180
1181StringName GDScript::debug_get_static_var_by_index(int p_idx) const {
1182 for (const KeyValue<StringName, MemberInfo> &E : static_variables_indices) {
1183 if (E.value.index == p_idx) {
1184 return E.key;
1185 }
1186 }
1187
1188 return "<error>";
1189}
1190
1191Ref<GDScript> GDScript::get_base() const {
1192 return base;

Callers 1

disassembleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected