InventoryComponent
(UActorComponent)
(UActorComponent)
The InventoryComponent provides a component that can be attached to any actor to add inventory system functionality. The properties of the component get applied to the Inventory it controls.
NOTE: The Inventory this component will use must be instantiated manually by calling LoadInventory(). This allows the InventoryComponent to be used but only loads the Inventory and InventoryItems when needed.
Tags that control what items are allowed to be added to the Inventory.
The unique identifier used to saving and loading.
The Inventory derived class that this InventoryComponent will use.
Call this function to instantiate the Inventory class of the InventoryComponent.