mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
critical lua fixes
This commit is contained in:
parent
9d82e3416b
commit
086bcec9c2
9 changed files with 37 additions and 11 deletions
|
|
@ -19,6 +19,8 @@ class Inventory : Serializable {
|
|||
public:
|
||||
Inventory(int64_t id, size_t size);
|
||||
|
||||
Inventory(const Inventory& orig);
|
||||
|
||||
ItemStack& getSlot(size_t index);
|
||||
size_t findEmptySlot(size_t begin=0, size_t end=-1) const;
|
||||
size_t findSlotByItem(itemid_t id, size_t begin=0, size_t end=-1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue