Skip to content

Sein Production Queue Item Info

Struct · FSeinProductionQueueItemInfo

#include "ViewModel/SeinEntityViewModel.h"

UI-friendly snapshot of one production queue entry. Resolves icon / display name from the producible’s class defaults so widgets bind directly without a per-entry class defaults lookup. Returned by USeinEntityViewModel::GetProductionQueue.

FSeinEntityHandle QueueOwner

Blueprint read-only

Entity that owns this queue. Use with QueueIndex when requesting cancellation.

int32 QueueIndex · default 0

Blueprint read-only

0 = front (currently building), 1+ = waiting in line. Use as the QueueIndex of a CancelProduction command when wiring a click-to-cancel.

FText DisplayName

Blueprint read-only

Display name from the queued class’s identity, including research items.

TObjectPtr<UTexture2D> Icon · default nullptr

Blueprint read-only

Icon from the queued class’s identity. Null when no identity icon is authored.

FGameplayTag IdentityTag

Blueprint read-only

Identity tag of the producible (for icon-by-tag fallbacks or click filters).

float ProgressPercent · default 0.0f

Blueprint read-only

0..1 — only non-zero on the front entry (queue-tail entries are 0 until they advance).

float TotalBuildTime · default 0.0f

Blueprint read-only

Total build time in sim-seconds — useful for absolute remaining-time UI.

bool bStalledAtCompletion · default false

Blueprint read-only

True only on the front entry, when it has reached 100 percent but cannot finish because its completion cost cannot be paid yet, for example a full population cap. Widgets often show this as a pulsing red overlay.

bool bIsResearch · default false

Blueprint read-only

True if this entry is a research item (vs. a unit). Widgets can use this to swap the slot template (research entries are typically a single-slot display rather than a queue-of-many).