Skip to content

Sein Producible Data

Struct · FSeinProduciblePayload : FSeinPayload

Parent: Sein Component Data

#include "Components/SeinProduciblePayload.h"

deterministic: safe in simulation code

Marks an entity class as producible: how long it takes to build, which tags its owner needs, how cancelling refunds, and whether it researches a tech instead of spawning a unit. The cost is not here; it is the Resource Cost of the ability that calls Enqueue Production. Add it to the producible’s blueprint as Sein Producible Data.

FFixedPoint BuildTime · default FFixedPoint::FromInt(10)

Editable in defaults and on instances · Blueprint read-only

Time in sim-seconds to produce this entity.

ESeinProductionQueuePolicy QueuePolicy · default ESeinProductionQueuePolicy::MultiQueueable

Editable in defaults and on instances · Blueprint read-only

Limits queued plus successfully completed items of this exact class. Cancellation releases allowance; completion consumes it permanently.

int32 QueueAmount · default 1 · shown when QueuePolicy == ESeinProductionQueuePolicy::FixedAmountPerProductionUnit || QueuePolicy == ESeinProductionQueuePolicy::FixedAmountPerPlayer · min 1

Editable in defaults and on instances · Blueprint read-only

Maximum queued plus successfully completed items under a fixed-amount policy. Must be at least 1.

FGameplayTagContainer PrerequisiteTags

Editable in defaults and on instances · Blueprint read-only

Tags the owning player must have to produce or research this. Enqueue Production refuses the entry without them, and Can Enqueue Production reports Missing Prerequisites, so UI can grey the button.

FSeinProductionRefundPolicy RefundPolicy

Editable in defaults and on instances · Blueprint read-only

Refund policy applied when this entry is cancelled mid-build. Default progress-proportional refund of its deducted activation principal.

bool bIsResearch · default false

Editable in defaults and on instances · Blueprint read-only

When on, finishing production applies Granted Tech Effect to the owning player instead of spawning a unit. Enqueue Production reads this flag and creates a research entry.

TSubclassOf<USeinEffect> GrantedTechEffect · shown when bIsResearch

Editable in defaults and on instances · Blueprint read-only

Effect applied when the research finishes. Its Scope decides where its modifiers land. Its Effect Tag and Granted Tags become tags on the owning player, which is how prerequisites test for the tech.