mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
lua: inventory library
This commit is contained in:
parent
617017d979
commit
e16f7567b1
14 changed files with 257 additions and 44 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "../content/ContentLUT.h"
|
||||
|
||||
Inventory::Inventory(uint id, size_t size) : id(id), slots(size) {
|
||||
Inventory::Inventory(int64_t id, size_t size) : id(id), slots(size) {
|
||||
}
|
||||
|
||||
ItemStack& Inventory::getSlot(size_t index) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue