mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
feat: saving/loading resource entries
This commit is contained in:
parent
ca8652ffab
commit
45c4da048c
9 changed files with 63 additions and 8 deletions
|
|
@ -34,6 +34,8 @@ class World : Serializable {
|
|||
std::vector<ContentPack> packs;
|
||||
|
||||
int64_t nextInventoryId = 0;
|
||||
|
||||
void writeResources(const Content* content);
|
||||
public:
|
||||
std::unique_ptr<WorldFiles> wfile;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue