Skip to content

Sein Game State

Class · ASeinGameState : AGameStateBase

#include "GameMode/SeinGameState.h"

can be subclassed in Blueprint

A SeinARTS match’s Game State. Add Sein components to a Blueprint of this class to define the match entity in the simulation: match-wide data, and passive abilities for match rules such as victory conditions and scripted events. Select the Blueprint as the Game Mode’s Game State Class.

The actor itself stays ordinary replicated Unreal state. Simulation data is read from the match entity, never replicated.

Match

The match entity in the simulation, or an invalid handle before the match starts.

FSeinEntityHandle GetMatchEntity() const;

Every player that won the match, in slot order; empty while it plays, after a draw or an abort.

TArray<FSeinPlayerID> GetMatchWinners() const;

Why the match ended; empty while it plays.

FGameplayTag GetMatchEndReason() const;

Player

The Player State playing this match slot, for its name and other Unreal player data, such as each of Get Match Winners on a post-match screen. Null when no Player State holds the slot (an empty slot, or a player who left).

ASeinPlayerState* GetPlayerStateForPlayer(FSeinPlayerID Player) const;

TObjectPtr<USeinEntityBridgeComponent> EntityBridge · default CreateDefaultSubobject<USeinEntityBridgeComponent>(TEXT("EntityBridge"))

Read-only in Details · Blueprint read-only

Carries the Sein components this Blueprint authors; the match entity is built from them.