Sein Command Handler
Class · USeinCommandHandler : UObject
#include "Input/SeinCommandSchema.h"
abstract: use a subclass · can be subclassed in Blueprint · deterministic: safe in simulation code
A command handler a project adds in Blueprint or C++ (Project Settings > Command Handler Classes). Every world registers each listed class’s schema and runs its class default object for matching commands.
Handler classes hold no state: keep match, player, entity and tick state in the simulation, where it is saved and checksummed. Const keeps Blueprint graphs from treating the class default object as per-world storage.
Authority is resolved before ExecuteCommand runs. Handlers never read connection ownership from UWorld or the net mode.
Events and overrides
Section titled “Events and overrides”Execute Command
Section titled “Execute Command”Overridable in Blueprint, with a native default
Execute a command after structural, context, and authority validation.
bool ExecuteCommand(USeinWorldSubsystem* World, const FSeinCommand& Command, FGameplayTag& OutRejectionReason) const;Properties
Section titled “Properties”Command Type
Section titled “Command Type”FGameplayTag CommandType
Editable in class defaults · Blueprint read-only
Exact command type this handler runs.
Data Schema
Section titled “Data Schema”FInstancedStruct PayloadSchema
Editable in class defaults · Blueprint read-only
The struct type every command of this type must carry as its Data. Only the type counts; the values you author here are ignored. Empty means the command carries no data.
Authority Scope
Section titled “Authority Scope”ESeinCommandAuthorityScope AuthorityScope · default ESeinCommandAuthorityScope::Entity
Editable in class defaults · Blueprint read-only
Who may issue the command. Entity (the default) takes one entity on the command and EntitySet one or more, and both check the issuer controls them; Self admits any registered player.
Allowed Execution Contexts
Section titled “Allowed Execution Contexts”int32 AllowedExecutionContexts · default 0
Editable in class defaults · Blueprint read-only
Match situations in which the command still executes.
C++ members (1)
FSeinCommandSchemaDescriptor BuildSchemaDescriptor() const;The schema this handler class authors.