Files
UnrealEngineUWP/Engine/Source/Editor/ContentBrowser/Private/CollectionAssetRegistryBridge.h
bryan sefcik 8cc129f2b6 IWYU Pass 1 - Engine/Source/Editor/...
#jira
#preflight 6306736ac85b7fef22be7751

[CL 21558583 by bryan sefcik in ue5-main branch]
2022-08-24 22:45:13 -04:00

28 lines
767 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 an asset was removed from the asset registry */
void OnAssetRemoved(const FAssetData& AssetData);
};