Skip to content

Sein Match Startup Subsystem

Class · USeinMatchStartupSubsystem : UWorldSubsystem

#include "GameMode/SeinMatchStartupSubsystem.h"

The game framework’s part of a match start, for every world.

Builds a match’s level content as the Match service’s Match Builder: the factions, each active slot’s player with the entity its Sein Player Start spawns, then the level’s placed units in a stable order. Placed units owned by an inactive slot are hidden.

At BeginPlay a standalone world builds and starts its match from the level’s player starts (or the lobby’s roster when the lobby started it), unless its World Settings turn Auto-Start Simulation off. A network server begins the match the Net subsystem prepared once its actors have begun play; clients build when the server tells them to, also after their actors begin play.

C++ members (2)
  • void ReleaseModuleOwnedStateForModuleUnload(); Release the Match service bindings before this module’s code unloads.
  • static bool ValidateEntityComponentData(TConstArrayView<const USeinEntityBridgeComponent*> Components, const FString& OwnerLabel, FString& OutError); The check a placed or spawned unit’s authored components must pass to start a match: exactly one entity bridge with valid Component Data.