MCPcopy Create free account
hub / github.com/GodotECS/godex / static_set

Method static_set

components/dynamic_component.cpp:72–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72bool DynamicComponentInfo::static_set(void *p_self, const DynamicComponentInfo *p_info, const StringName &p_name, const Variant &p_data) {
73 const uint32_t index = p_info->get_property_id(p_name);
74 return static_set(p_self, p_info, index, p_data);
75}
76
77bool DynamicComponentInfo::static_get(const void *p_self, const DynamicComponentInfo *p_info, const StringName &p_name, Variant &r_data) {
78 const uint32_t index = p_info->get_property_id(p_name);

Callers

nothing calls this directly

Calls 2

get_property_idMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected