mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
World content packs list
This commit is contained in:
parent
7f8935a93c
commit
082599e78c
8 changed files with 82 additions and 26 deletions
|
|
@ -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_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue