Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USubsystem
- UGameInstanceSubsystem
- UReplaySubsystem
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ReplaySubsystem.h |
| Include | #include "ReplaySubsystem.h" |
Syntax
class UReplaySubsystem : public UGameInstanceSubsystem
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bLoadDefaultMapOnStop | Whether to reload the default map when StopReplay is called. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Add an event to the currently recording replay, associated with the current time | ||
| void | AddOrUpdateEvent
(
const FString& EventName, |
Add or update an existing event in the recording replay, see AddEvent as well | |
| void | AddUserToReplay
(
const FString& UserString |
Add a user to be associated with the replay (legacy) | |
| FString | Get current recording/playing replay name | ||
| float | Get current recording/playing replay time | ||
| bool | IsPlaying () |
||
| bool | IsRecording () |
||
| bool | |||
| bool | PlayReplay
(
const FString& Name, |
Begin replay playback | |
| void | RecordReplay
(
const FString& Name, |
Begin replay recording | |
| void | Request a checkpoint write, if currently recording. | ||
| void | SetCheckpointSaveMaxMSPerFrame
(
const float InCheckpointSaveMaxMSPerFrame |
Set per frame limit spent recording checkpoint data | |
| void | SetExternalDataForObject
(
UObject* OwningObject, |
Add external data associated with an object to the recording replay | |
| void | StopReplay () |
Stop replay recording/playback |
Overridden from USubsystem
| Type | Name | Description | |
|---|---|---|---|
| void | Deinitialize () |
Implement this for deinitialization of instances of the system | |
| void | Initialize
(
FSubsystemCollectionBase& Collection |
UGameInstanceSubsystem |