🎒Item Struct (FItem)
Overview
A lightweight container representing an item in the inventory, including stack count and reference to its definition.
Key Methods:
IsValid(): Checks if the item is valid.CanStack(): Returns true if the stack isn't full.GetStackSpace(): How many more items can be stacked.AddQuantity(uint8 Amount): Adds to the stack, returns remainder.RemoveQuantity(uint8 Amount): Removes from the stack, returns actual amount removed.
Last updated