# Day 8 - Inventory System in C++ (Unreal Engine 5)

**URL:** <https://forums.unrealengine.com/t/day-8-inventory-system-in-c-unreal-engine-5/2848911>\
**Category:** C++\
**Tags:** unreal-engine, CPP\
**Created:** [November 2, 2026, 1:16pm UTC](https://forums.unrealengine.com/t/day-8-inventory-system-in-c-unreal-engine-5/2848911 "2026-11-02T13:16:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinpc\_1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kevinpc_1/32/1215238_2.png) [@kevinpc\_1](https://forums.unrealengine.com/u/kevinpc_1)\
**Post date:** [November 2, 2026, 1:16pm UTC](https://forums.unrealengine.com/t/day-8-inventory-system-in-c-unreal-engine-5/2848911/1 "2026-11-02T13:16:07Z")

</div>

Hello everyone,

I’ve just completed Day 8 of my Unreal Engine 5 Gameplay Engineer journey.

Today I implemented my first Inventory System completely in C++.

Features implemented:

✅ USTRUCT Inventory Item  
✅ TArray Inventory  
✅ AddItem Function  
✅ Collectible Integration  
✅ Item Storage  
✅ Score System  
✅ Gameplay Programming in C++

Current functionality:

• Collect items  
• Store items in an inventory  
• Increase score  
• Remove collectibles from the world  
• Track inventory size

Example output:

Added Item: Coin  
Inventory Size: 1  
Score: 1

Added Item: Coin  
Inventory Size: 2  
Score: 2

Current project systems:

🎮 Day 1 - First C++ Actor  
🎮 Day 2 - Character Movement  
🎮 Day 3 - Health System  
🎮 Day 4 - Sprint System  
🎮 Day 5 - Double Jump  
🎮 Day 6 - Interaction System  
🎮 Day 7 - Collectible Items System  
🎮 Day 8 - Inventory System

Video:Day 8:[https://youtu.be/D0CGl3eqMWI](https://youtu.be/D0CGl3eqMWI)

I’m building every gameplay system from scratch using Unreal Engine 5 and C++ while documenting my journey to become a Gameplay Engineer.

Any feedback, suggestions, or code review comments are welcome.

Thank you!
