Download

[Programming] Inventory and items system

I’m working on the inventory and items system based on C++.

Scheme:
50cca9645e196489601cab0621a1921ca0488629.png

Features:

  • Each ItemBase has it’s own ItemData;
  • ItemData receives data from the SQLite database (how to use SQLite);
  • Easy to use.

How it works:

  • To add item on your level all you have to do is to place ItemBase on your level and set it’s ID.
    Based on the selected ID ItemData will receive data from the database.

Preview:

To create and edit the database I use DB Browser for SQLite](http://sqlitebrowser.org)

your better off to use a ustruct to hold you itemdata. then you can net replicate your inventory via a TArray of itemdata. you will have garbage collection issues and no net replication using UObject

Thank you for your idea, I have changed it to ustruct.