UDataRegistrySubsystem::RegisterSpecificAsset

Attempt to register a specified asset with all active sources that allow dynamic registration, returning true if anything changed.

Windows
MacOS
Linux

References

Module

DataRegistry

Header

/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistry/Public/DataRegistrySubsystem.h

Include

#include "DataRegistrySubsystem.h"

Source

/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistry/Private/DataRegistrySubsystem.cpp

Syntax

bool RegisterSpecificAsset
(
    FDataRegistryType RegistryType,
    FAssetData & AssetData,
    int32 AssetPriority
)

Remarks

Attempt to register a specified asset with all active sources that allow dynamic registration, returning true if anything changed. This will fail if the registry does not exist yet.

Parameters

Parameter

Description

RegistryType

Type to register with, if invalid will try all registries

AssetData

Filled in asset data of asset to attempt to register AssetPriority Priority of asset relative to others, higher numbers will be searched first

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss