engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FInMemoryNetworkReplayStreamer类 参考

Streamer that keeps all data in memory only 更多...

#include <InMemoryNetworkReplayStreaming.h>

+ 类 FInMemoryNetworkReplayStreamer 继承关系图:

Public 成员函数

virtual void AddUserToReplay (const FString &UserString) override
 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) override
 Attempts to delete the stream with the specified name. 更多...
 
virtual void EnumerateRecentStreams (const FNetworkReplayVersion &ReplayVersion, const int32 UserIndex, const FEnumerateStreamsCallback &Delegate) override
 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) override
 Retrieves the streams that are available for viewing. 更多...
 
virtual EStreamingOperationResult GetDemoPath (FString &DemoPath) const override
 Gets the current base directory where Demos are stored. 更多...
 
virtual ENetworkReplayError::Type GetLastError () const override
 Returns the last error that occurred while streaming replays
 
virtual uint32 GetMaxFriendlyNameSize () const override
 Returns the maximum size of the friendly name text for this streamer, or 0 for unlimited.
 
virtual FString GetReplayID () const override
 Returns the active replay name
 
virtual TStatId GetStatId () const override
 return the stat id to use for this tickable
 
virtual ETickableTickType GetTickableTickType () const override
 Virtual that can be overloaded by the inheriting class. 更多...
 
virtual bool IsLive () const override
 Returns true if the playing stream is currently in progress
 
virtual bool IsTickableWhenPaused () const override
 FTickableGameObject implementation
 
virtual void KeepReplay (const FString &ReplayName, const bool bKeep, const FKeepReplayCallback &Delegate) override
 Used to commit a replay to permanent storage. 更多...
 
virtual void RenameReplay (const FString &ReplayName, const FString &NewName, const FRenameReplayCallback &Delegate) override
 Used to change the name of a replay. 更多...
 
virtual void RenameReplayFriendlyName (const FString &ReplayName, const FString &NewFriendlyName, const FRenameReplayCallback &Delegate) override
 Used to change the friendly name of a replay. 更多...
 
virtual EStreamingOperationResult SetDemoPath (const FString &DemoPath) override
 Changes the base directory where Demos are stored. 更多...
 
virtual void SetTimeBufferHintSeconds (const float InTimeBufferHintSeconds) override
 Sets a hint for how much data needs to be kept in memory. 更多...
 
virtual void StartStreaming (const FStartStreamingParameters &Params, const FStartStreamingCallback &Delegate) override
 INetworkReplayStreamer implementation
 
virtual void Tick (float DeltaSeconds) override
 FTickableObjectBase implementation
 
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. 更多...
 
- Public 成员函数 继承自 FTickableGameObject
 FTickableGameObject ()
 Registers this instance with the static array of tickable objects. 更多...
 
virtual bool IsTickableInEditor () const
 Used to determine whether the object should be ticked in the editor. 更多...
 
virtual bool IsTickableWhenPaused () const
 Used to determine if an object should be ticked when the game is paused. 更多...
 
virtual ~FTickableGameObject ()
 Removes this instance from the static array of tickable objects.
 
- Public 成员函数 继承自 FTickableObjectBase
virtual TStatId GetStatId () const =0
 return the stat id to use for this tickable
 
virtual ETickableTickType GetTickableTickType () const
 Virtual that can be overloaded by the inheriting class. 更多...
 
virtual bool IsTickable () const
 Virtual that can be overloaded by the inheriting class. 更多...
 
virtual void Tick (float DeltaTime)=0
 Pure virtual that must be overloaded by the inheriting class. 更多...
 

详细描述

Streamer that keeps all data in memory only

成员函数说明

◆ AddUserToReplay()

virtual void FInMemoryNetworkReplayStreamer::AddUserToReplay ( const FString &  UserString)
overridevirtual

Adds a join-in-progress user to the set of users associated with the currently recording replay (if any)

参数
UserStringa string that uniquely identifies the user, usually his or her FUniqueNetId

实现了 INetworkReplayStreamer.

◆ DeleteFinishedStream()

virtual void FInMemoryNetworkReplayStreamer::DeleteFinishedStream ( const FString &  StreamName,
const FDeleteFinishedStreamCallback &  Delegate 
)
overridevirtual

Attempts to delete the stream with the specified name.

May execute asynchronously.

参数
StreamNameThe name of the stream to delete
DelegateA delegate that will be executed if bound when the delete operation completes

实现了 INetworkReplayStreamer.

◆ EnumerateRecentStreams()

virtual void FInMemoryNetworkReplayStreamer::EnumerateRecentStreams ( const FNetworkReplayVersion &  ReplayVersion,
const int32  UserIndex,
const FEnumerateStreamsCallback &  Delegate 
)
overridevirtual

Retrieves the streams that have been recently viewed.

May execute asynchronously.

参数
DelegateA delegate that will be executed if bound when the list of streams is available

实现了 INetworkReplayStreamer.

◆ EnumerateStreams()

virtual void FInMemoryNetworkReplayStreamer::EnumerateStreams ( const FNetworkReplayVersion &  ReplayVersion,
const int32  UserIndex,
const FString &  MetaString,
const TArray< FString > &  ExtraParms,
const FEnumerateStreamsCallback &  Delegate 
)
overridevirtual

Retrieves the streams that are available for viewing.

May execute asynchronously. Allows the caller to pass in a custom list of query parameters

实现了 INetworkReplayStreamer.

◆ GetDemoPath()

virtual EStreamingOperationResult FInMemoryNetworkReplayStreamer::GetDemoPath ( FString &  DemoPath) const
inlineoverridevirtual

Gets the current base directory where Demos are stored.

Note, this will always fail for streamers that don't support replays stored on disk.

实现了 INetworkReplayStreamer.

◆ GetTickableTickType()

virtual ETickableTickType FInMemoryNetworkReplayStreamer::GetTickableTickType ( ) const
inlineoverridevirtual

Virtual that can be overloaded by the inheriting class.

It is used to determine whether an object will ever be able to tick, and if not, it will not get added to the tickable objects array. If the tickable tick type is Conditional then the virtual IsTickable will be called to determine whether to tick the object on each given frame

返回
true if object will ever want to be ticked, false otherwise.

重载 FTickableObjectBase .

◆ KeepReplay()

virtual void FInMemoryNetworkReplayStreamer::KeepReplay ( const FString &  ReplayName,
const bool  bKeep,
const FKeepReplayCallback &  Delegate 
)
overridevirtual

Used to commit a replay to permanent storage.

参数
ReplayNameName of the replay to keep.
bKeepWhether or not we actually want to keep this replay.

实现了 INetworkReplayStreamer.

◆ RenameReplay()

virtual void FInMemoryNetworkReplayStreamer::RenameReplay ( const FString &  ReplayName,
const FString &  NewName,
const FRenameReplayCallback &  Delegate 
)
overridevirtual

Used to change the name of a replay.

Note, this will change the name used to refer to the replay (if successful).

参数
ReplayNameName of the replay to rename.
NewNameThe new name for the replay.

实现了 INetworkReplayStreamer.

◆ RenameReplayFriendlyName()

virtual void FInMemoryNetworkReplayStreamer::RenameReplayFriendlyName ( const FString &  ReplayName,
const FString &  NewFriendlyName,
const FRenameReplayCallback &  Delegate 
)
overridevirtual

Used to change the friendly name of a replay.

Note, changing the friendly name does not change the name used to refer to replay.

参数
ReplayNameName of the replay to rename.
NewFriendlyNameThe new friendly name for the replay.

实现了 INetworkReplayStreamer.

◆ SetDemoPath()

virtual EStreamingOperationResult FInMemoryNetworkReplayStreamer::SetDemoPath ( const FString &  DemoPath)
inlineoverridevirtual

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.

实现了 INetworkReplayStreamer.

◆ SetTimeBufferHintSeconds()

virtual void FInMemoryNetworkReplayStreamer::SetTimeBufferHintSeconds ( const float  InTimeBufferHintSeconds)
inlineoverridevirtual

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.

实现了 INetworkReplayStreamer.


该类的文档由以下文件生成: