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

Function dict_to_property_info

compat/fake_csharp_script.cpp:321–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321PropertyInfo dict_to_property_info(const Dictionary &p_dict) {
322 PropertyInfo info = get_pi_from_type(p_dict.get("type", "void"), p_dict.get("name", ""));
323 info.hint = string_to_property_hint(p_dict.get("property_hint", "NONE"));
324 info.hint_string = p_dict.get("property_hint_string", "");
325 return info;
326}
327
328String replace_variant_constants(const String &p_string) {
329 String new_string = p_string;

Callers 1

reloadMethod · 0.85

Calls 3

get_pi_from_typeFunction · 0.85
string_to_property_hintFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected