You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Headers are updated to contain any missing #includes needed to compile and #includes are sorted. Nothing is removed. #ushell-cherrypick of 21065253 by bryan.sefcik #jira #preflight 62d5b3e91062f2e63014598e #ROBOMERGE-AUTHOR: bryan.sefcik #ROBOMERGE-SOURCE: CL 21152630 via CL 21156388 via CL 21157044 #ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824) [CL 21181817 by bryan sefcik in ue5-main branch]
43 lines
1.4 KiB
C++
43 lines
1.4 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Containers/Array.h"
|
|
#include "ContentBrowserDataMenuContexts.h"
|
|
#include "ContentBrowserItemData.h"
|
|
#include "CoreMinimal.h"
|
|
#include "Delegates/Delegate.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
|
|
#include "ContentBrowserDataLegacyBridge.generated.h"
|
|
|
|
class FName;
|
|
class UClass;
|
|
class UFactory;
|
|
struct FARFilter;
|
|
struct FAssetData;
|
|
|
|
/** Called to add extra asset data to the asset view, to display virtual assets. These get treated similar to Class assets */
|
|
DECLARE_DELEGATE_TwoParams(FOnGetCustomSourceAssets, const FARFilter& /*SourceFilter*/, TArray<FAssetData>& /*AddedAssets*/);
|
|
|
|
/** Called to begin user controlled asset creation via the asset data source (if available) */
|
|
DECLARE_DELEGATE_FiveParams(FOnCreateNewAsset, const FName /*DefaultAssetName*/, const FName /*PackagePath*/, UClass* /*AssetClass*/, UFactory* /*Factory*/, UContentBrowserDataMenuContext_AddNewMenu::FOnBeginItemCreation /*OnBeginItemCreation*/);
|
|
|
|
/** Filter data used to provide legacy information to the asset data source */
|
|
USTRUCT()
|
|
struct CONTENTBROWSERDATA_API FContentBrowserDataLegacyFilter
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
FOnGetCustomSourceAssets OnGetCustomSourceAssets;
|
|
};
|
|
|
|
namespace ContentBrowserDataLegacyBridge
|
|
{
|
|
|
|
/** Called to begin user controlled asset creation via the asset data source (if available) */
|
|
CONTENTBROWSERDATA_API FOnCreateNewAsset& OnCreateNewAsset();
|
|
|
|
}
|