ULimenObjectiveInventory
Overview
ULimenObjectiveInventory is an abstract class that extends ULimenGameMenuWidget. It provides functionality to bind an objective component and trigger events when this binding occurs. This class is intended to be used in conjunction with a UI menu to display objectives.
Properties
Type | Name | Access | Description |
|---|---|---|---|
TObjectPtr< ULimenObjectiveComponent > | BoundObjectiveComponent | Private | Stores the reference to the bound objective component. |
Functions
Return Type | Signature | Description |
|---|---|---|
void | BindObjectiveComponent(ULimenObjectiveComponent* ObjectiveComponent) | Binds an objective component to this inventory widget and triggers |
GetBoundObjectiveComponent() const | Returns the currently bound objective component. |
Usage & Implementation Notes
Threading Constraints: This class does not involve any multi-threading operations.
Replication Requirements: No replication is required for this class as it operates within a single client context.
Memory Lifetime Management: The
BoundObjectiveComponentusesTObjectPtr, which manages the lifetime of the object automatically, ensuring proper memory management.Initialization Dependencies: This class requires an instance of
ULimenObjectiveComponentto be bound before it can function properly.