Appearance
C++ documentation
Rocket Inventory Core is a modular inventory framework for Unreal Engine. Definition assets describe configuration; replicated runtime objects hold the inventory. C++ components provide placement, stacks, nested containers, prediction, quick slots, and persistence.
This guide covers the 1.0 API. Examples use public headers and belong in your game's module. Asset names such as ID_Ammo and CD_Main are examples you create in your project.
Start here
- Installation and dependencies.
- First inventory in C++.
- Definitions, instances, and ownership.
- Items, containers, and operations.
- Replication and prediction.
- Saving and restoring inventories.
For custom behavior, use Extension points. For entry points and includes, use the API reference and Class directory.
Features
- Fixed grids with rectangular or custom footprints and quarter-turn rotation.
- Single-item slots, filters, stacks, and inventories inside items.
- Prediction for owned and observed inventories, such as chests.
- Swap-buffer and relocation strategies.
- Magazine loading and unloading.
- Quick-slot references that track item ownership.
- Recursive save data with native Unreal serialization.
- Interaction discovery, input tracking, and an optional gamepad cursor.
- Cached visual resolvers, runtime 3D previews, and asset editors.
Your game's integration
Your game chooses inventory owners, creates definitions, binds input, supplies widgets and world-item actors, and decides who may access each inventory. Adding a manager alone does not populate containers or create a player UI.
Use authoritative code for gameplay changes and the predicted component for local interaction. A local operation result describes prediction; replicated server state remains the final state.
Modules
RocketInventoryCore supplies inventory logic. Add RicInteraction for world interaction, RicInput for UI input support, and RicPreview for rendered previews. RicEditor supplies authoring tools and belongs only to editor targets.