This inventory system is designed for multiplayer games, supporting item stacking and synchronization between server and clients. Items are organized into slots, with a stack limit per slot. If the limit is reached, a new slot is occupied; if all slots are full, new items cannot be collected.
Item collection and consumption are managed on the server to ensure consistency. The system also allows for the definition of custom conditions for item collection. Replication is used to keep inventory synchronized between all players.
https://dev.epicgames.com/community/learning/tutorials/DPbx/unreal-engine-multiplayer-inventory-system