38 lines
949 B
C++
38 lines
949 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Editor/UnrealEdEngine.h"
|
|
#include "Engine/GameInstance.h"
|
|
#include "HAL/Platform.h"
|
|
#include "UObject/UObjectGlobals.h"
|
|
|
|
#include "LyraEditorEngine.generated.h"
|
|
|
|
class IEngineLoop;
|
|
class UObject;
|
|
|
|
|
|
UCLASS()
|
|
class ULyraEditorEngine : public UUnrealEdEngine
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
|
|
ULyraEditorEngine(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get());
|
|
|
|
protected:
|
|
|
|
virtual void Init(IEngineLoop* InEngineLoop) override;
|
|
virtual void Start() override;
|
|
virtual void Tick(float DeltaSeconds, bool bIdleMode) override;
|
|
|
|
virtual FGameInstancePIEResult PreCreatePIEInstances(const bool bAnyBlueprintErrors, const bool bStartInSpectatorMode, const float PIEStartTime, const bool bSupportsOnlinePIE, int32& InNumOnlinePIEInstances) override;
|
|
|
|
private:
|
|
void FirstTickSetup();
|
|
|
|
bool bFirstTickSetup = false;
|
|
};
|