| 871 | } |
| 872 | |
| 873 | Array::Array(const Array &p_from, uint32_t p_type, const StringName &p_class_name, const Variant &p_script) { |
| 874 | _p = memnew(ArrayPrivate); |
| 875 | _p->refcount.init(); |
| 876 | set_typed(p_type, p_class_name, p_script); |
| 877 | assign(p_from); |
| 878 | } |
| 879 | |
| 880 | void Array::set_typed(const ContainerType &p_element_type) { |
| 881 | set_typed(p_element_type.builtin_type, p_element_type.class_name, p_element_type.script); |
no test coverage detected