26 lines
728 B
C
26 lines
728 B
C
|
// 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;
|
||
|
};
|