mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
UiDocument
This commit is contained in:
parent
c902ed506b
commit
1dd0e9f939
17 changed files with 257 additions and 42 deletions
|
|
@ -18,6 +18,10 @@ class ContentIndices;
|
|||
class LevelFrontend;
|
||||
class Inventory;
|
||||
|
||||
namespace scripting {
|
||||
class Environment;
|
||||
}
|
||||
|
||||
using itemsharefunc = std::function<void(ItemStack&)>;
|
||||
using slotcallback = std::function<void(ItemStack&, ItemStack&)>;
|
||||
|
||||
|
|
@ -105,7 +109,8 @@ public:
|
|||
LevelFrontend* frontend,
|
||||
InventoryInteraction& interaction,
|
||||
const std::string& src,
|
||||
const std::string& file
|
||||
const std::string& file,
|
||||
const scripting::Environment& env
|
||||
);
|
||||
|
||||
static const int SLOT_INTERVAL = 4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue