blob: e69aa28879ad152290dd651984fabc05df8a707a (
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
25
26
27
28
|
#pragma once
#include "openvic-simulation/modifier/Modifier.hpp"
#include "openvic-simulation/types/IdentifierRegistry.hpp"
namespace OpenVic {
struct NationalValueManager;
struct NationalValue : Modifier {
friend struct NationalValueManager;
private:
NationalValue(std::string_view new_identifier, ModifierValue&& new_modifiers);
public:
NationalValue(NationalValue&&) = default;
};
struct NationalValueManager {
private:
IdentifierRegistry<NationalValue> IDENTIFIER_REGISTRY(national_value);
public:
bool add_national_value(std::string_view identifier, ModifierValue&& modifiers);
bool load_national_values_file(ModifierManager const& modifier_manager, ast::NodeCPtr root);
};
}
|