Overview
Inventory Component is used by player character to store all kind of items.
All items are created as Data Asset objects.
Item_Base is base class from which all items should be created.
It contains all informations about item kept as struct variable F_Item.
Items in inventory are stored as array of F_StoredItem structs.
This struct is wrapper of Data Asset object Item_Base which adds extra info like amount and ID.
Item IDs are used to allow storing same items that doesn't stack in Inventory.
They are generated automaticaly by Inventory Component on game start.
This means that on adding new starting items to Inventory array, we only need to set Item object and Amount.
To modify Inventory in runtime we can use these functions