mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
fix content control (#538)
* update ContentControl * feat: more debug logging * fix engine paths
This commit is contained in:
parent
af3c315c04
commit
215ae02fa9
7 changed files with 30 additions and 18 deletions
|
|
@ -40,8 +40,10 @@ public:
|
|||
|
||||
void loadContent();
|
||||
|
||||
std::vector<ContentPack>& getContentPacks();
|
||||
std::vector<ContentPack> getAllContentPacks();
|
||||
void setContentPacksRaw(std::vector<ContentPack>&& packs);
|
||||
|
||||
const std::vector<ContentPack>& getContentPacks() const;
|
||||
const std::vector<ContentPack>& getAllContentPacks() const;
|
||||
|
||||
PacksManager& scan();
|
||||
private:
|
||||
|
|
@ -52,4 +54,5 @@ private:
|
|||
std::vector<std::string> basePacks;
|
||||
std::unique_ptr<PacksManager> manager;
|
||||
std::vector<ContentPack> contentPacks;
|
||||
std::vector<ContentPack> allPacks; // includes 'core'
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue