Inventory/Weapon Items Set up. Best practice/idea?

Yeah thats how I have it set up currently. My issue is when it comes to the inventory system M416 BP is a different class to Key Item class so when making the array for the inventory each slot has to be generic and accept any class. But I don’t see a generic class variable for that.