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.
Functions
Section titled “Functions”Match
Get Match Entity
Section titled “Get Match Entity”The match entity in the simulation, or an invalid handle before the match starts.
FSeinEntityHandle GetMatchEntity() const;Get Match Winners
Section titled “Get Match Winners”Every player that won the match, in slot order; empty while it plays, after a draw or an abort.
TArray<FSeinPlayerID> GetMatchWinners() const;Get Match End Reason
Section titled “Get Match End Reason”Why the match ended; empty while it plays.
FGameplayTag GetMatchEndReason() const;Player
Get Player State For Player
Section titled “Get Player State For 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;Properties
Section titled “Properties”Entity Bridge
Section titled “Entity Bridge”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.