ULimenModularSettingListener
Overview
ULimenModularSettingListener is an UActorComponent designed to listen for changes in settings managed by the ULimenModularSettingsSubsystem. It provides a blueprint-friendly interface through events and ensures proper activation and deactivation of its functionality.
Properties
Type | Name | Access | Description |
|---|---|---|---|
FSettingUpdated | OnSettingUpdated | BlueprintAssignable | Event triggered when a setting is updated. |
Functions
Return Type | Signature | Description |
|---|---|---|
void | Activate(bool bReset = false) | Activates the component, optionally resetting its state. |
void | Deactivate() | Deactivates the component and cleans up subscriptions. |
void | SettingUpdated(const ULimenSetting* Setting) | Internal function called when a setting is updated, broadcasting the event to subscribers. |
Usage & Implementation Notes
Threading Constraints: This component operates on the game thread.
Replication Requirements: None.
Memory Lifetime Management: The component manages its own lifetime and ensures proper cleanup in
Deactivate.Initialization Dependencies: Requires a valid
ULimenModularSettingsSubsystemto function correctly.