Skip to content

Sein Broker Order Input

Struct · FSeinBrokerOrderInput

#include "Brokers/SeinBrokerTypes.h"

deterministic: safe in simulation code

Input handed to USeinCommandBrokerResolver::ResolveDispatch. Mirrors the live queued-order shape plus the broker’s owning player ID and current anchor.

FGameplayTagContainer Context

Blueprint read and write

Click context tags of the order: right-click plus the target class (ground, friendly, enemy or neutral) and any tags your game adds.

FSeinEntityHandle TargetEntity

Blueprint read and write

Entity the order was aimed at, or invalid for none.

FFixedVector TargetLocation

Blueprint read and write

World location the order was aimed at.

TArray<FFixedVector> GuidePoints

Blueprint read and write

Ordered guide geometry (mirrors FSeinBrokerQueuedOrder::GuidePoints) — the gesture’s path, nav-projected. Empty/1 = click; 2 = line; N = path.

FGameplayTag FormationTag

Blueprint read and write

Gesture-nominated formation identity (mirrors the queued order). Invalid → the resolver’s default formation.

TArray<FSeinEntityHandle> EffectiveMembers

Blueprint read and write

The effective member set this order dispatches against — TargetMembers from the queued order if non-empty, else the broker’s full Members list. Resolvers should iterate EffectiveMembers (not the broker’s Members) when building their dispatch plan.

TArray<FSeinTargeterPoint> TargeterPoints

Blueprint read and write

Targeter-captured points (mirrors FSeinBrokerQueuedOrder::TargeterPoints). Resolvers can inspect these to make per-member dispatch decisions for multi-target abilities — e.g., distribute 3 grenade points across 3 group members rather than dispatching all 3 to the leader. Default resolver ignores it (passes points to one member); custom resolvers can implement more elaborate distribution.

FGameplayTag PredeterminedAbilityTag

Blueprint read and write

Predetermined ability tag (mirrors FSeinBrokerQueuedOrder::PredeterminedAbilityTag). When valid, default resolver dispatches this ability to the first capable member instead of running per-member context resolution. Invalid = use per-member ResolveMemberAbility / DefaultCommands path.

TArray<FSeinEntityHandle> PreplacedMembers

Blueprint read and write

Members whose destinations were already placed as part of one formation solved over the whole selection. When non-empty, the default resolver sends each member to its paired position in Preplaced Positions instead of solving a formation of its own. Preplaced Members[i] goes to Preplaced Positions[i].

TArray<FFixedVector> PreplacedPositions

Blueprint read and write

Destination for each Preplaced Member, index-aligned with Preplaced Members.

TArray<FFixedQuaternion> PreplacedFacings

Blueprint read and write

Optional facings paired with Preplaced Members. Empty uses the broker’s standing facing for each position.

bool bPreplacedFacingsExplicit · default false

Blueprint read and write

True when the pre-placed facings come from a drag gesture or a provider. False for plain travel facings, which vehicles ignore in favor of their arrival heading.

TArray<FSeinFrozenDestination> DestinationArtifact

Blueprint read and write

Exact admitted destinations (mirrors the queued order).

FSeinAbilityActivationInputs ActivationInputs

Blueprint read and write

Captured values preserved through ability dispatch.