diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-05-17 21:16:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 21:16:25 +0200 |
commit | f87e5c481d02f6b3000cd09c17444db93d12be2c (patch) | |
tree | 348ee39d1d0960830c045338cea6adb1096c89a4 /core/variant/array.h | |
parent | 4ee530e6ac7909ed45bd170e9535a17a41b51b67 (diff) | |
parent | 023b1d7f5a60b5833f7e2030fade6cc1cff54eba (diff) |
Merge pull request #61127 from vnen/read-only-array
Implement read-only arrays
Diffstat (limited to 'core/variant/array.h')
-rw-r--r-- | core/variant/array.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/variant/array.h b/core/variant/array.h index ab5f7cd50f..f537700f99 100644 --- a/core/variant/array.h +++ b/core/variant/array.h @@ -125,6 +125,10 @@ public: uint32_t get_typed_builtin() const; StringName get_typed_class_name() const; Variant get_typed_script() const; + + void set_read_only(bool p_enable); + bool is_read_only() const; + Array(const Array &p_from); Array(); ~Array(); |