| 75 | } |
| 76 | |
| 77 | bool 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); |
| 79 | return static_get(p_self, p_info, index, r_data); |
| 80 | } |
| 81 | |
| 82 | bool DynamicComponentInfo::static_set(void *p_self, const DynamicComponentInfo *p_info, const uint32_t p_index, const Variant &p_data) { |
| 83 | ERR_FAIL_COND_V_MSG(p_index >= p_info->properties.size(), false, "You can't set this data to this VariantComponent."); |
nothing calls this directly
no test coverage detected