Navigation
API > API/Runtime > API/Runtime/LocalFileNetworkReplayStreaming
Inheritance Hierarchy
- INetworkReplayStreamer
- TSharedFromThis< FLocalFileNetworkReplayStreamer >
- FLocalFileNetworkReplayStreamer
- FSaveGameNetworkReplayStreamer
References
Module | LocalFileNetworkReplayStreaming |
Header | /Engine/Source/Runtime/NetworkReplayStreaming/LocalFileNetworkReplayStreaming/Public/LocalFileNetworkReplayStreaming.h |
Include | #include "LocalFileNetworkReplayStreaming.h" |
Syntax
class FLocalFileNetworkReplayStreamer :
public INetworkReplayStreamer,
public TSharedFromThis< FLocalFileNetworkReplayStreamer >
Remarks
Local file streamer that supports playback/recording to a single file on disk
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TSharedPtr< FQueuedLocalFileRequest, ESPMode::ThreadSafe > | ActiveRequest | |
![]() |
bool | bCacheFileReadsInMemory | |
![]() |
bool | bStopStreamingCalled | |
![]() |
FLocalFileStreamFArchive | CheckpointAr | Handle to the archive that will read/write checkpoint files |
![]() |
FLocalFileReplayInfo | CurrentReplayInfo | Currently playing or recording replay metadata |
![]() |
FString | CurrentStreamName | Remember the name of the current stream, if any. |
![]() |
TMap< int32, TSharedPtr< FCachedFileRequest > > | DeltaCheckpointCache | Map of checkpoint index to cached value |
![]() |
FString | DemoSavePath | |
![]() |
TMap< FString, TArray< uint8 > > | FileContentsCache | |
![]() |
FLocalFileStreamFArchive | HeaderAr | Handle to the archive that will read/write the demo header |
![]() |
uint32 | HighPriorityEndTime | |
![]() |
double | LastChunkTime | |
![]() |
int64 | LastGotoTimeInMS | |
![]() |
double | LastRefreshTime | |
![]() |
TArray< TSharedPtr< FQueuedLocalFileRequest, ESPMode::ThreadSafe > > | QueuedRequests | |
![]() |
TMap< int32, TSharedPtr< FCachedFileRequest > > | RequestCache | Map of chunk index to cached value |
![]() |
FLocalFileStreamFArchive | StreamAr | Handle to the archive that will read/write network packets |
![]() |
int32 | StreamChunkIndex | |
![]() |
int64 | StreamDataOffset | |
![]() |
EReplayStreamerState | StreamerState | Overall state of the streamer |
![]() |
TInterval< uint32 > | StreamTimeRange |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FLocalFileNetworkReplayStreamer
(
const FString& InDemoSavePath |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddCachedFileRequestToQueue
(
EQueuedLocalFileRequestType::Type RequestType, |
|
![]() |
void | AddDelegateFileRequestToQueue
(
EQueuedLocalFileRequestType::Type RequestType, |
|
![]() |
void | AddDelegateFileRequestToQueue
(
EQueuedLocalFileRequestType::Type RequestType, |
|
![]() ![]() |
void | AddEvent
(
const uint32 TimeInMS, |
|
![]() |
void | AddGenericRequestToQueue
(
EQueuedLocalFileRequestType::Type RequestType, |
|
![]() ![]() |
void | AddOrUpdateEvent
(
const FString& Name, |
|
![]() |
void | AddRequestToCache
(
int32 ChunkIndex, |
|
![]() |
void | AddRequestToCache
(
int32 ChunkIndex, |
|
![]() |
void | AddSimpleRequestToQueue
(
EQueuedLocalFileRequestType::Type RequestType, |
|
![]() ![]() |
void | AddUserToReplay
(
const FString& UserString |
|
![]() ![]() |
bool | ||
![]() |
void | ||
![]() ![]() |
bool | CleanUpOldReplays
(
const FString& DemoPath, |
|
![]() |
void | ||
![]() ![]() ![]() |
bool | CompressBuffer
(
const TArray< uint8 >& InBuffer, |
|
![]() |
void | ||
![]() |
void | ||
![]() |
void | ||
![]() ![]() ![]() |
TSharedPtr< FArchive > | CreateLocalFileReader
(
const FString& InFilename |
|
![]() ![]() ![]() |
TSharedPtr< FArchive > | CreateLocalFileWriter
(
const FString& InFilename |
|
![]() ![]() ![]() |
TSharedPtr< FArchive > | CreateLocalFileWriterForOverwrite
(
const FString& InFilename |
|
![]() ![]() ![]() |
bool | DecompressBuffer
(
const TArray< uint8 >& InCompressed, |
|
![]() ![]() ![]() |
bool | DecryptBuffer
(
TArrayView< const uint8 > Ciphertext, |
|
![]() ![]() |
void | DeleteFinishedStream
(
const FString& StreamName, |
|
![]() ![]() |
void | DeleteFinishedStream
(
const FString& StreamName, |
|
![]() |
void | DeleteFinishedStream_Internal
(
const FString& StreamName, |
|
![]() ![]() |
void | DownloadHeader
(
const FDownloadHeaderCallback& Delegate |
|
![]() ![]() ![]() |
bool | EncryptBuffer
(
TArrayView< const uint8 > Plaintext, |
|
![]() ![]() |
void | EnumerateEvents
(
const FString& ReplayName, |
|
![]() ![]() |
void | EnumerateEvents
(
const FString& ReplayName, |
|
![]() ![]() |
void | EnumerateEvents
(
const FString& Group, |
|
![]() |
void | EnumerateEvents_Internal
(
const FString& ReplayName, |
|
![]() ![]() |
void | EnumerateRecentStreams
(
const FNetworkReplayVersion& ReplayVersion, |
|
![]() ![]() |
void | EnumerateStreams
(
const FNetworkReplayVersion& InReplayVersion, |
|
![]() ![]() |
void | FixupFriendlyNameLength
(
const FString& UnfixedName, |
|
![]() ![]() |
void | FlushCheckpoint
(
const uint32 TimeInMS |
|
![]() |
void | FlushCheckpointInternal
(
const uint32 TimeInMS |
|
![]() |
void | FlushStream
(
const uint32 TimeInMS |
|
![]() ![]() |
void | GenerateEncryptionKey
(
TArray< uint8 >& EncryptionKey |
|
![]() ![]() ![]() |
TArrayView< const FString > | Must be relative to the base demo path. | |
![]() ![]() |
FString | Returns a name formatted as "demoX", where X is between 1 and MAX_DEMOS, inclusive. | |
![]() ![]() |
const TArray< uint8 > & | GetCachedFileContents
(
const FString& Filename |
|
![]() ![]() |
FArchive * | ||
![]() ![]() ![]() |
int32 | GetDecompressedSizeBackCompat
(
FArchive& InCompressed |
|
![]() ![]() |
const FString & | ||
![]() ![]() |
bool | GetDemoFreeStorageSpace
(
uint64& DiskFreeSpace, |
|
![]() ![]() |
FString | GetDemoFullFilename
(
const FString& FileName |
|
![]() ![]() |
FString | GetDemoFullFilename
(
const FString& DemoPath, |
|
![]() ![]() ![]() |
EStreamingOperationResult | GetDemoPath
(
FString& DemoPath |
|
![]() ![]() |
FString | GetDemoPath () |
|
![]() ![]() |
FArchive * | ||
![]() ![]() ![]() |
uint32 | ||
![]() ![]() ![]() |
FString | GetReplayID () |
|
![]() ![]() ![]() |
EReplayStreamerState | ||
![]() ![]() |
FArchive * | ||
![]() ![]() ![]() |
uint32 | ||
![]() ![]() |
void | GotoCheckpointIndex
(
const int32 CheckpointIndex, |
|
![]() ![]() |
void | GotoTimeInMS
(
const uint32 TimeInMS, |
|
![]() ![]() |
bool | ||
![]() ![]() ![]() |
bool | IsCheckpointTypeSupported
(
EReplayCheckpointType CheckpointType |
|
![]() ![]() ![]() |
bool | ||
![]() ![]() |
bool | IsDataAvailableForTimeRange
(
const uint32 StartTimeInMS, |
|
![]() ![]() |
bool | ||
![]() ![]() |
bool | IsFileRequestPendingOrInProgress
(
const EQueuedLocalFileRequestType::Type RequestType |
|
![]() ![]() ![]() |
bool | IsLive () |
|
![]() ![]() ![]() |
bool | ||
![]() ![]() |
bool | IsNamedStreamLive
(
const FString& StreamName |
|
![]() ![]() |
bool | IsStreaming () |
|
![]() ![]() |
void | KeepReplay
(
const FString& ReplayName, |
|
![]() ![]() |
void | KeepReplay
(
const FString& ReplayName, |
|
![]() |
void | KeepReplay_Internal
(
const FString& ReplayName, |
|
![]() |
void | OnFileRequestComplete
(
const TSharedPtr< FQueuedLocalFileRequest, ESPMode::ThreadSafe >& Request |
|
![]() |
bool | ||
![]() ![]() |
bool | ReadReplayInfo
(
FArchive& Archive, |
|
![]() ![]() |
bool | ReadReplayInfo
(
const FString& StreamName, |
|
![]() ![]() |
bool | ReadReplayInfo
(
const FString& StreamName, |
|
![]() ![]() |
bool | ReadReplayInfo
(
FArchive& Archive, |
|
![]() ![]() |
void | ||
![]() ![]() |
void | RenameReplay
(
const FString& ReplayName, |
|
![]() ![]() |
void | RenameReplay
(
const FString& ReplayName, |
|
![]() |
void | RenameReplay_Internal
(
const FString& ReplayName, |
|
![]() ![]() |
void | RenameReplayFriendlyName
(
const FString& ReplayName, |
|
![]() ![]() |
void | RenameReplayFriendlyName
(
const FString& ReplayName, |
|
![]() |
void | RenameReplayFriendlyName_Internal
(
const FString& ReplayName, |
|
![]() ![]() |
void | RequestEventData
(
const FString& ReplayName, |
|
![]() ![]() |
void | RequestEventData
(
const FString& EventID, |
|
![]() ![]() |
void | RequestEventData
(
const FString& ReplayName, |
|
![]() |
void | RequestEventData_Internal
(
const FString& ReplayName, |
|
![]() ![]() |
void | RequestEventGroupData
(
const FString& ReplayName, |
|
![]() ![]() |
void | RequestEventGroupData
(
const FString& ReplayName, |
|
![]() ![]() |
void | RequestEventGroupData
(
const FString& Group, |
|
![]() ![]() |
void | SearchEvents
(
const FString& EventGroup, |
|
![]() ![]() |
EStreamingOperationResult | SetDemoPath
(
const FString& DemoPath |
|
![]() ![]() |
void | SetHighPriorityTimeRange
(
const uint32 StartTimeInMS, |
|
![]() |
PRAGMA_DISABLE_DEPRECATION_WARNINGS void | SetLastError
(
const ENetworkReplayError::Type InLastError |
|
![]() |
PRAGMA_ENABLE_DEPRECATION_WARNINGS void | SetLastError
(
FLocalFileReplayResult&& Result |
|
![]() ![]() |
void | SetTimeBufferHintSeconds
(
const float InTimeBufferHintSeconds |
|
![]() ![]() |
void | StartStreaming
(
const FStartStreamingParameters& Params, |
INetworkReplayStreamer implementation |
![]() ![]() |
void | ||
![]() ![]() ![]() |
bool | ||
![]() ![]() ![]() |
bool | ||
![]() |
void | Tick
(
float DeltaSeconds |
|
![]() |
void | UpdateCurrentReplayInfo
(
FLocalFileReplayInfo& ReplayInfo, |
|
![]() ![]() |
void | UpdatePlaybackTime
(
uint32 TimeInMS |
|
![]() ![]() |
void | UpdateTotalDemoTime
(
uint32 TimeInMS |
|
![]() |
void | WriteHeader () |
|
![]() |
bool | WriteReplayInfo
(
const FString& StreamName, |
|
![]() |
bool | WriteReplayInfo
(
FArchive& Archive, |
|
![]() |
bool | WriteReplayInfo
(
FArchive& Archive, |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FLocalFileSerializationInfo |
Typedefs
Name | Description |
---|---|
FLocalFileReplayResult |
Constants
Name | Description |
---|---|
FileMagic | |
LatestVersion | |
MaxFriendlyNameLen | |
OnReplayFinishedWriting |