RealtimeStyleTransferRuntime/Source/LyraEditor/Validation/EditorValidator_Load.h

26 lines
728 B
C
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "EditorValidator.h"
#include "EditorValidator_Load.generated.h"
UCLASS()
class UEditorValidator_Load : public UEditorValidator
{
GENERATED_BODY()
public:
UEditorValidator_Load();
virtual bool IsEnabled() const override;
static bool GetLoadWarningsAndErrorsForPackage(const FString& PackageName, TArray<FString>& OutWarningsAndErrors);
protected:
virtual bool CanValidateAsset_Implementation(UObject* InAsset) const override;
virtual EDataValidationResult ValidateLoadedAsset_Implementation(UObject* InAsset, TArray<FText>& ValidationErrors) override;
private:
static TArray<FString> InMemoryReloadLogIgnoreList;
};