Skip to content

Sein Lobby Slot State

Struct · FSeinLobbySlotState

#include "SeinLobbyState.h"

Per-slot lobby state (replicated). Mirrors FSeinMatchSlot (Data/SeinMatchSettings.h) but adds a bClaimed flag + ClaimedBy controller-id so clients can tell which slot belongs to whom before match start.

ClaimedBy is the FSeinPlayerID assigned to the controller occupying the slot; equal to the slot’s eventual sim-side identity once the match begins. Zero (Neutral) means the slot is free.

int32 SlotIndex · default 0

Blueprint read-only

1..MaxPlayers. 0 = invalid sentinel.

ESeinSlotState State · default ESeinSlotState::Open

Blueprint read-only

Open / Human / AI / Closed — same enum as FSeinMatchSlot::State.

FSeinFactionID FactionID

Blueprint read-only

Faction picked by the claiming player. Zero = none; setting a slot to AI leaves it as it was.

uint8 TeamID · default 0

Blueprint read-only

Team grouping; 0 = no team.

FText DisplayName

Blueprint read-only

Label for lobby lists: Open, Closed, the player’s name, AI followed by the profile tag when one is set, or Reconnecting while a dropped player’s seat is held.

bool bClaimed · default false

Blueprint read-only

True iff a controller (or AI policy) currently owns this slot.

FSeinPlayerID ClaimedBy

Blueprint read-only

Slot’s reserved player identity: FSeinPlayerID(SlotIndex) once claimed (slot N is player N). Zero when bClaimed = false.

FGameplayTag AIProfile

Blueprint read-only

Optional AI personality tag; only meaningful when State == AI.

bool bReady · default false

Blueprint read-only

The player’s ready flag, set by the ready request. The framework does not hold Start Match for it: your lobby widget reads the flag and decides when to start. AI slots count as ready, and the flag resets when the slot’s claim changes.

bool bDisconnected · default false

Blueprint read-only

Set when the slot’s claimant disconnects but the lobby is still in the reconnect grace period. bClaimed stays true (the slot is reserved); UI distinguishes “Open” from “Disconnected — reserved for player X” via this flag. After grace expires, the slot reverts to a fully-Open state and this flag clears.

FUniqueNetIdRepl LastClaimantNetID

Blueprint read-only

UE network ID of the slot’s most recent claimant. Persists across disconnect (paired with bDisconnected) so a reconnecting PC with a matching UniqueId can be re-bound to the same slot. Zero/invalid on never-claimed slots. PIE listen-server windows often share a fake UniqueId — reconnect testing must happen in cooked builds.

FString RemoteAddress

Blueprint read-only

Remote address (“IP:Port”) of the slot’s claimant, on the server only: it isn’t replicated, so clients read it empty. Set when a remote player claims the slot, kept through the disconnect grace window, and cleared when the slot is released. Empty for the listen server’s own player and in Standalone.