How to add items to inventory component? (C++ or Blueprint)

Sorry for the late reply I’ve been trying to wrap my head around this, I was under the impression that the menu was the inventory, but I suppose not. I was trying to get in the inventory component like you showed me but it turns out I have it set up in c++ not blueprint(So I don’t think I can edit this in BP or else it’ll mess something up but I’m not 100% sure, I also tried turning the class into blueprint but I got some errors).


So I think that’s why I’ve been kind of confused, do you know how I would go about doing this in c++ instead?

This is also the video I followed to make the inventory, idk if this will help. https://www.youtube.com/watch?v=-WNwo-riV1Y&t=1664s&ab_channel=reubs