aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/economy/Good.hpp
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-09-20 22:06:29 +0200
committer zaaarf <zaaarf@proton.me>2023-09-20 22:06:29 +0200
commit8a4e3e02f23fa1cf3e61f39fbdc8d3fc946a0473 (patch)
tree1f7abd648cd6819124fb28c309d3f973aff8ae23 /src/openvic-simulation/economy/Good.hpp
parent4550acf29bd3ce4ff9b9d14788de21d96a5ef90a (diff)
feat: added expect_goods_map function to GoodsManager
Diffstat (limited to 'src/openvic-simulation/economy/Good.hpp')
-rw-r--r--src/openvic-simulation/economy/Good.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openvic-simulation/economy/Good.hpp b/src/openvic-simulation/economy/Good.hpp
index 6c237b1..df92525 100644
--- a/src/openvic-simulation/economy/Good.hpp
+++ b/src/openvic-simulation/economy/Good.hpp
@@ -2,6 +2,7 @@
#include "openvic-simulation/dataloader/NodeTools.hpp"
#include "openvic-simulation/types/IdentifierRegistry.hpp"
+#include "openvic-dataloader/v2script/AbstractSyntaxTree.hpp"
namespace OpenVic {
struct GoodManager;
@@ -75,5 +76,7 @@ namespace OpenVic {
void reset_to_defaults();
bool load_goods_file(ast::NodeCPtr root);
+
+ NodeTools::node_callback_t expect_goods_map(NodeTools::callback_t<std::map<Good const*, fixed_point_t>> cb);
};
}