Skip to content

Sein Construction Data

Struct · FSeinConstructionPayload : FSeinPayload

Parent: Sein Component Data

#include "Components/SeinConstructionPayload.h"

deterministic: safe in simulation code

Turns an entity into a construction site candidate by holding the state, progress and stage of an unfinished build. A job starts when the entity spawns with Start Queued for Construction on, or through Queue Construction. The build ability then drives it with Start, Advance and Complete Construction. Settings persist after completion.

bool bQueueConstructionOnSpawn · default false

Editable in defaults and on instances · Blueprint read and write

Start as an unfinished site waiting for work. Off starts completed without applying a completion effect. Applies to spawned entities and level instances. Start Construction begins work separately.

TSubclassOf<USeinEffect> CompletionEffect

Editable in defaults and on instances · Blueprint read-only

Applied once by Complete Construction. Captured when the job is queued.

FFixedPoint Progress · default FFixedPoint::Zero

Blueprint read-only

Work contributed to the current job. Ignored by games using another completion rule.

ESeinConstructionState State · default ESeinConstructionState::Complete

Blueprint read-only

Lifecycle phase. Merely carrying this payload does not start construction.

FGameplayTag Stage

Blueprint read-only

Designer milestone, changed through Set Construction Stage.

int32 JobID · default 0

Blueprint read-only

Job identity, retained after completion to reject stale worker actions.

FFixedPoint RequiredWork · default FFixedPoint::FromInt(10) · min 0

Editable in defaults and on instances · Blueprint read and write

Work needed for the next job. Units belong to the build ability; HP-based construction may ignore this field.

FFixedPoint JobRequiredWork · default FFixedPoint::Zero

Blueprint read-only

Required work captured when the current job was queued. Changing Required Work affects the next job.