Skip to content

Sein Match Settings

Struct · FSeinMatchSettings

#include "Data/SeinMatchSettings.h"

deterministic: safe in simulation code

Runtime match configuration snapshot. The match build installs it in the world state (USeinWorldSubsystem::GetMatchSettings); it never changes after.

It holds the slot manifest and an extension array. Match-level rules (friendly fire, resource sharing, time limits, how a player is defeated) are Extensions, and each module reads only the extension types it owns. FSeinBasicMatchSettings covers common RTS knobs, including End When One Team Remains, the one end rule the framework runs.

TArray<FSeinMatchSlot> Slots

Editable in defaults and on instances · Blueprint read-only

Per-slot occupancy + faction/team. A lobby/matchmaker may supply the manifest directly. In standalone/direct PIE without a published lobby snapshot, the Framework synthesizes it from authored SeinPlayerStarts. The match build reads it on every simulation peer; GameMode only routes Human controllers to those slots.

FSeinPlayerID HostPlayer

Read-only in Details · Blueprint read-only

The session host’s player, whose vote decides a Host Decides vote. The lobby records it when the match starts: the Human slot its own machine’s player holds. Invalid when the match has no host player (a dedicated server, or a match started without the lobby); Host Decides votes then can’t start.

TArray<FInstancedStruct> Extensions

Editable in defaults and on instances · Blueprint read-only

Designer + framework-module match-rule extensions. Each system that needs match-level configuration ships its own USTRUCT and looks it up by type at runtime via FindMatchExtension<T>. Multiple structs live in this list; designer composes their match by including the rule structs their game uses (FSeinBasicMatchSettings for common RTS knobs, custom structs for game-specific rules).

A module may interpret only the extension types it explicitly owns. Project-specific rule policy remains designer-authored.