mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
content-pack id validation + refactor
This commit is contained in:
parent
ba4338c4fa
commit
b7fbb8621a
10 changed files with 111 additions and 53 deletions
|
|
@ -32,6 +32,7 @@ struct ContentPack {
|
|||
static const std::string CONTENT_FILENAME;
|
||||
static const std::filesystem::path BLOCKS_FOLDER;
|
||||
static const std::filesystem::path ITEMS_FOLDER;
|
||||
static const std::vector<std::string> RESERVED_NAMES;
|
||||
|
||||
static bool is_pack(std::filesystem::path folder);
|
||||
static ContentPack read(std::filesystem::path folder);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue