UGameInstance::StartRecordingReplay

Start recording a replay with the given custom name and friendly name.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameInstance.h

Include

#include "Engine/GameInstance.h"

Source

/Engine/Source/Runtime/Engine/Private/GameInstance.cpp

Syntax

virtual void StartRecordingReplay
(
    const FString & InName,
    const FString & FriendlyName,
    const TArray< FString > & AdditionalOptions,
    TSharedPtr< IAnalyticsProvider > AnalyticsProvider
)

Remarks

Start recording a replay with the given custom name and friendly name.

Parameters

Parameter

Description

InName

If not empty, the unique name to use as an identifier for the replay. If empty, a name will be automatically generated by the replay streamer implementation.

FriendlyName

An optional (may be empty) descriptive name for the replay. Does not have to be unique.

AdditionalOptions

Additional URL options to append to the URL that will be processed by the replay net driver. Will usually remain empty.

AnalyticsProvider

Optional pointer to an analytics provider which will also be passed to the replay streamer if set

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss