Class UZagalaSpecPlaySessionSettings#
Defined in File ZagalaSpecPlaySessionSettings.h
Inheritance Relationships#
Base Type#
public UPrimaryDataAsset
Class Documentation#
-
class UZagalaSpecPlaySessionSettings : public UPrimaryDataAsset#
Configuration for starting a Play Session (PIE or travel to a map in package) or loading a test level from a context extension.
Concrete subclasses (e.g. UZagalaSpecPlaySessionSettingsHoverboard) pre-configure the fields to sensible defaults for a particular feature.
Used by UZagalaSpecCEEnsureTestWorld.
Public Functions
-
UZagalaSpecPlaySessionSettings(const FObjectInitializer &ObjectInitializer = FObjectInitializer::Get())#
-
int32 GetExpectedPlayerCount() const#
Returns the number of player controllers the server holds once every client joined: clients plus the host, or 1 when standalone.
Public Members
-
float StartupTimeoutSeconds = 30.f#
Seconds to wait for PostPlaySessionStarted before timing out and broadcasting failure.
-
float ShutdownTimeoutSeconds = 10.f#
Seconds to allow PlaySession to stop cleanly on Teardown.
-
bool bUseFixedTimeStep = true#
If true, the simulation uses a fixed timestep so frame counts are deterministic.
Highly encouraged to keep as true given that our package tests run as deterministic 60 FPS.
-
float FixedTimeStepFPS = 60.f#
FPS used when bUseFixedTimeStep is true.
Highly encouraged to keep as is given that our package tests run as deterministic 60 FPS.
-
TSoftObjectPtr<UWorld> MapToLoad#
Map to load for the PlaySession session (or map to travel if in package).
If not set, uses the currently open map.
-
bool bSpawnAtPlayerStart = false#
Whether to spawn the player at a PlayerStart actor.
-
FVector StartLocation = FVector::ZeroVector#
Start location (used when bSpawnAtPlayerStart is false).
-
FRotator StartRotation = FRotator::ZeroRotator#
Start rotation.
-
bool bListenServer = false#
If true, PIE starts as a listen server with NumberOfClients extra clients, all under one editor process.
Editor only.
-
int32 NumberOfClients = 1#
Number of clients that connect to the listen server (the host is not counted).
-
UZagalaSpecPlaySessionSettings(const FObjectInitializer &ObjectInitializer = FObjectInitializer::Get())#