diff options
author | Hop311 <Hop3114@gmail.com> | 2024-07-28 00:25:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-28 00:25:05 +0200 |
commit | bf4d061b06374cd696f1f1644548f4d7af86f5ec (patch) | |
tree | 9ab24e79d47c2c56dfd68ebf89e419d30324c92c /extension/src/openvic-extension/classes/GUINode.hpp | |
parent | 0300a10ed7839710750b3937307c1f6c11c7bd75 (diff) | |
parent | 164db4eb8f24e87755e02bae0e539f4f266e15b9 (diff) |
Merge pull request #245 from OpenVicProject/free-on-remove
Free removed child nodes
Diffstat (limited to 'extension/src/openvic-extension/classes/GUINode.hpp')
-rw-r--r-- | extension/src/openvic-extension/classes/GUINode.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/classes/GUINode.hpp b/extension/src/openvic-extension/classes/GUINode.hpp index af1562e..27ce780 100644 --- a/extension/src/openvic-extension/classes/GUINode.hpp +++ b/extension/src/openvic-extension/classes/GUINode.hpp @@ -82,6 +82,9 @@ namespace OpenVic { godot::Error hide_node(godot::NodePath const& path) const; godot::Error hide_nodes(godot::TypedArray<godot::NodePath> const& paths) const; + godot::Error remove_node(godot::NodePath const& path) const; + godot::Error remove_nodes(godot::TypedArray<godot::NodePath> const& paths) const; + static godot::String int_to_string_suffixed(int64_t val); static godot::String float_to_string_suffixed(float val); static godot::String float_to_string_dp(float val, int32_t decimal_places); |