RealtimeStyleTransferRuntime/Source/LyraEditor/Validation/EditorValidator_SourceContr...

25 lines
626 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/Array.h"
#include "EditorValidator.h"
#include "UObject/UObjectGlobals.h"
#include "EditorValidator_SourceControl.generated.h"
class FText;
class UObject;
UCLASS()
class UEditorValidator_SourceControl : public UEditorValidator
{
GENERATED_BODY()
public:
UEditorValidator_SourceControl();
protected:
virtual bool CanValidateAsset_Implementation(UObject* InAsset) const override;
virtual EDataValidationResult ValidateLoadedAsset_Implementation(UObject* InAsset, TArray<FText>& ValidationErrors) override;
};