diff options
Diffstat (limited to 'tools/util/ids_yaml_format.h')
| -rw-r--r-- | tools/util/ids_yaml_format.h | 16 |
1 files changed, 16 insertions, 0 deletions
| diff --git a/tools/util/ids_yaml_format.h b/tools/util/ids_yaml_format.h new file mode 100644 index 0000000..d926369 --- /dev/null +++ b/tools/util/ids_yaml_format.h | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | #ifndef TOOLS_UTIL_IDS_YAML_FORMAT_H_ | ||
| 2 | #define TOOLS_UTIL_IDS_YAML_FORMAT_H_ | ||
| 3 | |||
| 4 | #include <string> | ||
| 5 | |||
| 6 | #include "proto/human.pb.h" | ||
| 7 | |||
| 8 | namespace com::fourisland::lingo2_archipelago { | ||
| 9 | |||
| 10 | IdMappings ReadIdsFromYaml(const std::string& filename); | ||
| 11 | |||
| 12 | void WriteIdsAsYaml(const IdMappings& ids, const std::string& filename); | ||
| 13 | |||
| 14 | } // namespace com::fourisland::lingo2_archipelago | ||
| 15 | |||
| 16 | #endif /* TOOLS_UTIL_IDS_YAML_FORMAT_H_ */ | ||
