Files
UnrealEngine/Engine/Source/Editor/ContentBrowser/Private/CollectionAssetRegistryBridge.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05: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);
};