// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "Containers/Array.h" #include "Containers/UnrealString.h" #include "EditorValidator.h" #include "UObject/UObjectGlobals.h" #include "EditorValidator_Load.generated.h" class FText; class UObject; UCLASS() class UEditorValidator_Load : public UEditorValidator { GENERATED_BODY() public: UEditorValidator_Load(); virtual bool IsEnabled() const override; static bool GetLoadWarningsAndErrorsForPackage(const FString& PackageName, TArray& OutWarningsAndErrors); protected: virtual bool CanValidateAsset_Implementation(UObject* InAsset) const override; virtual EDataValidationResult ValidateLoadedAsset_Implementation(UObject* InAsset, TArray& ValidationErrors) override; private: static TArray InMemoryReloadLogIgnoreList; };