34 lines
965 B
C++
34 lines
965 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "ActorActionUtility.h"
|
|
|
|
#include "EditorUtilityAssetPrototype.h"
|
|
#include "EditorUtilityBlueprint.h"
|
|
#include "UObject/AssetRegistryTagsContext.h"
|
|
|
|
#define LOCTEXT_NAMESPACE "ActorActionUtility"
|
|
|
|
void UActorActionUtility::GetAssetRegistryTags(TArray<FAssetRegistryTag>& OutTags) const
|
|
{
|
|
PRAGMA_DISABLE_DEPRECATION_WARNINGS;
|
|
Super::GetAssetRegistryTags(OutTags);
|
|
PRAGMA_ENABLE_DEPRECATION_WARNINGS;
|
|
}
|
|
|
|
void UActorActionUtility::GetAssetRegistryTags(FAssetRegistryTagsContext Context) const
|
|
{
|
|
Super::GetAssetRegistryTags(Context);
|
|
|
|
const bool IsUpToDate =
|
|
!GetClass()->IsFunctionImplementedInScript("GetSupportedClass");
|
|
|
|
if (IsUpToDate)
|
|
{
|
|
FAssetActionUtilityPrototype::AddTagsFor_Version(Context);
|
|
}
|
|
|
|
FAssetActionUtilityPrototype::AddTagsFor_SupportedClasses(SupportedClasses, Context);
|
|
FAssetActionUtilityPrototype::AddTagsFor_CallableFunctions(this, Context);
|
|
}
|
|
|
|
#undef LOCTEXT_NAMESPACE |