UGameInstance::StartRecordingReplay

Syntax

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

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.

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/GameInstance.h

Source

Runtime/Engine/Private/GameInstance.cpp