UAndromedaSuitScanRecallWidget¶
Kind: class
Source: Source/Andromeda/UI/AndromedaSuitScanRecallWidget.h
Base classes: UUserWidget
Details¶
Base widget for suit recall display of station scan records.
Protected Properties¶
| Member | Type | Summary |
|---|---|---|
RecallRoot |
TObjectPtr< UWidget > |
Optional root widget used for show/hide. |
StatusText |
TObjectPtr< UTextBlock > |
Optional record count or empty status binding. |
RecordsText |
TObjectPtr< UTextBlock > |
Optional multiline records binding. |
CurrentRecords |
TArray< FAndromedaScannedItemRecord > |
Transient records currently displayed, usually sorted newest-first by the HUD. |
CurrentEmptyText |
FText |
Empty state text shown when no records can be displayed. |
bRecallVisible |
bool |
Runtime visibility flag. |
Public Methods¶
| Member | Type | Summary |
|---|---|---|
ShowRecords |
void |
Stores records, clears empty text, marks recall visible, and refreshes. |
ShowEmpty |
void |
Clears records, stores the empty state, marks recall visible, and refreshes. |
HideRecall |
void |
Marks recall hidden and refreshes visibility. |
IsRecallVisible |
bool |
Returns whether recall is currently visible. |
Protected Methods¶
| Member | Type | Summary |
|---|---|---|
NativeOnInitialized |
void |
Logs when RecordsText is missing and refreshes initial state. |
RefreshRecall |
void |
Writes status, generated record text, and visibility. |
BuildRecordsText |
FText |
Builds a blank-line-separated record body from item name, manifest, and requirement. |
Members¶
RecallRoot¶
Optional root widget used for show/hide.
StatusText¶
Optional record count or empty status binding.
RecordsText¶
Optional multiline records binding.
CurrentRecords¶
Transient records currently displayed, usually sorted newest-first by the HUD.
CurrentEmptyText¶
Empty state text shown when no records can be displayed.
bRecallVisible¶
Runtime visibility flag.
ShowRecords¶
void UAndromedaSuitScanRecallWidget::ShowRecords(const TArray< FAndromedaScannedItemRecord > &Records)
Stores records, clears empty text, marks recall visible, and refreshes.
Parameters:
| Name | Type | Description |
|---|---|---|
Records |
const TArray< FAndromedaScannedItemRecord > & |
Scan records to display, usually sorted newest-first by the HUD. |
ShowEmpty¶
Clears records, stores the empty state, marks recall visible, and refreshes.
Parameters:
| Name | Type | Description |
|---|---|---|
EmptyText |
const FText & |
Status text to display when no records are available. |
HideRecall¶
Marks recall hidden and refreshes visibility.
IsRecallVisible¶
Returns whether recall is currently visible.
Returns:
Runtime recall visibility flag.
NativeOnInitialized¶
Logs when RecordsText is missing and refreshes initial state.
RefreshRecall¶
Writes status, generated record text, and visibility.
Visible recall uses hit-test-invisible visibility so the panel can show without consuming pointer input. When RecallRoot is unbound, visibility is applied to the whole widget.
BuildRecordsText¶
Builds a blank-line-separated record body from item name, manifest, and requirement.
Empty fields are replaced with localized fallbacks.
Returns:
Multiline text body for RecordsText, or empty text when there are no records.