Files
UnrealEngineUWP/Engine/Source/Editor/RewindDebuggerInterface/Public/IRewindDebuggerExtension.h
Keith Yerex 8180e38fa9 rewind debugger interfaces refactor
- moving interfaces to engine from plugins
- get rewind debugger debug view interface out of GameplayInsights plugin
- change view system to use modular features instead of having it's own registration management
#review jurre.debaare

[CL 16986089 by Keith Yerex in ue5-main branch]
2021-07-28 15:21:01 -04:00

30 lines
902 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Features/IModularFeatures.h"
// IRewindDebuggerExtension
//
// interface class for extensions which add functionality to the rewind debugger
// these will get updated on scrub/playback to handle things like updating the world state to match recorded data from that time for a particular system
//
class IRewindDebugger;
class REWINDDEBUGGERINTERFACE_API IRewindDebuggerExtension : public IModularFeature
{
public:
static const FName ModularFeatureName;
// called while scrubbing, playing back, or paused
virtual void Update(float DeltaTime, IRewindDebugger* RewindDebugger) {};
// called when recording has started
virtual void RecordingStarted(IRewindDebugger* RewindDebugger) {};
// called when recording has ended
virtual void RecordingStopped(IRewindDebugger* RewindDebugger) {};
};