aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/Checksum.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2023-11-08 23:24:21 +0100
committer hop311 <hop3114@gmail.com>2023-11-16 00:24:28 +0100
commitbc0b3c61ae0b742da304cada451fba1df72bb0ad (patch)
tree047968e7ea8189ad8391dcabbd09fee1d8cdc30c /extension/src/openvic-extension/singletons/Checksum.hpp
parent72d893d55d26ae9dc6739a853d1773b3cb286123 (diff)
GUI elements -> Godot UI nodes generator
Diffstat (limited to 'extension/src/openvic-extension/singletons/Checksum.hpp')
-rw-r--r--extension/src/openvic-extension/singletons/Checksum.hpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/singletons/Checksum.hpp b/extension/src/openvic-extension/singletons/Checksum.hpp
new file mode 100644
index 0000000..532a50d
--- /dev/null
+++ b/extension/src/openvic-extension/singletons/Checksum.hpp
@@ -0,0 +1,24 @@
+#pragma once
+
+#include <godot_cpp/core/class_db.hpp>
+#include <godot_cpp/core/object.hpp>
+#include <godot_cpp/variant/string.hpp>
+
+namespace OpenVic {
+ class Checksum : public godot::Object {
+ GDCLASS(Checksum, godot::Object)
+
+ static inline Checksum* _singleton = nullptr;
+
+ protected:
+ static void _bind_methods();
+
+ public:
+ static Checksum* get_singleton();
+
+ Checksum();
+ ~Checksum();
+
+ godot::String get_checksum_text();
+ };
+}