add block.reload_script, item.reload_script
This commit is contained in:
@@ -484,6 +484,10 @@ const Content* Engine::getContent() const {
|
||||
return content.get();
|
||||
}
|
||||
|
||||
Content* Engine::getWriteableContent() {
|
||||
return content.get();
|
||||
}
|
||||
|
||||
std::vector<ContentPack> Engine::getAllContentPacks() {
|
||||
auto packs = getContentPacks();
|
||||
packs.insert(packs.begin(), ContentPack::createCore(paths));
|
||||
|
||||
@@ -151,6 +151,8 @@ public:
|
||||
/// @brief Get current Content instance
|
||||
const Content* getContent() const;
|
||||
|
||||
Content* getWriteableContent();
|
||||
|
||||
/// @brief Get selected content packs
|
||||
std::vector<ContentPack>& getContentPacks();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user