From 8a4e3e02f23fa1cf3e61f39fbdc8d3fc946a0473 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Wed, 20 Sep 2023 22:06:29 +0200 Subject: feat: added expect_goods_map function to GoodsManager --- src/openvic-simulation/economy/Good.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/openvic-simulation/economy/Good.hpp') 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> cb); }; } -- cgit v1.2.3-56-ga3b1