Generic interface for network replay streaming 更多...
#include <NetworkReplayStreaming.h>
类 INetworkReplayStreamer 继承关系图:Public 成员函数 | |
| virtual void | AddUserToReplay (const FString &UserString)=0 |
| Adds a join-in-progress user to the set of users associated with the currently recording replay (if any) 更多... | |
| virtual void | DeleteFinishedStream (const FString &StreamName, const FDeleteFinishedStreamCallback &Delegate)=0 |
| Attempts to delete the stream with the specified name. 更多... | |
| virtual void | EnumerateRecentStreams (const FNetworkReplayVersion &ReplayVersion, const int32 UserIndex, const FEnumerateStreamsCallback &Delegate)=0 |
| Retrieves the streams that have been recently viewed. 更多... | |
| virtual void | EnumerateStreams (const FNetworkReplayVersion &ReplayVersion, const int32 UserIndex, const FString &MetaString, const TArray< FString > &ExtraParms, const FEnumerateStreamsCallback &Delegate)=0 |
| Retrieves the streams that are available for viewing. 更多... | |
| virtual EStreamingOperationResult | GetDemoPath (FString &DemoPath) const =0 |
| Gets the current base directory where Demos are stored. 更多... | |
| virtual ENetworkReplayError::Type | GetLastError () const =0 |
| Returns the last error that occurred while streaming replays | |
| virtual uint32 | GetMaxFriendlyNameSize () const =0 |
| Returns the maximum size of the friendly name text for this streamer, or 0 for unlimited. | |
| virtual FString | GetReplayID () const =0 |
| Returns the active replay name | |
| virtual bool | IsLive () const =0 |
| Returns true if the playing stream is currently in progress | |
| virtual void | KeepReplay (const FString &ReplayName, const bool bKeep, const FKeepReplayCallback &Delegate)=0 |
| Used to commit a replay to permanent storage. 更多... | |
| virtual void | RenameReplay (const FString &ReplayName, const FString &NewName, const FRenameReplayCallback &Delegate)=0 |
| Used to change the name of a replay. 更多... | |
| virtual void | RenameReplayFriendlyName (const FString &ReplayName, const FString &NewFriendlyName, const FRenameReplayCallback &Delegate)=0 |
| Used to change the friendly name of a replay. 更多... | |
| virtual EStreamingOperationResult | SetDemoPath (const FString &DemoPath)=0 |
| Changes the base directory where Demos are stored. 更多... | |
| virtual void | SetTimeBufferHintSeconds (const float InTimeBufferHintSeconds)=0 |
| Sets a hint for how much data needs to be kept in memory. 更多... | |
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.
|
pure virtual |
Adds a join-in-progress user to the set of users associated with the currently recording replay (if any)
| UserString | a string that uniquely identifies the user, usually his or her FUniqueNetId |
在 FHttpNetworkReplayStreamer, FInMemoryNetworkReplayStreamer, FLocalFileNetworkReplayStreamer , 以及 FNullNetworkReplayStreamer 内被实现.
|
pure virtual |
Attempts to delete the stream with the specified name.
May execute asynchronously.
| StreamName | The name of the stream to delete |
| Delegate | A delegate that will be executed if bound when the delete operation completes |
在 FSaveGameNetworkReplayStreamer, FHttpNetworkReplayStreamer, FInMemoryNetworkReplayStreamer, FLocalFileNetworkReplayStreamer , 以及 FNullNetworkReplayStreamer 内被实现.
|
pure virtual |
Retrieves the streams that have been recently viewed.
May execute asynchronously.
| Delegate | A delegate that will be executed if bound when the list of streams is available |
在 FHttpNetworkReplayStreamer, FInMemoryNetworkReplayStreamer, FLocalFileNetworkReplayStreamer, FNullNetworkReplayStreamer , 以及 FSaveGameNetworkReplayStreamer 内被实现.
|
pure virtual |
Retrieves the streams that are available for viewing.
May execute asynchronously. Allows the caller to pass in a custom list of query parameters
在 FHttpNetworkReplayStreamer, FLocalFileNetworkReplayStreamer, FNullNetworkReplayStreamer, FSaveGameNetworkReplayStreamer , 以及 FInMemoryNetworkReplayStreamer 内被实现.
|
pure virtual |
Gets the current base directory where Demos are stored.
Note, this will always fail for streamers that don't support replays stored on disk.
在 FHttpNetworkReplayStreamer, FInMemoryNetworkReplayStreamer, FLocalFileNetworkReplayStreamer , 以及 FNullNetworkReplayStreamer 内被实现.
|
pure virtual |
Used to commit a replay to permanent storage.
| ReplayName | Name of the replay to keep. |
| bKeep | Whether or not we actually want to keep this replay. |
在 FHttpNetworkReplayStreamer, FInMemoryNetworkReplayStreamer, FLocalFileNetworkReplayStreamer, FNullNetworkReplayStreamer , 以及 FSaveGameNetworkReplayStreamer 内被实现.
|
pure virtual |
Used to change the name of a replay.
Note, this will change the name used to refer to the replay (if successful).
| ReplayName | Name of the replay to rename. |
| NewName | The new name for the replay. |
在 FHttpNetworkReplayStreamer, FInMemoryNetworkReplayStreamer, FLocalFileNetworkReplayStreamer, FNullNetworkReplayStreamer , 以及 FSaveGameNetworkReplayStreamer 内被实现.
|
pure virtual |
Used to change the friendly name of a replay.
Note, changing the friendly name does not change the name used to refer to replay.
| ReplayName | Name of the replay to rename. |
| NewFriendlyName | The new friendly name for the replay. |
在 FHttpNetworkReplayStreamer, FInMemoryNetworkReplayStreamer, FLocalFileNetworkReplayStreamer, FNullNetworkReplayStreamer , 以及 FSaveGameNetworkReplayStreamer 内被实现.
|
pure virtual |
Changes the base directory where Demos are stored.
Note, this will always fail for streamers that don't support replays stored on disk. This method should not be called after StartStreaming, or while async operations are pending on a streamer.
在 FHttpNetworkReplayStreamer, FInMemoryNetworkReplayStreamer, FLocalFileNetworkReplayStreamer , 以及 FNullNetworkReplayStreamer 内被实现.
|
pure virtual |
Sets a hint for how much data needs to be kept in memory.
If set to a value greater than zero, a streamer implementation may free any in-memory data that would be required to go to a time before the beginning of the buffer.
在 FHttpNetworkReplayStreamer, FInMemoryNetworkReplayStreamer, FLocalFileNetworkReplayStreamer , 以及 FNullNetworkReplayStreamer 内被实现.