ILimenInventoryItem
Overview
The ILimenInventoryItem interface is used by classes that represent items within an inventory system. It provides a standardized way to access properties such as the item's image, display name, description, actions, quantity, and associated actor. This interface ensures consistency across different implementations of inventory items.
Properties
Type | Name | Access | Description |
|---|---|---|---|
| GetItemImage() const | BlueprintReadOnly | Returns a pointer to the texture representing the item's image. |
| GetDisplayName() const | BlueprintReadOnly | Returns the display name of the item as an |
| GetDescription() const | BlueprintReadOnly | Returns a description of the item as an |
| GetItemActions() const | BlueprintReadOnly | Returns an array of actions that can be performed on the item. |
| GetItemQuantity() const | BlueprintReadOnly | Returns the quantity of the item in the inventory. |
| GetActor() const | BlueprintReadOnly | Returns a pointer to the actor associated with the item. This function is templated to allow casting to specific actor types. |
Functions
Return Type | Signature | Description |
|---|---|---|
|
| Returns a pointer to the texture representing the item's image. |
|
| Returns the display name of the item as an |
|
| Returns a description of the item as an |
|
| Returns an array of actions that can be performed on the item. |
|
| Returns the quantity of the item in the inventory. |
|
| Returns a pointer to the actor associated with the item. This function is templated to allow casting to specific actor types. |
Usage & Implementation Notes
Threading Constraints: None.
Replication Requirements: None.
Memory Lifetime Management: The lifetime of objects implementing this interface should be managed by their owning inventory system or manager.
Initialization Dependencies: Implementing classes must provide concrete implementations for all pure virtual functions defined in the interface.