summaryrefslogtreecommitdiffhomepage
path: root/serialize/wall-atlas.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-11-08 07:53:01 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-11-08 07:53:01 +0100
commitbfefeca5d59f26fb2b7b605d9dc7dbdead1a8ec4 (patch)
treeafb5586743af4902bd1b1daca4e648c236e275a8 /serialize/wall-atlas.hpp
parente81718fa2b2fae048161742bb81f8a76daf0436f (diff)
a
Diffstat (limited to 'serialize/wall-atlas.hpp')
-rw-r--r--serialize/wall-atlas.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/serialize/wall-atlas.hpp b/serialize/wall-atlas.hpp
index 16c43ab6..6c50da6b 100644
--- a/serialize/wall-atlas.hpp
+++ b/serialize/wall-atlas.hpp
@@ -18,10 +18,12 @@ namespace floormat::Wall::detail {
uint8_t direction_index_from_name(StringView s);
StringView direction_index_to_name(size_t i);
+
[[nodiscard]] Group read_group_metadata(const nlohmann::json& jgroup);
[[nodiscard]] Direction read_direction_metadata(const nlohmann::json& jroot, Direction_ dir);
Info read_info_header(const nlohmann::json& jroot);
void write_group_metadata(nlohmann::json& jgroup, const Group& val);
+void write_info_header(nlohmann::json& jroot, const Info& info);
} // namespace floormat::Wall::detail