aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/Checksum.hpp
blob: 532a50d5f64241a7ee0c23d197027234c4419db2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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();
   };
}