24 lines
622 B
C++
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;
|
|
};
|