World content packs list

This commit is contained in:
MihailRis
2023-12-18 19:45:29 +03:00
parent 7f8935a93c
commit 082599e78c
8 changed files with 82 additions and 26 deletions
+2
View File
@@ -2,6 +2,7 @@
#define FILES_FILES_H_
#include <string>
#include <vector>
#include <filesystem>
#include "../typedefs.h"
@@ -17,6 +18,7 @@ namespace files {
extern std::string read_string(std::filesystem::path filename);
extern bool write_string(std::filesystem::path filename, const std::string content);
extern json::JObject* read_json(std::filesystem::path file);
extern std::vector<std::string> read_list(std::filesystem::path file);
}
#endif /* FILES_FILES_H_ */