aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic2/Types.hpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-04-18 19:49:37 +0200
committer Hop311 <hop3114@gmail.com>2023-04-18 19:49:37 +0200
commit1fdd198f943a41468b03b2cdc62c24147f707239 (patch)
treef53bdaad16e077957c7410a54f8638868d3f2351 /extension/src/openvic2/Types.hpp
parentf168c91ff266beda8066014257a30d93704882ee (diff)
Better province image + terrain + some buttons
Diffstat (limited to 'extension/src/openvic2/Types.hpp')
-rw-r--r--extension/src/openvic2/Types.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/extension/src/openvic2/Types.hpp b/extension/src/openvic2/Types.hpp
index 0fb1c8b..bf5ee27 100644
--- a/extension/src/openvic2/Types.hpp
+++ b/extension/src/openvic2/Types.hpp
@@ -1,7 +1,18 @@
#pragma once
+#include <string>
+
namespace OpenVic2 {
using return_t = bool;
// This mirrors godot::Error, where `OK = 0` and `FAILED = 1`.
static const return_t SUCCESS = false, FAILURE = true;
+
+ struct HasIdentifier {
+ private:
+ std::string identifier;
+ protected:
+ HasIdentifier(std::string const& new_identifier);
+ public:
+ std::string const& get_identifier() const;
+ };
}