diff options
Diffstat (limited to 'core/variant/dictionary.h')
-rw-r--r-- | core/variant/dictionary.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/variant/dictionary.h b/core/variant/dictionary.h index 16cf0c2bf8..2632893e8d 100644 --- a/core/variant/dictionary.h +++ b/core/variant/dictionary.h @@ -62,6 +62,7 @@ public: int size() const; bool is_empty() const; void clear(); + void merge(const Dictionary &p_dictionary, bool p_overwrite = false); bool has(const Variant &p_key) const; bool has_all(const Array &p_keys) const; @@ -84,6 +85,9 @@ public: Dictionary duplicate(bool p_deep = false) const; Dictionary recursive_duplicate(bool p_deep, int recursion_count) const; + void set_read_only(bool p_enable); + bool is_read_only() const; + const void *id() const; Dictionary(const Dictionary &p_from); |