Skip to content

Sein Command

Struct · FSeinCommand

#include "Input/SeinCommand.h"

deterministic: safe in simulation code

One deterministic command. The framework reads who issued it, when it runs, its type tag (under SeinARTS.Command.Type.*) and the entities it acts on; only its handler reads the payload, a struct of the exact type the type’s schema names. Observer types (SeinARTS.Command.Type.Observer.*) are logged for replays and change nothing in the simulation.

FSeinPlayerID PlayerID

Blueprint read-only

Player who issued the command

FGameplayTag CommandType

Blueprint read and write

What kind of command this is: a tag under SeinARTS.Command.Type.*

int32 Tick · default 0

Blueprint read-only

Sim tick this command is intended for

TArray<FSeinEntityHandle> Entities

Blueprint read and write

The entities the command acts on, which the authority policy checks: exactly one for an Entity-scope type, one or more for EntitySet (the dispatcher keeps those the issuer may control), none for any other scope.

FInstancedStruct Payload

Blueprint read and write

The handler’s data, of the exact struct type the schema names; empty for a command type that carries none.

ESeinCommandIssuerKind IssuerKind · default ESeinCommandIssuerKind::Unauthenticated

Blueprint read-only

Trusted ingress classification. Never trust a value supplied over the wire.

FSeinPlayerID DerivedResourcePayer

Blueprint read-only

Snapshotted payer for a deterministic-system ActivateAbility follow-up.

C++ members (2)
  • bool IsObserverCommand() const; True when CommandType is under SeinARTS.Command.Type.Observer.
  • static FSeinCommand Make(FSeinPlayerID Player, FGameplayTag Type, TArray<FSeinEntityHandle> InEntities = {}); A command without a payload.