LimenInteraction Module
Subsystem Breakdown
Inventory Management
Class Name | Role |
|---|---|
Manages a grid-based inventory system for managing items in Unreal Engine 5. | |
FGridItemDefinition | Represents the definition of an item in a grid, including its class, size, icon, and stacking properties. |
SLimenGridInventory | A Slate widget for displaying and interacting with a grid-based inventory system. |
A widget for managing and displaying inventory items in the game. | |
FItemRegistry | A struct used to store item class and its instances. |
This interface defines the contract for inventory items in the LimenInteraction plugin, providing methods to retrieve item details and actions. |
Interaction Handling
Class Name | Role |
|---|---|
A component that handles interaction logic for interactable objects in the game world. | |
A component that manages and broadcasts interaction prompts for interactable objects. | |
A component that performs line trace interactions to detect and interact with interactable objects. | |
A component for handling physics-based interactions in the Limen framework. | |
Manages proximity-based interactions with interactable components. |
Item Management
Class Name | Role |
|---|---|
Base class for items that do not have a physical representation after being picked up, for example, an health potion. Not suitable for items like weapons. | |
Base class for items that have a physical representation after being picked up, for example, a weapon. Not suitable for items like health potions, notes, etc. | |
This class defines an interface for holdable items in the LimenInteraction plugin. | |
Manages the holding and releasing of items by actors in a replicated manner. | |
A subclass of | |
A subclass of |
Logging and Macros
Class Name | Role |
|---|---|
Defines log categories for the Limen Interaction module. |
Design Philosophy
The LimenInteraction module is designed to provide a comprehensive system for handling interactions, inventory management, and item actions within Unreal Engine 5 games. It aims to simplify the process of adding interactive elements and managing player inventories by providing a set of reusable components and widgets.
Recommended Integration
Developers can integrate this system into their projects by adding the necessary components and widgets to their actors and UIs. The module supports both physical and non-physical items, making it versatile for various game mechanics. By leveraging the provided interfaces and macros, developers can easily extend the functionality of the inventory and interaction systems to meet specific game requirements.