UAndromedaScannerScreenWidget¶
Kind: class
Source: Source/Andromeda/UI/AndromedaScannerScreenWidget.h
Base classes: UUserWidget
Details¶
Base widget for scanner workstation idle, ready, result, and error states.
Protected Properties¶
| Member | Type | Summary |
|---|---|---|
StatusText |
TObjectPtr< UTextBlock > |
Optional scanner status binding for idle, ready, complete, invalid, and error states. |
ItemNameText |
TObjectPtr< UTextBlock > |
Optional item name binding. |
ManifestText |
TObjectPtr< UTextBlock > |
Optional manifest claim binding. |
LegalRequirementText |
TObjectPtr< UTextBlock > |
Optional legal requirement binding. |
RadiationText |
TObjectPtr< UTextBlock > |
Optional radiation summary binding. |
MassText |
TObjectPtr< UTextBlock > |
Optional mass summary binding. |
SerialText |
TObjectPtr< UTextBlock > |
Optional serial summary binding. |
HazardText |
TObjectPtr< UTextBlock > |
Optional hazard rating binding. |
PackageRequirementText |
TObjectPtr< UTextBlock > |
Optional package requirement binding. |
NotesText |
TObjectPtr< UTextBlock > |
Optional hidden scan note binding. |
ScanResult |
FAndromedaScanResult |
Transient scan result currently represented on screen. |
Public Methods¶
| Member | Type | Summary |
|---|---|---|
ShowIdle |
void |
Clears the current scan, shows idle status, and clears scan fields. |
ShowItemReady |
void |
Shows item-ready status without changing the stored scan result. |
SetScanResult |
void |
Alias for ShowScanResult, useful for Blueprint or caller naming preferences. |
ShowScanResult |
void |
Stores a scan result, sets complete or invalid status, and refreshes fields. |
ShowError |
void |
Clears the scan, shows the supplied error or fallback text, and clears fields. |
GetScanResult |
FAndromedaScanResult |
Returns the stored scan result. |
Protected Methods¶
| Member | Type | Summary |
|---|---|---|
ClearScanText |
void |
Sets every scan-detail text block to empty when bound. |
RefreshScanResult |
void |
Formats and writes all scan result fields. |
Members¶
StatusText¶
Optional scanner status binding for idle, ready, complete, invalid, and error states.
ItemNameText¶
Optional item name binding.
ManifestText¶
Optional manifest claim binding.
LegalRequirementText¶
Optional legal requirement binding.
RadiationText¶
Optional radiation summary binding.
MassText¶
Optional mass summary binding.
SerialText¶
Optional serial summary binding.
HazardText¶
Optional hazard rating binding.
PackageRequirementText¶
Optional package requirement binding.
NotesText¶
Optional hidden scan note binding.
ScanResult¶
Transient scan result currently represented on screen.
ShowIdle¶
Clears the current scan, shows idle status, and clears scan fields.
ShowItemReady¶
Shows item-ready status without changing the stored scan result.
SetScanResult¶
Alias for ShowScanResult, useful for Blueprint or caller naming preferences.
Parameters:
| Name | Type | Description |
|---|---|---|
InScanResult |
const FAndromedaScanResult & |
ShowScanResult¶
Stores a scan result, sets complete or invalid status, and refreshes fields.
Parameters:
| Name | Type | Description |
|---|---|---|
InScanResult |
const FAndromedaScanResult & |
Result to display. |
ShowError¶
Clears the scan, shows the supplied error or fallback text, and clears fields.
Parameters:
| Name | Type | Description |
|---|---|---|
ErrorText |
const FText & |
Error text to show; empty text uses the unknown-error fallback. |
GetScanResult¶
Returns the stored scan result.
Returns:
ScanResult currently represented on screen.
ClearScanText¶
Sets every scan-detail text block to empty when bound.
RefreshScanResult¶
Formats and writes all scan result fields.
Uses AndromedaSalvageText for hazard and package requirement display text, appends handling notes when present, and wraps raw fields in localized label formats.