Limen Framework 0.1 Help

ULimenInventoryWidget

Overview

ULimenInventoryWidget is an abstract, blueprintable class that extends ULimenGameMenuWidget. It provides functionality for binding to an inventory component and handling item actions through a delegate. The widget includes methods for initializing itself and retrieving the bound inventory component.

Properties

Type

Name

Access

Description

UObjectPtr< ULimenInventoryComponent >

BoundInventory

Private

Holds a reference to the currently bound inventory component.

Functions

Return Type

Signature

Description

void

NativeConstruct()

Called when the widget is first constructed. Calls Super::NativeConstruct() to ensure proper initialization of the base class.

void

BindInventory(ULimenInventoryComponent* NewBoundInventory)

Binds a new inventory component to the widget and triggers the InventoryBound event.

ULimenInventoryComponent*

GetBoundInventory() const

Returns the currently bound inventory component.

Usage & Implementation Notes

  • Threading Constraints: None.

  • Replication Requirements: None.

  • Memory Lifetime Management: The BoundInventory property is managed using a TObjectPtr, which automatically handles memory management and ensures that the object remains valid as long as it is referenced.

  • Initialization Dependencies: The widget depends on being bound to an inventory component through the BindInventory method before it can function properly.

22 May 2026