Initial fixes for ContainerSetSlotPacket and CraftItemPacket (#649)

This commit is contained in:
Kevin
2026-03-05 21:20:40 -06:00
committed by GitHub
parent 0c2e27cae7
commit d22ab815e3
3 changed files with 36 additions and 3 deletions

View File

@@ -68,6 +68,7 @@ public:
shared_ptr<ItemInstance> getResourceItem(int type,int iAuxVal);
bool hasResource(int type);
int countResource(int type, int auxVal);
void swapSlots(int from, int to);
bool add(shared_ptr<ItemInstance> item);
shared_ptr<ItemInstance> removeItem(unsigned int slot, int count);