Navigation
API > API/Runtime > API/Runtime/NetworkReplayStreaming
References
| Module | NetworkReplayStreaming |
| Header | /Engine/Source/Runtime/NetworkReplayStreaming/NetworkReplayStreaming/Public/NetworkReplayStreaming.h |
| Include | #include "NetworkReplayStreaming.h" |
Syntax
class INetworkReplayStreamer
Remarks
Generic interface for network replay streaming
When a delegate is provided as an argument, it is expected that the implementation calls that delegate upon completion, and indicates success / failure through an appropriate result type passed into the delegate.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | |||
| void | AddUserToReplay
(
const FString& UserString |
Adds a join-in-progress user to the set of users associated with the currently recording replay (if any) | |
| TArray< FAnalyticsEventAttribute > | AppendCommonReplayAttributes
(
TArray< FAnalyticsEventAttribute >&& Attrs |
||
| void | DeleteFinishedStream
(
const FString& StreamName, |
||
| void | DeleteFinishedStream
(
const FString& StreamName, |
Attempts to delete the stream with the specified name. May execute asynchronously. | |
| void | DownloadHeader
(
const FDownloadHeaderCallback& Delegate |
||
| void | EnumerateEvents
(
const FString& Group, |
||
| void | EnumerateEvents
(
const FString& ReplayName, |
||
| void | EnumerateEvents
(
const FString& ReplayName, |
||
| void | EnumerateRecentStreams
(
const FNetworkReplayVersion& ReplayVersion, |
Retrieves the streams that have been recently viewed. May execute asynchronously. | |
| void | EnumerateStreams
(
const FNetworkReplayVersion& ReplayVersion, |
Retrieves the streams that are available for viewing. | |
| void | Exec
(
const TCHAR* Cmd, |
||
| void | FlushCheckpoint
(
const uint32 TimeInMS |
||
| FArchive * | |||
| EStreamingOperationResult | GetDemoPath
(
FString& DemoPath |
Gets the current base directory where Demos are stored. | |
| FArchive * | |||
| PRAGMA_DISABLE_DEPRECATION_WARNINGS ENetworkReplayError::Type | GetLastError () |
Returns the last error that occurred while streaming replays | |
| uint32 | Returns the maximum size of the friendly name text for this streamer, or 0 for unlimited. | ||
| FString | GetReplayID () |
Returns the active replay name | |
| EReplayStreamerState | Return current recording/playback state | ||
| FArchive * | |||
| uint32 | Time in milliseconds | ||
| void | GotoCheckpointIndex
(
const int32 CheckpointIndex, |
||
| void | GotoTimeInMS
(
const uint32 TimeInMS, |
||
| UE::Net::EHandleNetResult | HandleLastError
(
UE::Net::FNetResultManager& ResultManager |
||
| bool | HasError () |
||
| bool | IsCheckpointTypeSupported
(
EReplayCheckpointType CheckpointType |
||
| bool | |||
| bool | IsDataAvailableForTimeRange
(
const uint32 StartTimeInMS, |
||
| bool | IsLive () |
Returns true if the playing stream is currently in progress | |
| bool | |||
| void | KeepReplay
(
const FString& ReplayName, |
Used to commit a replay to permanent storage. | |
| void | KeepReplay
(
const FString& ReplayName, |
||
| void | |||
| void | RenameReplay
(
const FString& ReplayName, |
||
| void | RenameReplay
(
const FString& ReplayName, |
Used to change the name of a replay. | |
| void | RenameReplayFriendlyName
(
const FString& ReplayName, |
||
| void | RenameReplayFriendlyName
(
const FString& ReplayName, |
Used to change the friendly name of a replay. | |
| void | RequestEventData
(
const FString& ReplayName, |
||
| void | RequestEventData
(
const FString& ReplayName, |
||
| void | RequestEventData
(
const FString& EventID, |
||
| void | RequestEventGroupData
(
const FString& Group, |
||
| void | RequestEventGroupData
(
const FString& ReplayName, |
||
| void | RequestEventGroupData
(
const FString& ReplayName, |
||
| void | SearchEvents
(
const FString& EventGroup, |
||
| void | SetAnalyticsProvider
(
TSharedPtr< IAnalyticsProvider >& InProvider |
||
| EStreamingOperationResult | SetDemoPath
(
const FString& DemoPath |
Changes the base directory where Demos are stored. | |
| void | SetExtendedError
(
UE::Net::FNetResult&& Result |
||
| void | SetHighPriorityTimeRange
(
const uint32 StartTimeInMS, |
||
| void | SetTimeBufferHintSeconds
(
const float InTimeBufferHintSeconds |
Sets a hint for how much data needs to be kept in memory. | |
| void | StartStreaming
(
const FStartStreamingParameters& Params, |
||
| void | |||
| void | UpdatePlaybackTime
(
uint32 TimeInMS |
||
| void | UpdateTotalDemoTime
(
uint32 TimeInMS |
Constants
| Name | Description |
|---|---|
| OnReplayGetAnalyticsAttributes | Called from base streamer interface AppendCommonReplayAttributes to set common attributes |