// Copyright Epic Games, Inc. All Rights Reserved. #include "AnimNextStateTreeFunctionLibraryHelper.h" #include "RigVMBlueprintGeneratedClass.h" #include "UncookedOnlyUtils.h" const TArray UAnimNextStateTreeFunctionLibraryHelper::GetExposedAnimNextFunctionNames() { // Can't cache here since the list of functions is dynamic. TArray Result; TMap FunctionExports; UE::UAF::UncookedOnly::FUtils::GetExportedFunctionsFromAssetRegistry(UE::UAF::AnimNextPublicGraphFunctionsExportsRegistryTag, FunctionExports); UE::UAF::UncookedOnly::FUtils::GetExportedFunctionsFromAssetRegistry(UE::UAF::ControlRigAssetPublicGraphFunctionsExportsRegistryTag, FunctionExports); for (const TPair& Export : FunctionExports.Array()) { for (const FRigVMGraphFunctionHeader& FunctionHeader : Export.Value.Headers) { Result.Add(FunctionHeader.Name); } } return Result; }