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

Method get_all_strings_in_module

utility/godot_mono_decomp_wrapper.cpp:210–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210Vector<String> GodotMonoDecompWrapper::get_all_strings_in_module() {
211 ERR_FAIL_COND_V_MSG(decompilerHandle == nullptr, Vector<String>(), "Decompiler handle is null");
212 int num_strings = 0;
213 char32_t **strings = GodotMonoDecomp_GetAllUtf32StringsInModule(decompilerHandle, &num_strings);
214 Vector<String> strings_strs;
215 for (int i = 0; i < num_strings; i++) {
216 strings_strs.push_back(String(strings[i]));
217 }
218 GodotMonoDecomp_FreeArray((void *)strings, num_strings);
219 return strings_strs;
220}
221
222Dictionary GodotMonoDecompWrapper::get_language_versions() {
223 int num_versions = 0;

Callers 1

_do_string_loadMethod · 0.80

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected