ULimenItemAction
Overview
ULimenItemAction is an abstract base class that defines a blueprint interface for item actions. It provides methods to set up, activate, and query properties of the action. This class is intended to be subclassed by specific action implementations.
Properties
Type | Name | Access | Description |
|---|---|---|---|
| ActionDisplayName | Protected | The display name of the action. |
| ActionDescription | Protected | The description of the action. |
| BoundItem | Private | The item to which this action is bound. |
Functions
Return Type | Signature | Description |
|---|---|---|
|
| Sets up the action with a specific item. |
|
| Activates the action. This method is currently empty and should be overridden in subclasses to implement action logic. |
|
| Determines if the action can be performed. Returns true by default; override this method to add custom conditions. |
|
| Retrieves the display name of the action. |
|
| Retrieves the description of the action. |
|
| Retrieves the item to which this action is bound. |
Usage & Implementation Notes
Threading Constraints: This class does not have any specific threading constraints.
Replication Requirements: This class does not require replication.
Memory Lifetime Management: The
TObjectPtr<[ALimenItemBase](LimenItemBase.md)>ensures that the bound item is managed correctly, preventing memory leaks.Initialization Dependencies: The constructor initializes the action display name and description with default values.