lua: inventory library

This commit is contained in:
MihailRis
2024-02-12 13:56:46 +03:00
parent 617017d979
commit e16f7567b1
14 changed files with 257 additions and 44 deletions
+1 -1
View File
@@ -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) {