diff options
Diffstat (limited to 'extension/src/Checksum.hpp')
-rw-r--r-- | extension/src/Checksum.hpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/extension/src/Checksum.hpp b/extension/src/Checksum.hpp deleted file mode 100644 index b12a9cd..0000000 --- a/extension/src/Checksum.hpp +++ /dev/null @@ -1,37 +0,0 @@ -#pragma once - -#include <godot_cpp/core/class_db.hpp> - -namespace OpenVic { - class Checksum : public godot::Object { - GDCLASS(Checksum, godot::Object) - - // BEGIN BOILERPLATE - inline static Checksum* _checksum = nullptr; - - protected: - static void _bind_methods() { - godot::ClassDB::bind_method(godot::D_METHOD("get_checksum_text"), &Checksum::get_checksum_text); - } - - public: - inline static Checksum* get_singleton() { return _checksum; } - - inline Checksum() { - ERR_FAIL_COND(_checksum != nullptr); - _checksum = this; - } - inline ~Checksum() { - ERR_FAIL_COND(_checksum != this); - _checksum = nullptr; - } - // END BOILERPLATE - - /* REQUIREMENTS: - * DAT-8 - */ - inline godot::String get_checksum_text() { - return godot::String("1234abcd"); - } - }; -} |