Sein Player State
Class · ASeinPlayerState : APlayerState
#include "GameMode/SeinPlayerState.h"
can be subclassed in Blueprint
A SeinARTS player’s Player State. Add Sein components to a Blueprint of this class to define the player’s entity in the simulation: tech, custom per-player data, and passive abilities such as income or upkeep. Select the Blueprint as the Game Mode’s Player State Class. The match builds the player’s identity and starting resources itself (from the match settings, resource catalog and faction), replacing any authored copy.
The actor itself stays ordinary replicated Unreal state (name, ping). Simulation data is read from the player’s entity, never replicated.
Functions
Section titled “Functions”Player
Get Player Entity
Section titled “Get Player Entity”This player’s entity in the simulation, or an invalid handle before the match starts.
FSeinEntityHandle GetPlayerEntity() const;Match
Get Match Result
Section titled “Get Match Result”This player’s result in the match: None while it plays on, or when the match was aborted. Reason is why it was decided.
ESeinPlayerResult GetMatchResult(FGameplayTag& Reason) const;Properties
Section titled “Properties”Player
Section titled “Player”Sein Player ID
Section titled “Sein Player ID”FSeinPlayerID SeinPlayerID
Blueprint read-only
The match slot this Player State plays. The Game Mode sets it when it binds the slot.
General
Section titled “General”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 player entity is built from them.