Skip to content

Sein Broker Order Data

Struct · FSeinBrokerOrderPayload

#include "Brokers/SeinBrokerTypes.h"

deterministic: safe in simulation code

Payload of a BrokerOrder command: an order for the command’s entities (units or brokers), with the raw click context the broker resolver interprets per member and the gesture’s geometry.

FSeinEntityHandle TargetEntity

Blueprint read and write

Optional target entity (an attack target, a garrison).

FFixedVector TargetLocation

Blueprint read and write

Clicked world location.

bool bQueueCommand · default false

Blueprint read and write

Append to the recipients’ order queues instead of replacing them.

FGameplayTagContainer CommandContext

Blueprint read and write

Click context tag container — RightClick + Target.Ground / Friendly / Enemy / Neutral plus any designer-added target tags. Resolver interprets per-member to pick which ability to activate.

TArray<FFixedVector> GuidePoints

Blueprint read and write

Ordered guide geometry — the gesture’s path (empty/1 = click, 2 = line, N = path). ProcessCommands nav-projects each point into the queued order.

FGameplayTag FormationTag

Blueprint read and write

Gesture-nominated formation identity (invalid = resolver default).

TArray<FSeinTargeterPoint> TargeterPoints

Blueprint read and write

Targeter-captured points when this command originated from the targeter subsystem (player triggered an ability via action slot, then placed targets). Empty for right-click smart commands. ProcessCommands forwards these into the resulting FSeinBrokerQueuedOrder::TargeterPoints.

FGameplayTag PredeterminedAbilityTag

Blueprint read and write

Predetermined ability tag when this command originated from the targeter (player picked the ability before placing targets). When valid, broker resolver dispatches this ability instead of running context resolution. Invalid for right-click smart commands.

TArray<FSeinBrokerRecipientPlanSegment> RecipientPlan

Blueprint read and write

Original recipient boundaries for an exact DestinationArtifact. Empty is valid only when DestinationArtifact is also empty. At deterministic admission, each segment must still contain the same surviving members.

TArray<FSeinFrozenDestination> DestinationArtifact

Blueprint read and write

Optional exact selection plan captured from the visible preview. The sim validates complete member coverage and either admits the whole artifact or rejects it; it never silently recomputes a preview-changing fallback.

FSeinAbilityActivationInputs ActivationInputs

Blueprint read and write

Captured values preserved through ability dispatch.