Files
UnrealEngine/Engine/Source/Editor/ContentBrowser/Private/CollectionAssetRegistryBridge.h
2025-05-18 13:04:45 +08:00

28 lines
778 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/UnrealString.h"
struct FAssetData;
/**
* The bridge between the asset registry and the collections manager - used to update collections as certain asset events happen
*/
class FCollectionAssetRegistryBridge
{
public:
FCollectionAssetRegistryBridge();
~FCollectionAssetRegistryBridge();
private:
/** Called when the asset registry initial load has completed */
void OnAssetRegistryLoadComplete();
/** Handler for when an asset was renamed in the asset registry */
void OnAssetRenamed(const FAssetData& AssetData, const FString& OldObjectPath);
/** Handler for when assets were removed from the asset registry */
void OnAssetsRemoved(TConstArrayView<FAssetData> AssetDatas);
};