Files
UnrealEngine/Engine/Source/Editor/AssetDefinition/Public/IAssetStatusInfoProvider.h
2025-05-18 13:04:45 +08:00

24 lines
622 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "AssetRegistry/AssetData.h"
#include "Containers/UnrealString.h"
class UPackage;
class IAssetStatusInfoProvider
{
public:
virtual ~IAssetStatusInfoProvider() = default;
/** Try to find the Package without loading it, if the package is not loaded it will return nullptr */
virtual UPackage* FindPackage() const = 0;
/** Try to get the filename, return empty otherwise */
virtual FString TryGetFilename() const = 0;
/** Try to get the AssetData, return an empty FAssetData otherwise */
virtual FAssetData TryGetAssetData() const = 0;
};