Skip to content

SeinARTS Session Library

Class · USeinSessionBPFL : UBlueprintFunctionLibrary

#include "Lib/SeinSessionBPFL.h"

The match session on this machine: saving and loading a standalone match, and a network match’s status.

Save the running match to a file: the exact simulation state and the camera, which Load Match restores mid-match. A relative File Name goes under Saved/Snapshots, and .seinsnapshot is added when it has no extension. Standalone games only: false in a network match, or when the match can’t be saved or the file written.

static bool SeinSaveMatch(const UObject* WorldContextObject, const FString& FileName);

Load a file Save Match wrote, with the camera where it was, and run on from the saved tick. The file must come from this build, these settings and this map. Standalone games only: false in a network match or when the file can’t be loaded, and the match goes on as it was.

static bool SeinLoadMatch(const UObject* WorldContextObject, const FString& FileName);

Where this machine is in a network match; None in a lobby, a menu or a standalone game.

static ESeinNetMatchPhase SeinGetNetworkPhase(const UObject* WorldContextObject);

On the host, while the match waits for a turn: the players whose input has not arrived, for a “waiting for player” overlay. Always empty on a client, which does not see other players’ input.

static TArray<FSeinPlayerID> SeinGetPlayersHoldingTurn(const UObject* WorldContextObject);

True while this machine loads the host’s state or runs turns it fell behind on: after a reconnect, a desync repair or a replay seek.

static bool SeinIsCatchingUp(const UObject* WorldContextObject);