UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UAssetRegistryImpl Class Reference

#include <AssetRegistry.h>

+ Inheritance diagram for UAssetRegistryImpl:

Public Member Functions

 UAssetRegistryImpl (const FObjectInitializer &ObjectInitializer)
 
 UAssetRegistryImpl (FVTableHelper &Helper)
 
virtual ~UAssetRegistryImpl ()
 
virtual void FinishDestroy () override
 
virtual bool HasAssets (const FName PackagePath, const bool bRecursive=false) const override
 
virtual bool GetAssetsByPackageName (FName PackageName, TArray< FAssetData > &OutAssetData, bool bIncludeOnlyOnDiskAssets=false, bool bSkipARFilteredAssets=true) const override
 
virtual bool GetAssetsByPath (FName PackagePath, TArray< FAssetData > &OutAssetData, bool bRecursive=false, bool bIncludeOnlyOnDiskAssets=false) const override
 
virtual bool GetAssetsByPaths (TArray< FName > PackagePath, TArray< FAssetData > &OutAssetData, bool bRecursive=false, bool bIncludeOnlyOnDiskAssets=false) const override
 
virtual bool GetAssetsByClass (FTopLevelAssetPath ClassPathName, TArray< FAssetData > &OutAssetData, bool bSearchSubClasses=false) const override
 
virtual bool GetAssetsByTags (const TArray< FName > &AssetTags, TArray< FAssetData > &OutAssetData) const override
 
virtual bool GetAssetsByTagValues (const TMultiMap< FName, FString > &AssetTagsAndValues, TArray< FAssetData > &OutAssetData) const override
 
virtual bool GetAssets (const FARFilter &Filter, TArray< FAssetData > &OutAssetData, bool bSkipARFilteredAssets=true) const override
 
virtual bool GetAssets (const FARCompiledFilter &Filter, TArray< FAssetData > &OutAssetData, bool bSkipARFilteredAssets=true) const override
 
virtual bool GetInMemoryAssets (const FARFilter &Filter, TArray< FAssetData > &OutAssetData, bool bSkipARFilteredAssets=true) const override
 
virtual bool GetInMemoryAssets (const FARCompiledFilter &Filter, TArray< FAssetData > &OutAssetData, bool bSkipARFilteredAssets=true) const override
 
virtual bool EnumerateAssets (const FARFilter &Filter, TFunctionRef< bool(const FAssetData &)> Callback, UE::AssetRegistry::EEnumerateAssetsFlags InEnumerateFlags=UE::AssetRegistry::EEnumerateAssetsFlags::None) const override
 
virtual bool EnumerateAssets (const FARCompiledFilter &Filter, TFunctionRef< bool(const FAssetData &)> Callback, UE::AssetRegistry::EEnumerateAssetsFlags InEnumerateFlags=UE::AssetRegistry::EEnumerateAssetsFlags::None) const override
 
virtual FAssetData GetAssetByObjectPath (const FName ObjectPath, bool bIncludeOnlyOnDiskAssets=false) const override
 
virtual FAssetData GetAssetByObjectPath (const FSoftObjectPath &ObjectPath, bool bIncludeOnlyOnDiskAssets=false, bool bSkipARFilteredAssets=true) const override
 
virtual UE::AssetRegistry::EExists TryGetAssetByObjectPath (const FSoftObjectPath &ObjectPath, FAssetData &OutAssetData) const override
 
virtual UE::AssetRegistry::EExists TryGetAssetPackageData (const FName PackageName, FAssetPackageData &OutAssetPackageData) const override
 
virtual UE::AssetRegistry::EExists TryGetAssetPackageData (const FName PackageName, FAssetPackageData &OutAssetPackageData, FName &OutCorrectCasePackageName) const override
 
virtual bool GetAllAssets (TArray< FAssetData > &OutAssetData, bool bIncludeOnlyOnDiskAssets=false) const override
 
virtual bool EnumerateAllAssets (TFunctionRef< bool(const FAssetData &)> Callback, UE::AssetRegistry::EEnumerateAssetsFlags InEnumerateFlags=UE::AssetRegistry::EEnumerateAssetsFlags::None) const override
 
virtual void GetPackagesByName (FStringView PackageName, TArray< FName > &OutPackageNames) const override
 
virtual FName GetFirstPackageByName (FStringView PackageName) const override
 
virtual bool GetDependencies (const FAssetIdentifier &AssetIdentifier, TArray< FAssetIdentifier > &OutDependencies, UE::AssetRegistry::EDependencyCategory Category=UE::AssetRegistry::EDependencyCategory::All, const UE::AssetRegistry::FDependencyQuery &Flags=UE::AssetRegistry::FDependencyQuery()) const override
 
virtual bool GetDependencies (const FAssetIdentifier &AssetIdentifier, TArray< FAssetDependency > &OutDependencies, UE::AssetRegistry::EDependencyCategory Category=UE::AssetRegistry::EDependencyCategory::All, const UE::AssetRegistry::FDependencyQuery &Flags=UE::AssetRegistry::FDependencyQuery()) const override
 
virtual bool GetDependencies (FName PackageName, TArray< FName > &OutDependencies, UE::AssetRegistry::EDependencyCategory Category=UE::AssetRegistry::EDependencyCategory::Package, const UE::AssetRegistry::FDependencyQuery &Flags=UE::AssetRegistry::FDependencyQuery()) const override
 
virtual bool ContainsDependency (FName PackageName, FName QueryDependencyName, UE::AssetRegistry::EDependencyCategory Category=UE::AssetRegistry::EDependencyCategory::Package, const UE::AssetRegistry::FDependencyQuery &Flags=UE::AssetRegistry::FDependencyQuery()) const override
 
virtual bool GetReferencers (const FAssetIdentifier &AssetIdentifier, TArray< FAssetIdentifier > &OutReferencers, UE::AssetRegistry::EDependencyCategory Category=UE::AssetRegistry::EDependencyCategory::All, const UE::AssetRegistry::FDependencyQuery &Flags=UE::AssetRegistry::FDependencyQuery()) const override
 
virtual bool GetReferencers (const FAssetIdentifier &AssetIdentifier, TArray< FAssetDependency > &OutReferencers, UE::AssetRegistry::EDependencyCategory Category=UE::AssetRegistry::EDependencyCategory::All, const UE::AssetRegistry::FDependencyQuery &Flags=UE::AssetRegistry::FDependencyQuery()) const override
 
virtual bool GetReferencers (FName PackageName, TArray< FName > &OutReferencers, UE::AssetRegistry::EDependencyCategory Category=UE::AssetRegistry::EDependencyCategory::Package, const UE::AssetRegistry::FDependencyQuery &Flags=UE::AssetRegistry::FDependencyQuery()) const override
 
virtual TOptional< FAssetPackageDataGetAssetPackageDataCopy (FName PackageName) const override
 
virtual TArray< TOptional< FAssetPackageData > > GetAssetPackageDatasCopy (TArrayView< FName > PackageNames) const override
 
virtual void EnumerateAllPackages (TFunctionRef< void(FName PackageName, const FAssetPackageData &PackageData)> Callback, UE::AssetRegistry::EEnumeratePackagesFlags InEnumerateFlags) const override
 
virtual bool DoesPackageExistOnDisk (FName PackageName, FString *OutCorrectCasePackageName=nullptr, FString *OutExtension=nullptr) const override
 
virtual FSoftObjectPath GetRedirectedObjectPath (const FSoftObjectPath &ObjectPath) override
 
virtual bool GetAncestorClassNames (FTopLevelAssetPath ClassName, TArray< FTopLevelAssetPath > &OutAncestorClassNames) const override
 
virtual void GetDerivedClassNames (const TArray< FTopLevelAssetPath > &ClassNames, const TSet< FTopLevelAssetPath > &ExcludedClassNames, TSet< FTopLevelAssetPath > &OutDerivedClassNames) const override
 
virtual void GetAllCachedPaths (TArray< FString > &OutPathList) const override
 
virtual void EnumerateAllCachedPaths (TFunctionRef< bool(FString)> Callback) const override
 
virtual void EnumerateAllCachedPaths (TFunctionRef< bool(FName)> Callback) const override
 
virtual void GetSubPaths (const FString &InBasePath, TArray< FString > &OutPathList, bool bInRecurse) const override
 
virtual void GetSubPaths (const FName &InBasePath, TArray< FName > &OutPathList, bool bInRecurse) const override
 
virtual void EnumerateSubPaths (const FString &InBasePath, TFunctionRef< bool(FString)> Callback, bool bInRecurse) const override
 
virtual void EnumerateSubPaths (const FName InBasePath, TFunctionRef< bool(FName)> Callback, bool bInRecurse) const override
 
virtual void RunAssetsThroughFilter (TArray< FAssetData > &AssetDataList, const FARFilter &Filter) const override
 
virtual void UseFilterToExcludeAssets (TArray< FAssetData > &AssetDataList, const FARFilter &Filter) const override
 
virtual void UseFilterToExcludeAssets (TArray< FAssetData > &AssetDataList, const FARCompiledFilter &CompiledFilter) const override
 
virtual bool IsAssetIncludedByFilter (const FAssetData &AssetData, const FARCompiledFilter &Filter) const override
 
virtual bool IsAssetExcludedByFilter (const FAssetData &AssetData, const FARCompiledFilter &Filter) const override
 
virtual void CompileFilter (const FARFilter &InFilter, FARCompiledFilter &OutCompiledFilter) const override
 
virtual void SetTemporaryCachingMode (bool bEnable) override
 
virtual void SetTemporaryCachingModeInvalidated () override
 
virtual bool GetTemporaryCachingMode () const override
 
virtual EAssetAvailability::Type GetAssetAvailability (const FAssetData &AssetData) const override
 
virtual float GetAssetAvailabilityProgress (const FAssetData &AssetData, EAssetAvailabilityProgressReportingType::Type ReportType) const override
 
virtual bool GetAssetAvailabilityProgressTypeSupported (EAssetAvailabilityProgressReportingType::Type ReportType) const override
 
virtual void PrioritizeAssetInstall (const FAssetData &AssetData) const override
 
virtual bool HasVerseFiles (FName PackagePath, bool bRecursive=false) const override
 
virtual bool GetVerseFilesByPath (FName PackagePath, TArray< FName > &OutFilePaths, bool bRecursive=false) const override
 
virtual bool AddPath (const FString &PathToAdd) override
 
virtual bool RemovePath (const FString &PathToRemove) override
 
virtual bool PathExists (const FString &PathToTest) const override
 
virtual bool PathExists (const FName PathToTest) const override
 
virtual void SearchAllAssets (bool bSynchronousSearch) override
 
virtual bool IsSearchAllAssets () const override
 
virtual bool IsSearchAsync () const override
 
virtual void WaitForCompletion () override
 
virtual void WaitForPremadeAssetRegistry () override
 
virtual void ClearGathererCache () override
 
virtual void WaitForPackage (const FString &PackageName) override
 
virtual void ScanSynchronous (const TArray< FString > &InPaths, const TArray< FString > &InFilePaths, UE::AssetRegistry::EScanFlags InScanFlags=UE::AssetRegistry::EScanFlags::None) override
 
virtual void ScanPathsSynchronous (const TArray< FString > &InPaths, bool bForceRescan=false, bool bIgnoreDenyListScanFilters=false) override
 
virtual void ScanFilesSynchronous (const TArray< FString > &InFilePaths, bool bForceRescan=false) override
 
virtual void PrioritizeSearchPath (const FString &PathToPrioritize) override
 
virtual void ScanModifiedAssetFiles (const TArray< FString > &InFilePaths) override
 
virtual void ScanModifiedAssetFiles (const TArray< FString > &InFilePaths, UE::AssetRegistry::EScanFlags ScanFlags) override
 
virtual void Serialize (FArchive &Ar) override
 
virtual void AppendState (const FAssetRegistryState &InState, UE::AssetRegistry::EAppendMode AppendMode=UE::AssetRegistry::EAppendMode::Append) override
 
virtual SIZE_T GetAllocatedSize (bool bLogDetailed=false) const override
 
virtual void LoadPackageRegistryData (FArchive &Ar, FLoadPackageRegistryData &InOutData) const override
 
virtual void LoadPackageRegistryData (const FString &PackageFilename, FLoadPackageRegistryData &InOutData) const override
 
virtual void InitializeTemporaryAssetRegistryState (FAssetRegistryState &OutState, const FAssetRegistrySerializationOptions &Options, bool bRefreshExisting=false, const TSet< FName > &RequiredPackages=TSet< FName >(), const TSet< FName > &RemovePackages=TSet< FName >()) const override
 
virtual TSet< FNameGetCachedEmptyPackagesCopy () const override
 
virtual bool ContainsTag (FName TagName) const override
 
virtual void InitializeSerializationOptions (FAssetRegistrySerializationOptions &Options, const ITargetPlatform *TargetPlatform=nullptr, UE::AssetRegistry::ESerializationTarget Target=UE::AssetRegistry::ESerializationTarget::ForGame) const override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FFilesBlockedEvent, FFilesBlockedEvent)
 
virtual FFilesBlockedEventOnFilesBlocked () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FPathsEvent, FPathsEvent)
 
virtual FPathsEventOnPathsAdded () override
 
virtual FPathsEventOnPathsRemoved () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FPathAddedEvent, FPathAddedEvent)
 
virtual FPathAddedEventOnPathAdded () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FPathRemovedEvent, FPathRemovedEvent)
 
virtual FPathRemovedEventOnPathRemoved () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FScanStartedEvent, FScanStartedEvent)
 
virtual FScanStartedEventOnScanStarted () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FScanEndedEvent, FScanEndedEvent)
 
virtual FScanEndedEventOnScanEnded () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FKnownGathersCompleteEvent, FKnownGathersCompleteEvent)
 
virtual FKnownGathersCompleteEventOnKnownGathersComplete () override
 
virtual void AssetCreated (UObject *NewAsset) override
 
virtual void AssetDeleted (UObject *DeletedAsset) override
 
virtual void AssetRenamed (const UObject *RenamedAsset, const FString &OldObjectPath) override
 
virtual void AssetsSaved (TArray< FAssetData > &&SavedAssets) override
 
virtual void AssetUpdateTags (UObject *Object, EAssetRegistryTagsCaller Caller) override
 
virtual void AssetTagsFinalized (const UObject &FinalizedAsset) override
 
virtual bool VerseCreated (const FString &FilePath) override
 
virtual bool VerseDeleted (const FString &FilePath) override
 
virtual void PackageDeleted (UPackage *DeletedPackage) override
 
virtual IAssetRegistry::FAssetCollisionEvent & OnAssetCollision_Private () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FAssetAddedEvent, FAssetAddedEvent)
 
virtual FAssetAddedEventOnAssetAdded () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FAssetRemovedEvent, FAssetRemovedEvent)
 
virtual FAssetRemovedEventOnAssetRemoved () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FAssetRenamedEvent, FAssetRenamedEvent)
 
virtual FAssetRenamedEventOnAssetRenamed () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FAssetUpdatedEvent, FAssetUpdatedEvent)
 
virtual FAssetUpdatedEventOnAssetUpdated () override
 
virtual FAssetUpdatedEventOnAssetUpdatedOnDisk () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FAssetsEvent, FAssetsEvent)
 
virtual FAssetsEventOnAssetsAdded () override
 
virtual FAssetsEventOnAssetsRemoved () override
 
virtual FAssetsEventOnAssetsUpdated () override
 
virtual FAssetsEventOnAssetsUpdatedOnDisk () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FInMemoryAssetCreatedEvent, FInMemoryAssetCreatedEvent)
 
virtual FInMemoryAssetCreatedEventOnInMemoryAssetCreated () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FInMemoryAssetDeletedEvent, FInMemoryAssetDeletedEvent)
 
virtual FInMemoryAssetDeletedEventOnInMemoryAssetDeleted () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FVerseAddedEvent, FVerseAddedEvent)
 
virtual FVerseAddedEventOnVerseAdded () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FVerseRemovedEvent, FVerseRemovedEvent)
 
virtual FVerseRemovedEventOnVerseRemoved () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FFilesLoadedEvent, FFilesLoadedEvent)
 
virtual FFilesLoadedEventOnFilesLoaded () override
 
 DECLARE_DERIVED_EVENT (UAssetRegistryImpl, IAssetRegistry::FFileLoadProgressUpdatedEvent, FFileLoadProgressUpdatedEvent)
 
virtual FFileLoadProgressUpdatedEventOnFileLoadProgressUpdated () override
 
virtual bool IsLoadingAssets () const override
 
virtual bool IsGathering () const override
 
virtual bool HasSerializedDiscoveryCache () const override
 
virtual bool ShouldUpdateDiskCacheAfterLoad () const override
 
virtual void Tick (float DeltaTime) override
 
virtual void ReadLockEnumerateAllTagToAssetDatas (TFunctionRef< bool(FName TagName, IAssetRegistry::FEnumerateAssetDatasFunc EnumerateAssets)> Callback) const override
 
virtual bool IsPathBeautificationNeeded (const FString &InAssetPath) const override
 
UE::AssetRegistry::Impl::EGatherStatus TickOnBackgroundThread ()
 
virtual FEnumerateAssetsEventOnEnumerateAssetsEvent () override
 
- Public Member Functions inherited from UObject
COREUOBJECT_API UObject ()
 
COREUOBJECT_API UObject (const FObjectInitializer &ObjectInitializer)
 
COREUOBJECT_API UObject (EStaticConstructor, EObjectFlags InFlags)
 
COREUOBJECT_API UObject (FVTableHelper &Helper)
 
COREUOBJECT_API UObjectCreateDefaultSubobject (FName SubobjectFName, UClass *ReturnType, UClass *ClassToCreateByDefault, bool bIsRequired, bool bIsTransient)
 
template<class TReturnType >
TReturnTypeCreateEditorOnlyDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType >
TReturnTypeCreateDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType , class TClassToConstructByDefault >
TReturnTypeCreateDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType >
TReturnTypeCreateOptionalDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType , class TClassToConstructByDefault >
TReturnTypeCreateOptionalDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
COREUOBJECT_API void GetDefaultSubobjects (TArray< UObject * > &OutDefaultSubobjects)
 
COREUOBJECT_API UObjectGetDefaultSubobjectByName (FName ToFind)
 
virtual COREUOBJECT_API void PostInitProperties ()
 
virtual COREUOBJECT_API void PostReinitProperties ()
 
virtual void PostCDOContruct ()
 
virtual COREUOBJECT_API void PreSaveRoot (FObjectPreSaveRootContext ObjectSaveContext)
 
virtual COREUOBJECT_API void PostSaveRoot (FObjectPostSaveRootContext ObjectSaveContext)
 
virtual COREUOBJECT_API void PreSave (FObjectPreSaveContext SaveContext)
 
virtual COREUOBJECT_API void CollectSaveOverrides (FObjectCollectSaveOverridesContext SaveContext)
 
UE_FORCEINLINE_HINT bool Modify (bool bAlwaysMarkDirty=true)
 
UE_FORCEINLINE_HINT bool IsCapturingAsRootObjectForTransaction () const
 
virtual bool ResolveSubobject (const TCHAR *SubObjectPath, UObject *&OutObject, bool bLoadIfExists)
 
virtual bool IsReadyForAsyncPostLoad () const
 
virtual COREUOBJECT_API void PostLoad ()
 
virtual COREUOBJECT_API void PostLoadSubobjects (FObjectInstancingGraph *OuterInstanceGraph)
 
virtual COREUOBJECT_API void BeginDestroy ()
 
virtual bool IsReadyForFinishDestroy ()
 
virtual COREUOBJECT_API void Serialize (FStructuredArchive::FRecord Record)
 
virtual void ShutdownAfterError ()
 
virtual void PostInterpChange (FProperty *PropertyThatChanged)
 
virtual COREUOBJECT_API void PostRename (UObject *OldOuter, const FName OldName)
 
virtual void PreDuplicate (FObjectDuplicationParameters &DupParams)
 
virtual void PostDuplicate (bool bDuplicateForPIE)
 
virtual void PostDuplicate (EDuplicateMode::Type DuplicateMode)
 
virtual COREUOBJECT_API bool NeedsLoadForClient () const
 
virtual COREUOBJECT_API bool NeedsLoadForServer () const
 
virtual COREUOBJECT_API bool NeedsLoadForTargetPlatform (const class ITargetPlatform *TargetPlatform) const
 
virtual bool NeedsLoadForEditorGame () const
 
virtual bool IsEditorOnly () const
 
virtual bool HasNonEditorOnlyReferences () const
 
virtual bool IsPostLoadThreadSafe () const
 
virtual COREUOBJECT_API bool IsDestructionThreadSafe () const
 
virtual COREUOBJECT_API void GetPreloadDependencies (TArray< UObject * > &OutDeps)
 
virtual void GetPrestreamPackages (TArray< UObject * > &OutPrestream)
 
virtual void ExportCustomProperties (FOutputDevice &Out, uint32 Indent)
 
virtual void ImportCustomProperties (const TCHAR *SourceText, FFeedbackContext *Warn)
 
virtual void PostEditImport ()
 
virtual void PostReloadConfig (class FProperty *PropertyThatWasLoaded)
 
virtual COREUOBJECT_API bool Rename (const TCHAR *NewName=nullptr, UObject *NewOuter=nullptr, ERenameFlags Flags=REN_None)
 
virtual FString GetDesc ()
 
COREUOBJECT_API UScriptStructGetSparseClassDataStruct () const
 
virtual bool GetNativePropertyValues (TMap< FString, FString > &out_PropertyValues, uint32 ExportFlags=0) const
 
virtual COREUOBJECT_API void GetResourceSizeEx (FResourceSizeEx &CumulativeResourceSize)
 
SIZE_T GetResourceSizeBytes (EResourceSizeMode::Type Mode)
 
virtual FName GetExporterName (void)
 
COREUOBJECT_API void CallAddReferencedObjects (FReferenceCollector &Collector)
 
virtual FRestoreForUObjectOverwriteGetRestoreForUObjectOverwrite ()
 
virtual bool AreNativePropertiesIdenticalTo (UObject *Other) const
 
virtual COREUOBJECT_API void GetAssetRegistryTags (FAssetRegistryTagsContext Context) const
 
virtual COREUOBJECT_API void GetAssetRegistryTags (TArray< FAssetRegistryTag > &OutTags) const
 
COREUOBJECT_API void GetAssetRegistryTags (FAssetData &Out) const
 
COREUOBJECT_API void GetAssetRegistryTags (FAssetRegistryTagsContext Context, FAssetData &Out) const
 
virtual COREUOBJECT_API bool IsAsset () const
 
virtual COREUOBJECT_API FPrimaryAssetId GetPrimaryAssetId () const
 
virtual COREUOBJECT_API bool IsLocalizedResource () const
 
virtual COREUOBJECT_API bool IsSafeForRootSet () const
 
virtual COREUOBJECT_API void TagSubobjects (EObjectFlags NewFlags)
 
virtual COREUOBJECT_API void GetLifetimeReplicatedProps (TArray< class FLifetimeProperty > &OutLifetimeProps) const
 
virtual COREUOBJECT_API void GetReplicatedCustomConditionState (FCustomPropertyConditionState &OutActiveState) const
 
virtual COREUOBJECT_API void RegisterReplicationFragments (UE::Net::FFragmentRegistrationContext &Context, UE::Net::EFragmentRegistrationFlags RegistrationFlags)
 
virtual COREUOBJECT_API bool IsNameStableForNetworking () const
 
virtual COREUOBJECT_API bool IsFullNameStableForNetworking () const
 
virtual COREUOBJECT_API bool IsSupportedForNetworking () const
 
virtual void GetSubobjectsWithStableNamesForNetworking (TArray< UObject * > &ObjList)
 
virtual COREUOBJECT_API void PreNetReceive ()
 
virtual COREUOBJECT_API void PostNetReceive ()
 
virtual void PostRepNotifies ()
 
virtual COREUOBJECT_API void PreDestroyFromReplication ()
 
COREUOBJECT_API bool IsSelected () const
 
COREUOBJECT_API void SerializeScriptProperties (FArchive &Ar) const
 
COREUOBJECT_API void SerializeScriptProperties (FStructuredArchive::FSlot Slot) const
 
COREUOBJECT_API void ReinitializeProperties (UObject *SourceObject=NULL, struct FObjectInstancingGraph *InstanceGraph=NULL)
 
COREUOBJECT_API FString GetDetailedInfo () const
 
COREUOBJECT_API bool ConditionalBeginDestroy ()
 
COREUOBJECT_API bool ConditionalFinishDestroy ()
 
COREUOBJECT_API void ConditionalPostLoad ()
 
COREUOBJECT_API void ConditionalPreload ()
 
COREUOBJECT_API void ConditionalPostLoadSubobjects (struct FObjectInstancingGraph *OuterInstanceGraph=NULL)
 
bool IsBasedOnArchetype (const UObject *const SomeObject) const
 
COREUOBJECT_API UFunctionFindFunction (FName InName) const
 
COREUOBJECT_API UFunctionFindFunctionChecked (FName InName) const
 
virtual COREUOBJECT_API void BuildSubobjectMapping (UObject *OtherObject, TMap< UObject *, UObject * > &ObjectMapping) const
 
COREUOBJECT_API void CollectDefaultSubobjects (TArray< UObject * > &OutDefaultSubobjects, bool bIncludeNestedSubobjects=false) const
 
COREUOBJECT_API bool CheckDefaultSubobjects (bool bForceCheck=false) const
 
COREUOBJECT_API void SaveConfig (uint64 RequiredPropertyFlags=CPF_Config, const TCHAR *Filename=nullptr, FConfigCacheIni *Config=GConfig, bool bAllowCopyToDefaultObject=true)
 
COREUOBJECT_API void SaveConfig (const FSaveConfigContext &Context)
 
COREUOBJECT_API void UpdateDefaultConfigFile (const FString &SpecificFileLocation="")
 
COREUOBJECT_API bool TryUpdateDefaultConfigFile (const FString &SpecificFileLocation="", bool bWarnIfFail=true)
 
COREUOBJECT_API void UpdateGlobalUserConfigFile ()
 
COREUOBJECT_API void UpdateProjectUserConfigFile ()
 
COREUOBJECT_API void UpdateSinglePropertyInConfigFile (const FProperty *InProperty, const FString &InConfigIniName)
 
COREUOBJECT_API FString GetDefaultConfigFilename () const
 
COREUOBJECT_API FString GetGlobalUserConfigFilename () const
 
COREUOBJECT_API FString GetProjectUserConfigFilename () const
 
virtual const TCHARGetConfigOverridePlatform () const
 
virtual void OverrideConfigSection (FString &SectionName)
 
virtual void OverridePerObjectConfigSection (FString &SectionName)
 
COREUOBJECT_API void LoadConfig (UClass *ConfigClass=nullptr, const TCHAR *Filename=nullptr, uint32 PropagationFlags=UE::LCPF_None, class FProperty *PropertyToLoad=nullptr, TArray< UE::ConfigAccessTracking::FConfigAccessData > *OutAccessedKeys=nullptr)
 
COREUOBJECT_API void ReloadConfig (UClass *ConfigClass=NULL, const TCHAR *Filename=NULL, uint32 PropagationFlags=UE::LCPF_None, class FProperty *PropertyToLoad=NULL)
 
COREUOBJECT_API void ParseParms (const TCHAR *Parms)
 
COREUOBJECT_API void OutputReferencers (FOutputDevice &Ar, FReferencerInformationList *Referencers=NULL)
 
COREUOBJECT_API void RetrieveReferencers (TArray< FReferencerInformation > *OutInternalReferencers, TArray< FReferencerInformation > *OutExternalReferencers)
 
COREUOBJECT_API void SetLinker (FLinkerLoad *LinkerLoad, int32 LinkerIndex, bool bShouldDetachExisting=true, bool bSilenceLogs=false)
 
COREUOBJECT_API UObjectGetArchetype () const
 
COREUOBJECT_API void GetArchetypeInstances (TArray< UObject * > &Instances)
 
COREUOBJECT_API void InstanceSubobjectTemplates (struct FObjectInstancingGraph *InstanceGraph=NULL)
 
template<class T >
bool Implements () const
 
virtual COREUOBJECT_API void ProcessEvent (UFunction *Function, void *Parms)
 
virtual int32 GetFunctionCallspace (UFunction *Function, FFrame *Stack)
 
virtual bool CallRemoteFunction (UFunction *Function, void *Parms, struct FOutParmRec *OutParms, FFrame *Stack)
 
COREUOBJECT_API bool CallFunctionByNameWithArguments (const TCHAR *Cmd, FOutputDevice &Ar, UObject *Executor, bool bForceCallWithNonExec=false)
 
COREUOBJECT_API void CallFunction (FFrame &Stack, RESULT_DECL, UFunction *Function)
 
 DECLARE_FUNCTION (ProcessInternal)
 
virtual bool ProcessConsoleExec (const TCHAR *Cmd, FOutputDevice &Ar, UObject *Executor)
 
COREUOBJECT_API void SkipFunction (FFrame &Stack, RESULT_DECL, UFunction *Function)
 
virtual UClassRegenerateClass (UClass *ClassToRegenerate, UObject *PreviousCDO)
 
COREUOBJECT_API bool IsInBlueprint () const
 
COREUOBJECT_API void DestroyNonNativeProperties ()
 
virtual void MarkAsEditorOnlySubobject ()
 
COREUOBJECT_API void AbortInsideMemberFunction () const
 
 DECLARE_FUNCTION (execUndefined)
 
 DECLARE_FUNCTION (execLocalVariable)
 
 DECLARE_FUNCTION (execInstanceVariable)
 
 DECLARE_FUNCTION (execDefaultVariable)
 
 DECLARE_FUNCTION (execLocalOutVariable)
 
 DECLARE_FUNCTION (execInterfaceVariable)
 
 DECLARE_FUNCTION (execClassSparseDataVariable)
 
 DECLARE_FUNCTION (execInterfaceContext)
 
 DECLARE_FUNCTION (execArrayElement)
 
 DECLARE_FUNCTION (execBoolVariable)
 
 DECLARE_FUNCTION (execClassDefaultVariable)
 
 DECLARE_FUNCTION (execEndFunctionParms)
 
 DECLARE_FUNCTION (execNothing)
 
 DECLARE_FUNCTION (execNothingInt32)
 
 DECLARE_FUNCTION (execNothingOp4a)
 
 DECLARE_FUNCTION (execBreakpoint)
 
 DECLARE_FUNCTION (execTracepoint)
 
 DECLARE_FUNCTION (execWireTracepoint)
 
 DECLARE_FUNCTION (execInstrumentation)
 
 DECLARE_FUNCTION (execEndOfScript)
 
 DECLARE_FUNCTION (execReturnNothing)
 
 DECLARE_FUNCTION (execEmptyParmValue)
 
 DECLARE_FUNCTION (execJump)
 
 DECLARE_FUNCTION (execJumpIfNot)
 
 DECLARE_FUNCTION (execAssert)
 
 DECLARE_FUNCTION (execPushExecutionFlow)
 
 DECLARE_FUNCTION (execPopExecutionFlow)
 
 DECLARE_FUNCTION (execComputedJump)
 
 DECLARE_FUNCTION (execPopExecutionFlowIfNot)
 
 DECLARE_FUNCTION (execLet)
 
 DECLARE_FUNCTION (execLetObj)
 
 DECLARE_FUNCTION (execLetWeakObjPtr)
 
 DECLARE_FUNCTION (execLetBool)
 
 DECLARE_FUNCTION (execLetDelegate)
 
 DECLARE_FUNCTION (execLetMulticastDelegate)
 
 DECLARE_FUNCTION (execAddMulticastDelegate)
 
 DECLARE_FUNCTION (execClearMulticastDelegate)
 
 DECLARE_FUNCTION (execEatReturnValue)
 
 DECLARE_FUNCTION (execRemoveMulticastDelegate)
 
 DECLARE_FUNCTION (execSelf)
 
 DECLARE_FUNCTION (execContext)
 
 DECLARE_FUNCTION (execContext_FailSilent)
 
 DECLARE_FUNCTION (execStructMemberContext)
 
 DECLARE_FUNCTION (execVirtualFunction)
 
 DECLARE_FUNCTION (execFinalFunction)
 
 DECLARE_FUNCTION (execLocalVirtualFunction)
 
 DECLARE_FUNCTION (execLocalFinalFunction)
 
 DECLARE_FUNCTION (execStructCmpEq)
 
 DECLARE_FUNCTION (execStructCmpNe)
 
 DECLARE_FUNCTION (execStructMember)
 
 DECLARE_FUNCTION (execEqualEqual_DelegateDelegate)
 
 DECLARE_FUNCTION (execNotEqual_DelegateDelegate)
 
 DECLARE_FUNCTION (execEqualEqual_DelegateFunction)
 
 DECLARE_FUNCTION (execNotEqual_DelegateFunction)
 
 DECLARE_FUNCTION (execIntConst)
 
 DECLARE_FUNCTION (execInt64Const)
 
 DECLARE_FUNCTION (execUInt64Const)
 
 DECLARE_FUNCTION (execSkipOffsetConst)
 
 DECLARE_FUNCTION (execFloatConst)
 
 DECLARE_FUNCTION (execDoubleConst)
 
 DECLARE_FUNCTION (execStringConst)
 
 DECLARE_FUNCTION (execUnicodeStringConst)
 
 DECLARE_FUNCTION (execTextConst)
 
 DECLARE_FUNCTION (execPropertyConst)
 
 DECLARE_FUNCTION (execObjectConst)
 
 DECLARE_FUNCTION (execSoftObjectConst)
 
 DECLARE_FUNCTION (execFieldPathConst)
 
 DECLARE_FUNCTION (execInstanceDelegate)
 
 DECLARE_FUNCTION (execNameConst)
 
 DECLARE_FUNCTION (execByteConst)
 
 DECLARE_FUNCTION (execIntZero)
 
 DECLARE_FUNCTION (execIntOne)
 
 DECLARE_FUNCTION (execTrue)
 
 DECLARE_FUNCTION (execFalse)
 
 DECLARE_FUNCTION (execNoObject)
 
 DECLARE_FUNCTION (execNullInterface)
 
 DECLARE_FUNCTION (execIntConstByte)
 
 DECLARE_FUNCTION (execRotationConst)
 
 DECLARE_FUNCTION (execVectorConst)
 
 DECLARE_FUNCTION (execVector3fConst)
 
 DECLARE_FUNCTION (execTransformConst)
 
 DECLARE_FUNCTION (execStructConst)
 
 DECLARE_FUNCTION (execSetArray)
 
 DECLARE_FUNCTION (execSetSet)
 
 DECLARE_FUNCTION (execSetMap)
 
 DECLARE_FUNCTION (execArrayConst)
 
 DECLARE_FUNCTION (execSetConst)
 
 DECLARE_FUNCTION (execMapConst)
 
 DECLARE_FUNCTION (execBitFieldConst)
 
 DECLARE_FUNCTION (execNew)
 
 DECLARE_FUNCTION (execClassContext)
 
 DECLARE_FUNCTION (execNativeParm)
 
 DECLARE_FUNCTION (execCast)
 
 DECLARE_FUNCTION (execDynamicCast)
 
 DECLARE_FUNCTION (execMetaCast)
 
 DECLARE_FUNCTION (execInterfaceCast)
 
 DECLARE_FUNCTION (execDoubleToFloatCast)
 
 DECLARE_FUNCTION (execFloatToDoubleCast)
 
 DECLARE_FUNCTION (execObjectToBool)
 
 DECLARE_FUNCTION (execInterfaceToBool)
 
 DECLARE_FUNCTION (execObjectToInterface)
 
 DECLARE_FUNCTION (execInterfaceToInterface)
 
 DECLARE_FUNCTION (execInterfaceToObject)
 
 DECLARE_FUNCTION (execGetDynArrayElement)
 
 DECLARE_FUNCTION (execSetDynArrayElement)
 
 DECLARE_FUNCTION (execGetDynArrayLength)
 
 DECLARE_FUNCTION (execSetDynArrayLength)
 
 DECLARE_FUNCTION (execDynArrayInsert)
 
 DECLARE_FUNCTION (execDynArrayRemove)
 
 DECLARE_FUNCTION (execDynArrayFind)
 
 DECLARE_FUNCTION (execDynArrayFindStruct)
 
 DECLARE_FUNCTION (execDynArrayAdd)
 
 DECLARE_FUNCTION (execDynArrayAddItem)
 
 DECLARE_FUNCTION (execDynArrayInsertItem)
 
 DECLARE_FUNCTION (execDynArrayRemoveItem)
 
 DECLARE_FUNCTION (execDynArraySort)
 
 DECLARE_FUNCTION (execBindDelegate)
 
 DECLARE_FUNCTION (execCallMulticastDelegate)
 
 DECLARE_FUNCTION (execLetValueOnPersistentFrame)
 
 DECLARE_FUNCTION (execCallMathFunction)
 
 DECLARE_FUNCTION (execSwitchValue)
 
 DECLARE_FUNCTION (execArrayGetByRef)
 
 DECLARE_FUNCTION (execAutoRtfmTransact)
 
 DECLARE_FUNCTION (execAutoRtfmStopTransact)
 
 DECLARE_FUNCTION (execAutoRtfmAbortIfNot)
 
void ExecuteUbergraph (int32 EntryPoint)
 
virtual void ValidateGeneratedRepEnums (const TArray< struct FRepRecord > &ClassReps) const
 
virtual uint64 GetNetPushIdDynamic () const
 
- Public Member Functions inherited from UObjectBaseUtility
 UObjectBaseUtility ()
 
 UObjectBaseUtility (EObjectFlags InFlags)
 
void SetFlags (EObjectFlags NewFlags)
 
void ClearFlags (EObjectFlags FlagsToClear)
 
bool HasAnyFlags (EObjectFlags FlagsToCheck) const
 
bool HasAllFlags (EObjectFlags FlagsToCheck) const
 
UE_FORCEINLINE_HINT EObjectFlags GetMaskedFlags (EObjectFlags Mask=RF_AllFlags) const
 
UE_FORCEINLINE_HINT void Mark (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT void UnMark (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT bool HasAnyMarks (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT bool HasAllMarks (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT EObjectMark GetAllMarks () const
 
void MarkAsGarbage ()
 
void ClearGarbage ()
 
UE_FORCEINLINE_HINT void AddToRoot ()
 
UE_FORCEINLINE_HINT void RemoveFromRoot ()
 
UE_FORCEINLINE_HINT bool IsRooted () const
 
UE_FORCEINLINE_HINT int32 GetRefCount () const
 
bool ThisThreadAtomicallyClearedRFUnreachable ()
 
UE_FORCEINLINE_HINT bool IsUnreachable () const
 
UE_FORCEINLINE_HINT bool IsNative () const
 
void SetInternalFlags (EInternalObjectFlags FlagsToSet) const
 
UE_FORCEINLINE_HINT EInternalObjectFlags GetInternalFlags () const
 
UE_FORCEINLINE_HINT bool HasAnyInternalFlags (EInternalObjectFlags FlagsToCheck) const
 
void ClearInternalFlags (EInternalObjectFlags FlagsToClear) const
 
bool AtomicallyClearInternalFlags (EInternalObjectFlags FlagsToClear) const
 
COREUOBJECT_API FString GetFullName (const UObject *StopOuter=NULL, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const
 
COREUOBJECT_API void GetFullName (const UObject *StopOuter, FString &ResultString, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const
 
COREUOBJECT_API void GetFullName (FStringBuilderBase &ResultString, const UObject *StopOuter=NULL, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const
 
COREUOBJECT_API FString GetPathName (const UObject *StopOuter=NULL) const
 
COREUOBJECT_API void GetPathName (const UObject *StopOuter, FString &ResultString) const
 
COREUOBJECT_API void GetPathName (const UObject *StopOuter, FStringBuilderBase &ResultString) const
 
virtual bool CanBeClusterRoot () const
 
virtual COREUOBJECT_API bool CanBeInCluster () const
 
virtual COREUOBJECT_API void CreateCluster ()
 
virtual void OnClusterMarkedAsPendingKill ()
 
COREUOBJECT_API void AddToCluster (UObjectBaseUtility *ClusterRootOrObjectFromCluster, bool bAddAsMutableObject=false)
 
COREUOBJECT_API FString GetFullGroupName (bool bStartWithOuter) const
 
UE_FORCEINLINE_HINT FString GetName () const
 
UE_FORCEINLINE_HINT void GetName (FString &ResultString) const
 
UE_FORCEINLINE_HINT void AppendName (FString &ResultString) const
 
COREUOBJECT_API bool IsPackageExternal () const
 
COREUOBJECT_API void DetachExternalPackage ()
 
COREUOBJECT_API void ReattachExternalPackage ()
 
COREUOBJECT_API UObjectGetOutermostObject () const
 
COREUOBJECT_API UPackageGetPackage () const
 
UE_INTERNAL virtual COREUOBJECT_API UE::Core::FVersePath GetVersePath () const
 
COREUOBJECT_API UPackageGetOutermost () const
 
COREUOBJECT_API bool MarkPackageDirty () const
 
COREUOBJECT_API bool IsTemplate (EObjectFlags TemplateTypes=RF_ArchetypeObject|RF_ClassDefaultObject) const
 
COREUOBJECT_API UObjectGetTypedOuter (UClass *Target) const
 
template<typename T >
T * GetTypedOuter () const
 
template<typename InterfaceClassType >
InterfaceClassTypeGetImplementingOuter () const
 
COREUOBJECT_API UObjectBaseUtilityGetImplementingOuterObject (const UClass *InInterfaceClass) const
 
COREUOBJECT_API bool IsIn (const UObject *SomeOuter) const
 
COREUOBJECT_API bool IsIn (const UPackage *SomePackage) const
 
COREUOBJECT_API bool IsInOuter (const UObject *SomeOuter) const
 
COREUOBJECT_API bool IsInPackage (const UPackage *SomePackage) const
 
COREUOBJECT_API bool IsInA (const UClass *SomeBaseClass) const
 
COREUOBJECT_API bool RootPackageHasAnyFlags (uint32 CheckFlagMask) const
 
template<typename OtherClassType >
bool IsA (OtherClassType SomeBase) const
 
template<class T >
bool IsA () const
 
COREUOBJECT_API const UClassFindNearestCommonBaseClass (const UClass *TestClass) const
 
COREUOBJECT_API voidGetInterfaceAddress (UClass *InterfaceClass)
 
COREUOBJECT_API voidGetNativeInterfaceAddress (UClass *InterfaceClass)
 
const voidGetNativeInterfaceAddress (UClass *InterfaceClass) const
 
COREUOBJECT_API bool IsTemplateForSubobjects (EObjectFlags TemplateTypes=RF_ClassDefaultObject|RF_DefaultSubObject|RF_InheritableComponentTemplate) const
 
COREUOBJECT_API bool IsDefaultSubobject () const
 
COREUOBJECT_API class FLinkerLoadGetLinker () const
 
COREUOBJECT_API int32 GetLinkerIndex () const
 
COREUOBJECT_API FPackageFileVersion GetLinkerUEVersion () const
 
int32 GetLinkerUE4Version () const
 
COREUOBJECT_API int32 GetLinkerLicenseeUEVersion () const
 
int32 GetLinkerLicenseeUE4Version () const
 
COREUOBJECT_API int32 GetLinkerCustomVersion (FGuid CustomVersionKey) const
 
UE_FORCEINLINE_HINT bool operator< (const UObjectBaseUtility &Other) const
 
TStatId GetStatID (bool bForDeferredUse=false) const
 
- Public Member Functions inherited from UObjectBase
COREUOBJECT_API UObjectBase (UClass *InClass, EObjectFlags InFlags, EInternalObjectFlags InInternalFlags, UObject *InOuter, FName InName, int32 InInternalIndex=-1, int32 InSerialNumber=0, FRemoteObjectId InRemoteId=FRemoteObjectId())
 
virtual COREUOBJECT_API ~UObjectBase ()
 
COREUOBJECT_API bool IsValidLowLevel () const
 
COREUOBJECT_API bool IsValidLowLevelFast (bool bRecursive=true) const
 
FORCEINLINE uint32 GetUniqueID () const
 
FORCEINLINE UClassGetClass () const
 
FORCEINLINE UObjectGetOuter () const
 
FORCEINLINE FName GetFName () const
 
virtual COREUOBJECT_API FName GetFNameForStatID () const
 
COREUOBJECT_API UPackageGetExternalPackage () const
 
COREUOBJECT_API void SetExternalPackage (UPackage *InPackage)
 
COREUOBJECT_API UPackageGetExternalPackageInternal () const
 
COREUOBJECT_API void MarkAsReachable () const
 
COREUOBJECT_API void AddRef () const
 
COREUOBJECT_API void ReleaseRef () const
 
FORCEINLINE EObjectFlags GetFlags () const
 
FORCENOINLINE void AtomicallySetFlags (EObjectFlags FlagsToAdd)
 
FORCENOINLINE void AtomicallyClearFlags (EObjectFlags FlagsToClear)
 
- Public Member Functions inherited from IAssetRegistry
virtual ASSETREGISTRY_API FAssetData K2_GetAssetByObjectPath (const FSoftObjectPath &ObjectPath, bool bIncludeOnlyOnDiskAssets=false, bool bSkipARFilteredAssets=true) const
 
 UFUNCTION (BlueprintCallable, BlueprintPure=false, Category="AssetRegistry", meta=(DisplayName="Get Dependencies", ScriptName="GetDependencies")) virtual bool K2_GetDependencies(FName PackageName
 
 UFUNCTION (BlueprintCallable, BlueprintPure=false, Category="AssetRegistry", meta=(DisplayName="Get Referencers", ScriptName="GetReferencers")) virtual bool K2_GetReferencers(FName PackageName
 
 UFUNCTION (BlueprintCallable, BlueprintPure=false, Category="AssetRegistry", meta=(DisplayName="GetAncestorClassNames", ScriptName="GetAncestorClassNames")) virtual bool GetAncestorClassNames(FTopLevelAssetPath ClassPathName
 
 UFUNCTION (BlueprintCallable, BlueprintPure=false, Category="AssetRegistry", meta=(DisplayName="GetDerivedClassNames", ScriptName="GetDerivedClassNames")) virtual void GetDerivedClassNames(const TArray< FTopLevelAssetPath > &ClassNames
 
virtual void RunAssetsThroughFilter (UPARAM(ref) TArray< FAssetData > &AssetDataList, const FARFilter &Filter) const =0
 
virtual void UseFilterToExcludeAssets (UPARAM(ref) TArray< FAssetData > &AssetDataList, const FARFilter &Filter) const =0
 
 DECLARE_EVENT_OneParam (IAssetRegistry, FFilesBlockedEvent, const TArray< FString > &)
 
 DECLARE_TS_MULTICAST_DELEGATE_OneParam (FPathsEvent, TConstArrayView< FStringView >)
 
 DECLARE_TS_MULTICAST_DELEGATE_OneParam (FPathAddedEvent, const FString &)
 
 DECLARE_EVENT_OneParam (IAssetRegistry, FPathRemovedEvent, const FString &)
 
 DECLARE_TS_MULTICAST_DELEGATE_OneParam (FAssetsEvent, TConstArrayView< FAssetData >)
 
 DECLARE_TS_MULTICAST_DELEGATE_ThreeParams (FAssetCollisionEvent, FAssetData &, FAssetData &, FAssetData *&)
 
 DECLARE_TS_MULTICAST_DELEGATE_OneParam (FAssetAddedEvent, const FAssetData &)
 
 DECLARE_TS_MULTICAST_DELEGATE_OneParam (FAssetRemovedEvent, const FAssetData &)
 
 DECLARE_TS_MULTICAST_DELEGATE_TwoParams (FAssetRenamedEvent, const FAssetData &, const FString &)
 
 DECLARE_TS_MULTICAST_DELEGATE_OneParam (FAssetUpdatedEvent, const FAssetData &)
 
 DECLARE_TS_MULTICAST_DELEGATE_OneParam (FInMemoryAssetCreatedEvent, UObject *)
 
 DECLARE_TS_MULTICAST_DELEGATE_OneParam (FInMemoryAssetDeletedEvent, UObject *)
 
 DECLARE_TS_MULTICAST_DELEGATE_OneParam (FVerseAddedEvent, const FName)
 
 DECLARE_TS_MULTICAST_DELEGATE_OneParam (FVerseRemovedEvent, const FName)
 
 DECLARE_TS_MULTICAST_DELEGATE (FFilesLoadedEvent)
 
 DECLARE_TS_MULTICAST_DELEGATE (FScanStartedEvent)
 
 DECLARE_TS_MULTICAST_DELEGATE (FScanEndedEvent)
 
 DECLARE_TS_MULTICAST_DELEGATE (FKnownGathersCompleteEvent)
 
 DECLARE_TS_MULTICAST_DELEGATE_OneParam (FFileLoadProgressUpdatedEvent, const FFileLoadProgressUpdateData &)
 
virtual void Serialize (FStructuredArchive::FRecord Record)=0
 
virtual void DumpState (const TArray< FString > &Arguments, TArray< FString > &OutPages, int32 LinesPerPage=1) const =0
 
virtual ASSETREGISTRY_API void InitializeSerializationOptions (FAssetRegistrySerializationOptions &Options, const FString &PlatformIniName, UE::AssetRegistry::ESerializationTarget Target) const
 
 DECLARE_TS_MULTICAST_DELEGATE_TwoParams (FEnumerateAssetsEvent, const FARCompiledFilter &, UE::AssetRegistry::EEnumerateAssetsFlags) virtual FEnumerateAssetsEvent &OnEnumerateAssetsEvent()=0
 

Static Public Member Functions

static UAssetRegistryImplGet ()
 
- Static Public Member Functions inherited from UObject
static COREUOBJECT_API void UpdateClassesExcludedFromDedicatedServer (const TArray< FString > &InClassNames, const TArray< FString > &InModulesNames)
 
static COREUOBJECT_API void UpdateClassesExcludedFromDedicatedClient (const TArray< FString > &InClassNames, const TArray< FString > &InModulesNames)
 
static COREUOBJECT_API bool CanCreateInCurrentContext (UObject *Template)
 
static COREUOBJECT_API void AddReferencedObjects (UObject *InThis, FReferenceCollector &Collector)
 
static COREUOBJECT_API const FNameSourceFileTagName ()
 
static COREUOBJECT_API UObjectGetArchetypeFromRequiredInfo (const UClass *Class, const UObject *Outer, FName Name, EObjectFlags ObjectFlags)
 
- Static Public Member Functions inherited from UObjectBaseUtility
static bool IsGarbageEliminationEnabled ()
 
static bool IsPendingKillEnabled ()
 
static void SetGarbageEliminationEnabled (bool bEnabled)
 
static COREUOBJECT_API void ReloadObjectsFromModifiedConfigSections (const class FConfigModificationTracker *ChangeTracker)
 
- Static Public Member Functions inherited from UObjectBase
static COREUOBJECT_API FString RemoveClassPrefix (const TCHAR *ClassName)
 
static void PrefetchClass (UObject *Object)
 
static void PrefetchOuter (UObject *Object)
 
- Static Public Member Functions inherited from IAssetRegistry
static IAssetRegistryGet ()
 
static IAssetRegistryGetChecked ()
 

Protected Member Functions

virtual void SetManageReferences (const TMultiMap< FAssetIdentifier, FAssetIdentifier > &ManagerMap, bool bClearExisting, UE::AssetRegistry::EDependencyCategory RecurseType, TSet< FDependsNode * > &ExistingManagedNode, ShouldSetManagerPredicate ShouldSetManager=nullptr) override
 
virtual void SetManageReferences (UE::AssetRegistry::FSetManageReferencesContext &Context) override
 
virtual bool SetPrimaryAssetIdForObjectPath (const FSoftObjectPath &ObjectPath, FPrimaryAssetId PrimaryAssetId) override
 
- Protected Member Functions inherited from UObject
virtual FString GetDetailedInfoInternal () const
 
COREUOBJECT_API bool CanCheckDefaultSubObjects (bool bForceCheck, bool &bResult) const
 
virtual COREUOBJECT_API bool CheckDefaultSubobjectsInternal () const
 
- Protected Member Functions inherited from UObjectBase
 UObjectBase ()
 
COREUOBJECT_API UObjectBase (EObjectFlags InFlags)
 
COREUOBJECT_API void LowLevelRename (FName NewName, UObject *NewOuter=NULL)
 
virtual void RegisterDependencies ()
 
COREUOBJECT_API void Register (class UClass *(*StaticClassFn)(), const TCHAR *PackageName, const TCHAR *Name)
 
COREUOBJECT_API void Register (const TCHAR *PackageName, const TCHAR *Name)
 
virtual COREUOBJECT_API void DeferredRegister (UClass *UClassStaticClass, const TCHAR *PackageName, const TCHAR *Name)
 
FORCEINLINE void SetFlagsTo (EObjectFlags NewFlags)
 

Friends

class FAssetDataGatherer
 
class UE::AssetRegistry::FAssetRegistryImpl
 
struct UE::AssetRegistry::Premade::FAsyncConsumer
 

Additional Inherited Members

- Public Types inherited from UObject
enum class  ENetFields_Private { NETFIELD_REP_START = 0 , NETFIELD_REP_END = -1 }
 
typedef UObject WithinClass
 
- Public Types inherited from IAssetRegistry
typedef TFunctionRef< bool(const FAssetData *AssetData)> FAssetDataFunc
 
typedef TFunctionRef< bool(FAssetDataFunc AssetCallback)> FEnumerateAssetDatasFunc
 
typedef TFunction< EAssetSetManagerResult::Type(const FAssetIdentifier &Manager, const FAssetIdentifier &Source, const FAssetIdentifier &Target, UE::AssetRegistry::EDependencyCategory Category, UE::AssetRegistry::EDependencyProperty Properties, EAssetSetManagerFlags::Type Flags)> ShouldSetManagerPredicate
 
- Public Attributes inherited from IAssetRegistry
const FAssetRegistryDependencyOptionsDependencyOptions
 
const FAssetRegistryDependencyOptions TArray< FName > &OutDependencies const
 
const FAssetRegistryDependencyOptionsReferenceOptions
 
const FAssetRegistryDependencyOptions TArray< FName > &OutReferencers const
 
TArray< FTopLevelAssetPath > &OutAncestorClassNames const = 0
 
const TSet< FTopLevelAssetPath > & ExcludedClassNames
 
const TSet< FTopLevelAssetPath > TSet< FTopLevelAssetPath > &OutDerivedClassNames const = 0
 

Detailed Description

The AssetRegistry singleton gathers information about .uasset files in the background so things like the content browser don't have to work with the filesystem

Constructor & Destructor Documentation

◆ UAssetRegistryImpl() [1/2]

UAssetRegistryImpl::UAssetRegistryImpl ( const FObjectInitializer ObjectInitializer)

◆ UAssetRegistryImpl() [2/2]

UAssetRegistryImpl::UAssetRegistryImpl ( FVTableHelper Helper)

◆ ~UAssetRegistryImpl()

UAssetRegistryImpl::~UAssetRegistryImpl ( )
virtual

Member Function Documentation

◆ AddPath()

bool UAssetRegistryImpl::AddPath ( const FString &  PathToAdd)
overridevirtual

Adds the specified path to the set of cached paths. These will be returned by GetAllCachedPaths(). Returns true if the path was actually added and false if it already existed.

Implements IAssetRegistry.

◆ AppendState()

void UAssetRegistryImpl::AppendState ( const FAssetRegistryState InState,
UE::AssetRegistry::EAppendMode  AppendMode = UE::AssetRegistry::EAppendMode::Append 
)
overridevirtual

Append the assets from the incoming state into our own

Implements IAssetRegistry.

◆ AssetCreated()

void UAssetRegistryImpl::AssetCreated ( UObject NewAsset)
overridevirtual

Informs the asset registry that an in-memory asset has been created

Implements IAssetRegistry.

◆ AssetDeleted()

void UAssetRegistryImpl::AssetDeleted ( UObject DeletedAsset)
overridevirtual

Informs the asset registry that an in-memory asset has been deleted

Implements IAssetRegistry.

◆ AssetRenamed()

void UAssetRegistryImpl::AssetRenamed ( const UObject RenamedAsset,
const FString &  OldObjectPath 
)
overridevirtual

Informs the asset registry that an in-memory asset has been renamed

Implements IAssetRegistry.

◆ AssetsSaved()

void UAssetRegistryImpl::AssetsSaved ( TArray< FAssetData > &&  Assets)
overridevirtual

Called during SavePackage to update the AssetRegistry's copy of the AssetDatas in the package to match the newly saved values.

Implements IAssetRegistry.

◆ AssetTagsFinalized()

void UAssetRegistryImpl::AssetTagsFinalized ( const UObject FinalizedAsset)
overridevirtual

Informs the asset registry that an Asset has finalized its tags after loading. Ignored if the Asset's package has been modified.

Implements IAssetRegistry.

◆ AssetUpdateTags()

void UAssetRegistryImpl::AssetUpdateTags ( UObject Object,
EAssetRegistryTagsCaller  Caller 
)
overridevirtual

Called on demand from systems that need to fully update an AssetData's tags. When an Asset is loaded its tags are updated by calling GetAssetRegistryTags(EAssetRegistryTagsCaller::AssetRegistryLoad), but that version of the function is allowed to skip writing expensive tags, so tags that exist in the old AssetData but not in the results from GetAssetRegistryTags(EAssetRegistryTagsCaller::AssetRegistryLoad) are kept because they might be skipped expensive tags. When an asset is saved, all old tags are deleted and GetAssetRegistryTags(EAssetRegistryTagsCaller::SavePackage) is called. AssetUpdateTags allows a manual trigger of the on-SavePackage behavior: all old tags are deleted and GetAssetRegistryTags(Caller) is called. Pass in EAssetRegistryTagsCaller::FullUpdate to behave the same as SavePackage.

Implements IAssetRegistry.

◆ ClearGathererCache()

void UAssetRegistryImpl::ClearGathererCache ( )
overridevirtual

Empty the global gatherer's cache and disable further caching of scans from disk. Used to save memory when cooking after the scan is complete.

Implements IAssetRegistry.

◆ CompileFilter()

void UAssetRegistryImpl::CompileFilter ( const FARFilter InFilter,
FARCompiledFilter OutCompiledFilter 
) const
overridevirtual

Modifies passed in filter optimize it for query and expand any recursive paths and classes

Implements IAssetRegistry.

◆ ContainsDependency()

bool UAssetRegistryImpl::ContainsDependency ( FName  PackageName,
FName  QueryDependencyName,
UE::AssetRegistry::EDependencyCategory  Category = UE::AssetRegistry::EDependencyCategory::Package,
const UE::AssetRegistry::FDependencyQuery Flags = UE::AssetRegistry::FDependencyQuery() 
) const
overridevirtual

Return whether the supplied package references the query package. Only considers dependencies reported in the on-disk package.

Parameters
PackageNameThe name of the package for which to inspect dependencies (eg, /Game/MyFolder/MyAsset)
QueryDependencyNameWhich package to look for in PackageName's dependencies
CategoryWhich category(ies) of dependencies to look in for QueryDependencyName. Dependencies matching ANY of the OR'd categories will be considered.
FlagsWhich flags are required present or not present on the dependencies. Dependencies matching ALL required and NONE excluded bits will be considered. For each potentially considered dependency, flags not applicable to their category are ignored.

Implements IAssetRegistry.

◆ ContainsTag()

bool UAssetRegistryImpl::ContainsTag ( FName  TagName) const
overridevirtual

Return whether the given TagName occurs in the tags of any asset in the AssetRegistry

Implements IAssetRegistry.

◆ DECLARE_DERIVED_EVENT() [1/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FAssetAddedEvent  ,
FAssetAddedEvent   
)

◆ DECLARE_DERIVED_EVENT() [2/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FAssetRemovedEvent  ,
FAssetRemovedEvent   
)

◆ DECLARE_DERIVED_EVENT() [3/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FAssetRenamedEvent  ,
FAssetRenamedEvent   
)

◆ DECLARE_DERIVED_EVENT() [4/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FAssetsEvent  ,
FAssetsEvent   
)

◆ DECLARE_DERIVED_EVENT() [5/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FAssetUpdatedEvent  ,
FAssetUpdatedEvent   
)

◆ DECLARE_DERIVED_EVENT() [6/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FFileLoadProgressUpdatedEvent  ,
FFileLoadProgressUpdatedEvent   
)

◆ DECLARE_DERIVED_EVENT() [7/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FFilesBlockedEvent  ,
FFilesBlockedEvent   
)

◆ DECLARE_DERIVED_EVENT() [8/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FFilesLoadedEvent  ,
FFilesLoadedEvent   
)

◆ DECLARE_DERIVED_EVENT() [9/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FInMemoryAssetCreatedEvent  ,
FInMemoryAssetCreatedEvent   
)

◆ DECLARE_DERIVED_EVENT() [10/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FInMemoryAssetDeletedEvent  ,
FInMemoryAssetDeletedEvent   
)

◆ DECLARE_DERIVED_EVENT() [11/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FKnownGathersCompleteEvent  ,
FKnownGathersCompleteEvent   
)

◆ DECLARE_DERIVED_EVENT() [12/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FPathAddedEvent  ,
FPathAddedEvent   
)

◆ DECLARE_DERIVED_EVENT() [13/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FPathRemovedEvent  ,
FPathRemovedEvent   
)

◆ DECLARE_DERIVED_EVENT() [14/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FPathsEvent  ,
FPathsEvent   
)

◆ DECLARE_DERIVED_EVENT() [15/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FScanEndedEvent  ,
FScanEndedEvent   
)

◆ DECLARE_DERIVED_EVENT() [16/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FScanStartedEvent  ,
FScanStartedEvent   
)

◆ DECLARE_DERIVED_EVENT() [17/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FVerseAddedEvent  ,
FVerseAddedEvent   
)

◆ DECLARE_DERIVED_EVENT() [18/18]

UAssetRegistryImpl::DECLARE_DERIVED_EVENT ( UAssetRegistryImpl  ,
IAssetRegistry::FVerseRemovedEvent  ,
FVerseRemovedEvent   
)

◆ DoesPackageExistOnDisk()

bool UAssetRegistryImpl::DoesPackageExistOnDisk ( FName  PackageName,
FString *  OutCorrectCasePackageName = nullptr,
FString *  OutExtension = nullptr 
) const
overridevirtual

Implements IAssetRegistry.

◆ EnumerateAllAssets()

bool UAssetRegistryImpl::EnumerateAllAssets ( TFunctionRef< bool(const FAssetData &)>  Callback,
UE::AssetRegistry::EEnumerateAssetsFlags  InEnumerateFlags = UE::AssetRegistry::EEnumerateAssetsFlags::None 
) const
overridevirtual

Enumerate asset data for all assets currently cached in the asset registry. This method may be slow, use a filter if possible to avoid iterating over the entire registry.

Parameters
Callbackfunction to call for each asset data enumerated
InEnumerateFlagsflags to control enumeration and filtering.
See also
IAssetRegistry class header for EEnumerateAssetsFlags. EEnumerateAssetsFlags::Parallel note: in-memory assets enumeration ignores the parallel flag and is always single-threaded.

Implements IAssetRegistry.

◆ EnumerateAllCachedPaths() [1/2]

void UAssetRegistryImpl::EnumerateAllCachedPaths ( TFunctionRef< bool(FName)>  Callback) const
overridevirtual

Enumerate all the paths that are currently cached

Implements IAssetRegistry.

◆ EnumerateAllCachedPaths() [2/2]

void UAssetRegistryImpl::EnumerateAllCachedPaths ( TFunctionRef< bool(FString)>  Callback) const
overridevirtual

Enumerate all the paths that are currently cached

Implements IAssetRegistry.

◆ EnumerateAllPackages()

void UAssetRegistryImpl::EnumerateAllPackages ( TFunctionRef< void(FName PackageName, const FAssetPackageData &PackageData)>  Callback,
UE::AssetRegistry::EEnumeratePackagesFlags  InEnumerateFlags 
) const
overridevirtual

Enumerate all PackageDatas in the AssetRegistry. The callback is called from within the AssetRegistry's lock, so it must not call arbitrary code that could call back into the AssetRegistry; doing so would deadlock.

Parameters
Callbackfunction to call for each package data enumerated
InEnumerateFlagsflags to control enumeration
See also
EEnumeratePackagesFlags

Implements IAssetRegistry.

◆ EnumerateAssets() [1/2]

bool UAssetRegistryImpl::EnumerateAssets ( const FARCompiledFilter Filter,
TFunctionRef< bool(const FAssetData &)>  Callback,
UE::AssetRegistry::EEnumerateAssetsFlags  InEnumerateFlags = UE::AssetRegistry::EEnumerateAssetsFlags::None 
) const
overridevirtual

Implements IAssetRegistry.

◆ EnumerateAssets() [2/2]

bool UAssetRegistryImpl::EnumerateAssets ( const FARFilter Filter,
TFunctionRef< bool(const FAssetData &)>  Callback,
UE::AssetRegistry::EEnumerateAssetsFlags  InEnumerateFlags = UE::AssetRegistry::EEnumerateAssetsFlags::None 
) const
overridevirtual

Enumerate asset data for all assets that match the filter. Assets returned must satisfy every filter component if there is at least one element in the component's array. Assets will satisfy a component if they match any of the elements in it.

Parameters
Filterfilter to apply to the assets in the AssetRegistry
Callbackfunction to call for each asset data enumerated
InEnumerateFlagsflags to control enumeration and filtering.
See also
EEnumerateAssetsFlags. EEnumerateAssetsFlags::Parallel note: in-memory assets enumeration ignores the parallel flag and is always single-threaded.
Returns
False if filter is invalid, otherwise true.

Implements IAssetRegistry.

◆ EnumerateSubPaths() [1/2]

void UAssetRegistryImpl::EnumerateSubPaths ( const FName  InBasePath,
TFunctionRef< bool(FName)>  Callback,
bool  bInRecurse 
) const
overridevirtual

Enumerate the all paths that are currently cached below the passed-in base path

Implements IAssetRegistry.

◆ EnumerateSubPaths() [2/2]

void UAssetRegistryImpl::EnumerateSubPaths ( const FString &  InBasePath,
TFunctionRef< bool(FString)>  Callback,
bool  bInRecurse 
) const
overridevirtual

Enumerate the all paths that are currently cached below the passed-in base path

Implements IAssetRegistry.

◆ FinishDestroy()

void UAssetRegistryImpl::FinishDestroy ( )
overridevirtual

Called to finish destroying the object. After UObject::FinishDestroy is called, the object's memory should no longer be accessed.

Warning
Because properties are destroyed here, Super::FinishDestroy() should always be called at the end of your child class's FinishDestroy() method, rather than at the beginning.

Reimplemented from UObject.

◆ Get()

UAssetRegistryImpl & UAssetRegistryImpl::Get ( )
static

Gets the asset registry singleton for asset registry module use

◆ GetAllAssets()

bool UAssetRegistryImpl::GetAllAssets ( TArray< FAssetData > &  OutAssetData,
bool  bIncludeOnlyOnDiskAssets = false 
) const
overridevirtual

Gets asset data for all assets in the registry. This method may be slow, use a filter if possible to avoid iterating over the entire registry.

Parameters
OutAssetDatathe list of assets in this path

Implements IAssetRegistry.

◆ GetAllCachedPaths()

void UAssetRegistryImpl::GetAllCachedPaths ( TArray< FString > &  OutPathList) const
overridevirtual

Gets a list of all paths that are currently cached

Implements IAssetRegistry.

◆ GetAllocatedSize()

SIZE_T UAssetRegistryImpl::GetAllocatedSize ( bool  bLogDetailed = false) const
overridevirtual

Returns memory size of entire registry, optionally logging sizes

Implements IAssetRegistry.

◆ GetAncestorClassNames()

bool UAssetRegistryImpl::GetAncestorClassNames ( FTopLevelAssetPath  ClassName,
TArray< FTopLevelAssetPath > &  OutAncestorClassNames 
) const
overridevirtual

◆ GetAssetAvailability()

EAssetAvailability::Type UAssetRegistryImpl::GetAssetAvailability ( const FAssetData AssetData) const
overridevirtual

Gets the current availability of an asset, primarily for streaming install purposes.

Parameters
FAssetDatathe asset to check for availability

Implements IAssetRegistry.

◆ GetAssetAvailabilityProgress()

float UAssetRegistryImpl::GetAssetAvailabilityProgress ( const FAssetData AssetData,
EAssetAvailabilityProgressReportingType::Type  ReportType 
) const
overridevirtual

Gets an ETA or percentage complete for an asset that is still in the process of being installed.

Parameters
FAssetDatathe asset to check for progress status
ReportTypethe type of report to query.

Implements IAssetRegistry.

◆ GetAssetAvailabilityProgressTypeSupported()

bool UAssetRegistryImpl::GetAssetAvailabilityProgressTypeSupported ( EAssetAvailabilityProgressReportingType::Type  ReportType) const
overridevirtual
Parameters
ReportTypeThe report type to query. Returns if a given report type is supported on the current platform

Implements IAssetRegistry.

◆ GetAssetByObjectPath() [1/2]

FAssetData UAssetRegistryImpl::GetAssetByObjectPath ( const FName  ObjectPath,
bool  bIncludeOnlyOnDiskAssets = false 
) const
overridevirtual

Implements IAssetRegistry.

◆ GetAssetByObjectPath() [2/2]

FAssetData UAssetRegistryImpl::GetAssetByObjectPath ( const FSoftObjectPath ObjectPath,
bool  bIncludeOnlyOnDiskAssets = false,
bool  bSkipARFilteredAssets = true 
) const
overridevirtual

Gets the asset data for the specified object path

Parameters
ObjectPaththe path of the object to be looked up
bIncludeOnlyOnDiskAssetsIf true, use only DiskGatheredData, do not calculate from UObjects.
See also
IAssetRegistry class header for bIncludeOnlyOnDiskAssets.
Parameters
bSkipARFilteredAssetsIf true, skips Objects that return true for IsAsset but are not assets in the current platform.
Returns
the assets data;Will be invalid if object could not be found

Do not allow blueprint classes

Implements IAssetRegistry.

◆ GetAssetPackageDataCopy()

TOptional< FAssetPackageData > UAssetRegistryImpl::GetAssetPackageDataCopy ( FName  PackageName) const
overridevirtual

Finds Package data for a package name. This data is only updated on save and can only be accessed for valid packages

Implements IAssetRegistry.

◆ GetAssetPackageDatasCopy()

TArray< TOptional< FAssetPackageData > > UAssetRegistryImpl::GetAssetPackageDatasCopy ( TArrayView< FName PackageNames) const
overridevirtual

Find Package Data for the packages name. This data is only updated on save and can only be accessed for valid packages

Implements IAssetRegistry.

◆ GetAssets() [1/2]

bool UAssetRegistryImpl::GetAssets ( const FARCompiledFilter Filter,
TArray< FAssetData > &  OutAssetData,
bool  bSkipARFilteredAssets = true 
) const
overridevirtual

Implements IAssetRegistry.

◆ GetAssets() [2/2]

bool UAssetRegistryImpl::GetAssets ( const FARFilter Filter,
TArray< FAssetData > &  OutAssetData,
bool  bSkipARFilteredAssets = true 
) const
overridevirtual

Gets asset data for all assets that match the filter. Assets returned must satisfy every filter component if there is at least one element in the component's array. Assets will satisfy a component if they match any of the elements in it.

Parameters
Filterfilter to apply to the assets in the AssetRegistry
OutAssetDatathe list of assets in this path
bSkipARFilteredAssetsIf true, skips Objects that return true for IsAsset but are not assets in the current platform.

Implements IAssetRegistry.

◆ GetAssetsByClass()

bool UAssetRegistryImpl::GetAssetsByClass ( FTopLevelAssetPath  ClassPathName,
TArray< FAssetData > &  OutAssetData,
bool  bSearchSubClasses = false 
) const
overridevirtual

Gets asset data for all assets with the supplied class

Parameters
ClassPathNamethe full path of the class name of the assets requested, in a TopLevelAssetPath structure.
OutAssetDatathe list of assets in this path
bSearchSubClassesif true, all subclasses of the passed in class will be searched as well

Implements IAssetRegistry.

◆ GetAssetsByPackageName()

bool UAssetRegistryImpl::GetAssetsByPackageName ( FName  PackageName,
TArray< FAssetData > &  OutAssetData,
bool  bIncludeOnlyOnDiskAssets = false,
bool  bSkipARFilteredAssets = true 
) const
overridevirtual

Gets asset data for the assets in the package with the specified package name

Parameters
PackageNamethe package name for the requested assets (eg, /Game/MyFolder/MyAsset)
OutAssetDatathe list of assets in this path
bIncludeOnlyOnDiskAssetsIf true, use only DiskGatheredData, do not calculate from UObjects.
See also
IAssetRegistry class header for bIncludeOnlyOnDiskAssets.
Parameters
bSkipARFilteredAssetsIf true, skips Objects that return true for IsAsset but are not assets in the current platform.

Implements IAssetRegistry.

◆ GetAssetsByPath()

bool UAssetRegistryImpl::GetAssetsByPath ( FName  PackagePath,
TArray< FAssetData > &  OutAssetData,
bool  bRecursive = false,
bool  bIncludeOnlyOnDiskAssets = false 
) const
overridevirtual

Gets asset data for all assets in the supplied folder path

Parameters
PackagePaththe path to query asset data in (eg, /Game/MyFolder)
OutAssetDatathe list of assets in this path
bIncludeOnlyOnDiskAssetsIf true, use only DiskGatheredData, do not calculate from UObjects.
See also
IAssetRegistry class header for bIncludeOnlyOnDiskAssets.
Parameters
bRecursiveif true, all supplied paths will be searched recursively

Implements IAssetRegistry.

◆ GetAssetsByPaths()

bool UAssetRegistryImpl::GetAssetsByPaths ( TArray< FName PackagePaths,
TArray< FAssetData > &  OutAssetData,
bool  bRecursive = false,
bool  bIncludeOnlyOnDiskAssets = false 
) const
overridevirtual

Gets asset data for all assets in any of the supplied folder paths

Parameters
PackagePathsthe paths to query asset data in (eg, /Game/MyFolder)
OutAssetDatathe list of assets in this path
bIncludeOnlyOnDiskAssetsIf true, use only DiskGatheredData, do not calculate from UObjects.
See also
IAssetRegistry class header for bIncludeOnlyOnDiskAssets.
Parameters
bRecursiveif true, all supplied paths will be searched recursively

Implements IAssetRegistry.

◆ GetAssetsByTags()

bool UAssetRegistryImpl::GetAssetsByTags ( const TArray< FName > &  AssetTags,
TArray< FAssetData > &  OutAssetData 
) const
overridevirtual

Gets asset data for all assets with the supplied tags, regardless of their value

Parameters
AssetTagsthe tags associated with the assets requested
OutAssetDatathe list of assets with any of the given tags

Implements IAssetRegistry.

◆ GetAssetsByTagValues()

bool UAssetRegistryImpl::GetAssetsByTagValues ( const TMultiMap< FName, FString > &  AssetTagsAndValues,
TArray< FAssetData > &  OutAssetData 
) const
overridevirtual

Gets asset data for all assets with the supplied tags and values

Parameters
AssetTagsAndValuesthe tags and values associated with the assets requested
OutAssetDatathe list of assets with any of the given tags and values

Implements IAssetRegistry.

◆ GetCachedEmptyPackagesCopy()

TSet< FName > UAssetRegistryImpl::GetCachedEmptyPackagesCopy ( ) const
overridevirtual

Returns the set of empty package names fast iteration

Implements IAssetRegistry.

◆ GetDependencies() [1/3]

bool UAssetRegistryImpl::GetDependencies ( const FAssetIdentifier AssetIdentifier,
TArray< FAssetDependency > &  OutDependencies,
UE::AssetRegistry::EDependencyCategory  Category = UE::AssetRegistry::EDependencyCategory::All,
const UE::AssetRegistry::FDependencyQuery Flags = UE::AssetRegistry::FDependencyQuery() 
) const
overridevirtual

Implements IAssetRegistry.

◆ GetDependencies() [2/3]

bool UAssetRegistryImpl::GetDependencies ( const FAssetIdentifier AssetIdentifier,
TArray< FAssetIdentifier > &  OutDependencies,
UE::AssetRegistry::EDependencyCategory  Category = UE::AssetRegistry::EDependencyCategory::All,
const UE::AssetRegistry::FDependencyQuery Flags = UE::AssetRegistry::FDependencyQuery() 
) const
overridevirtual

Gets a list of AssetIdentifiers or FAssetDependencies that are referenced by the supplied AssetIdentifier. Only returns dependencies reported in the on-disk package.

Parameters
AssetIdentifierThe name of the package/name for which to gather dependencies.
OutDependenciesA list of things that are referenced by AssetIdentifier.
CategoryWhich category(ies) of dependencies to include in the output list. Dependencies matching ANY of the OR'd categories will be returned.
FlagsWhich flags are required present or not present on the dependencies. Dependencies matching ALL required and NONE excluded bits will be returned. For each potentially returned dependency, flags not applicable to their category are ignored.

Implements IAssetRegistry.

◆ GetDependencies() [3/3]

bool UAssetRegistryImpl::GetDependencies ( FName  PackageName,
TArray< FName > &  OutDependencies,
UE::AssetRegistry::EDependencyCategory  Category = UE::AssetRegistry::EDependencyCategory::Package,
const UE::AssetRegistry::FDependencyQuery Flags = UE::AssetRegistry::FDependencyQuery() 
) const
overridevirtual

Gets a list of PackageNames that are referenced by the supplied package. Only returns dependencies reported in the on-disk package.

Parameters
PackageNameThe name of the package for which to gather dependencies (eg, /Game/MyFolder/MyAsset)
OutDependenciesA list of packages that are referenced by the package whose path is PackageName
CategoryWhich category(ies) of dependencies to include in the output list. Dependencies matching ANY of the OR'd categories will be returned.
FlagsWhich flags are required present or not present on the dependencies. Dependencies matching ALL required and NONE excluded bits will be returned. For each potentially returned dependency, flags not applicable to their category are ignored.

Implements IAssetRegistry.

◆ GetDerivedClassNames()

void UAssetRegistryImpl::GetDerivedClassNames ( const TArray< FTopLevelAssetPath > &  ClassNames,
const TSet< FTopLevelAssetPath > &  ExcludedClassNames,
TSet< FTopLevelAssetPath > &  OutDerivedClassNames 
) const
overridevirtual

◆ GetFirstPackageByName()

FName UAssetRegistryImpl::GetFirstPackageByName ( FStringView  PackageName) const
overridevirtual

Returns the first LongPackageName found for the given PackageName. Issues a warning and returns the first (sorted lexically) if there is more than one. Call to check existence of a LongPackageName or find a package with a ShortPackageName.

Parameters
PackageNameName of the package to find, may be a LongPackageName or ShortPackageName.
Returns
The first LongPackageName of the matching package, or NAME_None if not found.

Implements IAssetRegistry.

◆ GetInMemoryAssets() [1/2]

bool UAssetRegistryImpl::GetInMemoryAssets ( const FARCompiledFilter Filter,
TArray< FAssetData > &  OutAssetData,
bool  bSkipARFilteredAssets = true 
) const
overridevirtual

Implements IAssetRegistry.

◆ GetInMemoryAssets() [2/2]

bool UAssetRegistryImpl::GetInMemoryAssets ( const FARFilter Filter,
TArray< FAssetData > &  OutAssetData,
bool  bSkipARFilteredAssets = true 
) const
overridevirtual

Gets asset data for in-memory assets only, that match the filter. Returns assets that would be excluded by calling GetAssets with bIncludeOnlyOnDiskAssets set to true.

Note
This method IGNORES the value of bIncludeOnlyOnDiskAssets on the provided filter. Assets returned must satisfy every filter component if there is at least one element in the component's array. Assets will satisfy a component if they match any of the elements in it.
Parameters
Filterfilter to apply to the assets in the AssetRegistry
OutAssetDatathe list of assets in this path
bSkipARFilteredAssetsIf true, skips Objects that return true for IsAsset but are not assets in the current platform.

Implements IAssetRegistry.

◆ GetPackagesByName()

void UAssetRegistryImpl::GetPackagesByName ( FStringView  PackageName,
TArray< FName > &  OutPackageNames 
) const
overridevirtual

Gets the LongPackageName for all packages with the given PackageName. Call to check existence of a LongPackageName or find all packages with a ShortPackageName.

Parameters
PackageNameName of the package to find, may be a LongPackageName or ShortPackageName.
OutPackageNamesAll discovered matching LongPackageNames are appended to this array.

Implements IAssetRegistry.

◆ GetRedirectedObjectPath()

FSoftObjectPath UAssetRegistryImpl::GetRedirectedObjectPath ( const FSoftObjectPath ObjectPath)
overridevirtual

Uses the asset registry to look for ObjectRedirectors. This will follow the chain of redirectors. It will return the original path if no redirectors are found.

Implements IAssetRegistry.

◆ GetReferencers() [1/3]

bool UAssetRegistryImpl::GetReferencers ( const FAssetIdentifier AssetIdentifier,
TArray< FAssetDependency > &  OutReferencers,
UE::AssetRegistry::EDependencyCategory  Category = UE::AssetRegistry::EDependencyCategory::All,
const UE::AssetRegistry::FDependencyQuery Flags = UE::AssetRegistry::FDependencyQuery() 
) const
overridevirtual

Implements IAssetRegistry.

◆ GetReferencers() [2/3]

bool UAssetRegistryImpl::GetReferencers ( const FAssetIdentifier AssetIdentifier,
TArray< FAssetIdentifier > &  OutReferencers,
UE::AssetRegistry::EDependencyCategory  Category = UE::AssetRegistry::EDependencyCategory::All,
const UE::AssetRegistry::FDependencyQuery Flags = UE::AssetRegistry::FDependencyQuery() 
) const
overridevirtual

Gets a list of AssetIdentifiers or FAssetDependencies that reference the supplied AssetIdentifier. Only returns referencers reported in the on-disk package.

Parameters
AssetIdentifierThe name of the package/name for which to gather referencers (eg, /Game/MyFolder/MyAsset)
OutReferencersA list of things that reference AssetIdentifier.
CategoryWhich category(ies) of referencers to include in the output list. Referencers that have a dependency matching ANY of the OR'd categories will be returned.
FlagsWhich flags are required present or not present on the referencer's dependency. Referencers that have a dependency matching ALL required and NONE excluded bits will be returned. For each potentially returned dependency, flags not applicable to their category are ignored.

Implements IAssetRegistry.

◆ GetReferencers() [3/3]

bool UAssetRegistryImpl::GetReferencers ( FName  PackageName,
TArray< FName > &  OutReferencers,
UE::AssetRegistry::EDependencyCategory  Category = UE::AssetRegistry::EDependencyCategory::Package,
const UE::AssetRegistry::FDependencyQuery Flags = UE::AssetRegistry::FDependencyQuery() 
) const
overridevirtual

Gets a list of PackageNames that reference the supplied package. (On disk references ONLY)

Parameters
PackageNameThe name of the package for which to gather dependencies (eg, /Game/MyFolder/MyAsset)
OutReferencersA list of packages that reference the package whose path is PackageName
CategoryWhich category(ies) of referencers to include in the output list. Referencers that have a dependency matching ANY of the OR'd categories will be returned.
FlagsWhich flags are required present or not present on the referencer's dependency. Referencers that have a dependency matching ALL required and NONE excluded bits will be returned. For each potentially returned dependency, flags not applicable to their category are ignored.

Implements IAssetRegistry.

◆ GetSubPaths() [1/2]

void UAssetRegistryImpl::GetSubPaths ( const FName InBasePath,
TArray< FName > &  OutPathList,
bool  bInRecurse 
) const
overridevirtual

Gets a list of all paths by name that are currently cached below the passed-in base path

Implements IAssetRegistry.

◆ GetSubPaths() [2/2]

void UAssetRegistryImpl::GetSubPaths ( const FString &  InBasePath,
TArray< FString > &  OutPathList,
bool  bInRecurse 
) const
overridevirtual

Gets a list of all paths that are currently cached below the passed-in base path

Implements IAssetRegistry.

◆ GetTemporaryCachingMode()

bool UAssetRegistryImpl::GetTemporaryCachingMode ( ) const
overridevirtual

Returns true if temporary caching mode enabled

Implements IAssetRegistry.

◆ GetVerseFilesByPath()

bool UAssetRegistryImpl::GetVerseFilesByPath ( FName  PackagePath,
TArray< FName > &  OutFilePaths,
bool  bRecursive = false 
) const
overridevirtual

Gets paths for all Verse files in the supplied folder

Parameters
PackagePaththe path to query asset data in (e.g. /Game/MyFolder)
OutFilePathsthe list of Verse files in this path, as pseudo UE LongPackagePaths with extension (e.g. /Game/MyFolder/MyVerseFile.verse)
bRecursiveif true, the supplied path will be searched recursively

Implements IAssetRegistry.

◆ HasAssets()

bool UAssetRegistryImpl::HasAssets ( const FName  PackagePath,
const bool  bRecursive = false 
) const
overridevirtual

Does the given path contain assets, optionally also testing sub-paths?

Parameters
PackagePaththe path to query asset data in (eg, /Game/MyFolder)
bRecursiveif true, the supplied path will be tested recursively

Implements IAssetRegistry.

◆ HasSerializedDiscoveryCache()

bool UAssetRegistryImpl::HasSerializedDiscoveryCache ( ) const
overridevirtual

Returns true if the asset registry has written out the discovery cache after discovery has completed. This function will return false if discovery is not yet complete, discovery caching isn't supported by the current platform or cache writing has been disabled such as when using -NoAssetRegistryCacheWrite.

Implements IAssetRegistry.

◆ HasVerseFiles()

bool UAssetRegistryImpl::HasVerseFiles ( FName  PackagePath,
bool  bRecursive = false 
) const
overridevirtual

Returns whether the supplied folder contains any verse file

Parameters
PackagePaththe path to query asset data in (e.g. /Game/MyFolder)
bRecursiveif true, the supplied path will be searched recursively
Returns
True if any verse file is found under the supplied folder

Implements IAssetRegistry.

◆ InitializeSerializationOptions()

void UAssetRegistryImpl::InitializeSerializationOptions ( FAssetRegistrySerializationOptions Options,
const ITargetPlatform TargetPlatform = nullptr,
UE::AssetRegistry::ESerializationTarget  Target = UE::AssetRegistry::ESerializationTarget::ForGame 
) const
overridevirtual

Fills in FAssetRegistrySerializationOptions from ini, optionally using a target platform

Implements IAssetRegistry.

◆ InitializeTemporaryAssetRegistryState()

void UAssetRegistryImpl::InitializeTemporaryAssetRegistryState ( FAssetRegistryState OutState,
const FAssetRegistrySerializationOptions Options,
bool  bRefreshExisting = false,
const TSet< FName > &  RequiredPackages = TSet< FName >(),
const TSet< FName > &  RemovePackages = TSet< FName >() 
) const
overridevirtual

Fills in a AssetRegistryState with a copy of the data in the internal cache, overriding some

Parameters
OutStateThis will be filled in with a copy of the asset data, platform data, and dependency data
OptionsSerialization options that will be used to write this later
bRefreshExistingIf true, will not delete or add packages in OutState and will just update things that already exist
RequiredPackagesIf non-empty, only packages in this set will be kept.
RemovePackagesIf non-empty, packages in this set will not be kept.

Implements IAssetRegistry.

◆ IsAssetExcludedByFilter()

bool UAssetRegistryImpl::IsAssetExcludedByFilter ( const FAssetData AssetData,
const FARCompiledFilter Filter 
) const
overridevirtual

Tests to see whether the given asset would be excluded (fails) the given filter

Implements IAssetRegistry.

◆ IsAssetIncludedByFilter()

bool UAssetRegistryImpl::IsAssetIncludedByFilter ( const FAssetData AssetData,
const FARCompiledFilter Filter 
) const
overridevirtual

Tests to see whether the given asset would be included (passes) the given filter

Implements IAssetRegistry.

◆ IsGathering()

bool UAssetRegistryImpl::IsGathering ( ) const
overridevirtual

Returns true if the asset registry is currently loading files and does not yet know about all assets. IsGathering() can be used to indicate if the asset registry is scanning during the initial search as well as any subsequent search the registry may perform (e.g. when a new mount point is added)

Implements IAssetRegistry.

◆ IsLoadingAssets()

bool UAssetRegistryImpl::IsLoadingAssets ( ) const
overridevirtual

Returns true if the asset registry is currently loading files and does not yet know about all assets. This is a legacy function that only returns true when the asset registry is performing its initial search for assets. Prefer using IsGathering() to know if the asset registry is currently loading files.

Implements IAssetRegistry.

◆ IsPathBeautificationNeeded()

bool UAssetRegistryImpl::IsPathBeautificationNeeded ( const FString &  InAssetPath) const
overridevirtual

Indicates if path should be beautified before presented to the user.

Parameters
InAssetPathPath of the asset to check
Returns
True if the path should be beautified

Implements IAssetRegistry.

◆ IsSearchAllAssets()

bool UAssetRegistryImpl::IsSearchAllAssets ( ) const
overridevirtual

Whether SearchAllAssets has been called, or was auto-called at startup. When async (editor or cooking), if SearchAllAssets has ever been called, any newly-mounted directory will be automatically searched.

Implements IAssetRegistry.

◆ IsSearchAsync()

bool UAssetRegistryImpl::IsSearchAsync ( ) const
overridevirtual

Whether searching is done async (and was started at startup), or synchronously and on-demand, requiring ScanPathsSynchronous or SearchAllAssets.

Implements IAssetRegistry.

◆ LoadPackageRegistryData() [1/2]

void UAssetRegistryImpl::LoadPackageRegistryData ( const FString &  PackageFilename,
FLoadPackageRegistryData InOutData 
) const
overridevirtual

Load FAssetData from the specified package filename

Implements IAssetRegistry.

◆ LoadPackageRegistryData() [2/2]

void UAssetRegistryImpl::LoadPackageRegistryData ( FArchive Ar,
FLoadPackageRegistryData InOutData 
) const
overridevirtual

Load FPackageRegistry data from the supplied package

Implements IAssetRegistry.

◆ OnAssetAdded()

UAssetRegistryImpl::FAssetAddedEvent & UAssetRegistryImpl::OnAssetAdded ( )
overridevirtual

Implements IAssetRegistry.

◆ OnAssetCollision_Private()

IAssetRegistry::FAssetCollisionEvent & UAssetRegistryImpl::OnAssetCollision_Private ( )
overridevirtual

Implements IAssetRegistry.

◆ OnAssetRemoved()

UAssetRegistryImpl::FAssetRemovedEvent & UAssetRegistryImpl::OnAssetRemoved ( )
overridevirtual

Implements IAssetRegistry.

◆ OnAssetRenamed()

UAssetRegistryImpl::FAssetRenamedEvent & UAssetRegistryImpl::OnAssetRenamed ( )
overridevirtual

Implements IAssetRegistry.

◆ OnAssetsAdded()

UAssetRegistryImpl::FAssetsEvent & UAssetRegistryImpl::OnAssetsAdded ( )
overridevirtual

Event for when assets are added to the registry to handle batches more efficiently

Implements IAssetRegistry.

◆ OnAssetsRemoved()

UAssetRegistryImpl::FAssetsEvent & UAssetRegistryImpl::OnAssetsRemoved ( )
overridevirtual

Event for when assets are removed from the registry

Implements IAssetRegistry.

◆ OnAssetsUpdated()

UAssetRegistryImpl::FAssetsEvent & UAssetRegistryImpl::OnAssetsUpdated ( )
overridevirtual

Event for when assets are updated in the registry

Implements IAssetRegistry.

◆ OnAssetsUpdatedOnDisk()

UAssetRegistryImpl::FAssetsEvent & UAssetRegistryImpl::OnAssetsUpdatedOnDisk ( )
overridevirtual

Event for when assets are updated on disk and have been refreshed in the assetregistry

Implements IAssetRegistry.

◆ OnAssetUpdated()

UAssetRegistryImpl::FAssetUpdatedEvent & UAssetRegistryImpl::OnAssetUpdated ( )
overridevirtual

Implements IAssetRegistry.

◆ OnAssetUpdatedOnDisk()

UAssetRegistryImpl::FAssetUpdatedEvent & UAssetRegistryImpl::OnAssetUpdatedOnDisk ( )
overridevirtual

Event for when assets are updated on disk and have been refreshed in the assetregistry

Implements IAssetRegistry.

◆ OnEnumerateAssetsEvent()

UAssetRegistryImpl::FEnumerateAssetsEvent & UAssetRegistryImpl::OnEnumerateAssetsEvent ( )
overridevirtual

◆ OnFileLoadProgressUpdated()

UAssetRegistryImpl::FFileLoadProgressUpdatedEvent & UAssetRegistryImpl::OnFileLoadProgressUpdated ( )
overridevirtual

Implements IAssetRegistry.

◆ OnFilesBlocked()

UAssetRegistryImpl::FFilesBlockedEvent & UAssetRegistryImpl::OnFilesBlocked ( )
overridevirtual

Implements IAssetRegistry.

◆ OnFilesLoaded()

UAssetRegistryImpl::FFilesLoadedEvent & UAssetRegistryImpl::OnFilesLoaded ( )
overridevirtual

Implements IAssetRegistry.

◆ OnInMemoryAssetCreated()

UAssetRegistryImpl::FInMemoryAssetCreatedEvent & UAssetRegistryImpl::OnInMemoryAssetCreated ( )
overridevirtual

Implements IAssetRegistry.

◆ OnInMemoryAssetDeleted()

UAssetRegistryImpl::FInMemoryAssetDeletedEvent & UAssetRegistryImpl::OnInMemoryAssetDeleted ( )
overridevirtual

Implements IAssetRegistry.

◆ OnKnownGathersComplete()

UAssetRegistryImpl::FKnownGathersCompleteEvent & UAssetRegistryImpl::OnKnownGathersComplete ( )
overridevirtual

Implements IAssetRegistry.

◆ OnPathAdded()

UAssetRegistryImpl::FPathAddedEvent & UAssetRegistryImpl::OnPathAdded ( )
overridevirtual

Implements IAssetRegistry.

◆ OnPathRemoved()

UAssetRegistryImpl::FPathRemovedEvent & UAssetRegistryImpl::OnPathRemoved ( )
overridevirtual

Implements IAssetRegistry.

◆ OnPathsAdded()

UAssetRegistryImpl::FPathsEvent & UAssetRegistryImpl::OnPathsAdded ( )
overridevirtual

Implements IAssetRegistry.

◆ OnPathsRemoved()

UAssetRegistryImpl::FPathsEvent & UAssetRegistryImpl::OnPathsRemoved ( )
overridevirtual

Implements IAssetRegistry.

◆ OnScanEnded()

UAssetRegistryImpl::FScanEndedEvent & UAssetRegistryImpl::OnScanEnded ( )
overridevirtual

Implements IAssetRegistry.

◆ OnScanStarted()

UAssetRegistryImpl::FScanStartedEvent & UAssetRegistryImpl::OnScanStarted ( )
overridevirtual

Implements IAssetRegistry.

◆ OnVerseAdded()

UAssetRegistryImpl::FVerseAddedEvent & UAssetRegistryImpl::OnVerseAdded ( )
overridevirtual

Implements IAssetRegistry.

◆ OnVerseRemoved()

UAssetRegistryImpl::FVerseRemovedEvent & UAssetRegistryImpl::OnVerseRemoved ( )
overridevirtual

Implements IAssetRegistry.

◆ PackageDeleted()

void UAssetRegistryImpl::PackageDeleted ( UPackage DeletedPackage)
overridevirtual

Informs the asset registry that an in-memory package has been deleted, and all associated assets should be removed

Implements IAssetRegistry.

◆ PathExists() [1/2]

bool UAssetRegistryImpl::PathExists ( const FName  PathToTest) const
overridevirtual

Implements IAssetRegistry.

◆ PathExists() [2/2]

bool UAssetRegistryImpl::PathExists ( const FString &  PathToTest) const
overridevirtual

Queries whether the given path exists in the set of cached paths

Implements IAssetRegistry.

◆ PrioritizeAssetInstall()

void UAssetRegistryImpl::PrioritizeAssetInstall ( const FAssetData AssetData) const
overridevirtual

Hint the streaming installers to prioritize a specific asset for install.

Parameters
FAssetDatathe asset which needs to have installation prioritized

Implements IAssetRegistry.

◆ PrioritizeSearchPath()

void UAssetRegistryImpl::PrioritizeSearchPath ( const FString &  PathToPrioritize)
overridevirtual

If assets are currently being asynchronously scanned in the specified path, this will cause them to be scanned before other assets.

Implements IAssetRegistry.

◆ ReadLockEnumerateAllTagToAssetDatas()

void UAssetRegistryImpl::ReadLockEnumerateAllTagToAssetDatas ( TFunctionRef< bool(FName TagName, IAssetRegistry::FEnumerateAssetDatasFunc EnumerateAssets)>  Callback) const
overridevirtual

Enumerate all pairs in State->TagToAssetDataMapAssetRegistry and call a callback on each pair. To avoid copies, the callback is called from within the ReadLock. DO NOT CALL AssetRegistry functions from the callback; doing so will create a deadlock.

Implements IAssetRegistry.

◆ RemovePath()

bool UAssetRegistryImpl::RemovePath ( const FString &  PathToRemove)
overridevirtual

Attempts to remove the specified path to the set of cached paths. This will only succeed if there are no assets left in the specified path.

Implements IAssetRegistry.

◆ RunAssetsThroughFilter()

void UAssetRegistryImpl::RunAssetsThroughFilter ( TArray< FAssetData > &  AssetDataList,
const FARFilter Filter 
) const
overridevirtual

◆ ScanFilesSynchronous()

void UAssetRegistryImpl::ScanFilesSynchronous ( const TArray< FString > &  InFilePaths,
bool  bForceRescan = false 
)
overridevirtual

Scan the specified individual files right now and populate the asset registry. If bForceRescan is true, the paths will be scanned again, even if they were previously scanned.

Implements IAssetRegistry.

◆ ScanModifiedAssetFiles() [1/2]

void UAssetRegistryImpl::ScanModifiedAssetFiles ( const TArray< FString > &  InFilePaths)
overridevirtual

Forces a rescan of specific filenames, call this when you need to refresh from disk

Implements IAssetRegistry.

◆ ScanModifiedAssetFiles() [2/2]

void UAssetRegistryImpl::ScanModifiedAssetFiles ( const TArray< FString > &  InFilePaths,
UE::AssetRegistry::EScanFlags  ScanFlags 
)
overridevirtual

Implements IAssetRegistry.

◆ ScanPathsSynchronous()

void UAssetRegistryImpl::ScanPathsSynchronous ( const TArray< FString > &  InPaths,
bool  bForceRescan = false,
bool  bIgnoreDenyListScanFilters = false 
)
overridevirtual

Scan the supplied paths recursively right now and populate the asset registry. If bForceRescan is true, the paths will be scanned again, even if they were previously scanned.

Implements IAssetRegistry.

◆ ScanSynchronous()

void UAssetRegistryImpl::ScanSynchronous ( const TArray< FString > &  InPaths,
const TArray< FString > &  InFilePaths,
UE::AssetRegistry::EScanFlags  InScanFlags = UE::AssetRegistry::EScanFlags::None 
)
overridevirtual

Scan the supplied paths and files recursively right now and populate the asset registry.

Implements IAssetRegistry.

◆ SearchAllAssets()

void UAssetRegistryImpl::SearchAllAssets ( bool  bSynchronousSearch)
overridevirtual

Look for all assets on disk (can be async or synchronous)

Implements IAssetRegistry.

◆ Serialize()

void UAssetRegistryImpl::Serialize ( FArchive Ar)
overridevirtual

Handles reading, writing, and reference collecting using FArchive. This implementation handles all FProperty serialization, but can be overridden for native variables.

Reimplemented from UObject.

◆ SetManageReferences() [1/2]

void UAssetRegistryImpl::SetManageReferences ( const TMultiMap< FAssetIdentifier, FAssetIdentifier > &  ManagerMap,
bool  bClearExisting,
UE::AssetRegistry::EDependencyCategory  RecurseType,
TSet< FDependsNode * > &  ExistingManagedNode,
ShouldSetManagerPredicate  ShouldSetManager = nullptr 
)
overrideprotectedvirtual

Implements IAssetRegistry.

◆ SetManageReferences() [2/2]

void UAssetRegistryImpl::SetManageReferences ( UE::AssetRegistry::FSetManageReferencesContext Context)
overrideprotectedvirtual

Specifies a list of manager mappings, optionally recursing to dependencies. These mappings can then be queried later to see which assets "manage" other assets. This function is only meant to be called by the AssetManager, calls from anywhere else will conflict and lose data.

See also
UE::AssetRegistry::FSetManageReferencesContext for arguments.

Implements IAssetRegistry.

◆ SetPrimaryAssetIdForObjectPath()

bool UAssetRegistryImpl::SetPrimaryAssetIdForObjectPath ( const FSoftObjectPath ObjectPath,
FPrimaryAssetId  PrimaryAssetId 
)
overrideprotectedvirtual

Sets the PrimaryAssetId for a specific asset. This should only be called by the AssetManager, and is needed when the AssetManager is more up to date than the on disk Registry.

Implements IAssetRegistry.

◆ SetTemporaryCachingMode()

void UAssetRegistryImpl::SetTemporaryCachingMode ( bool  bEnable)
overridevirtual

Enables or disable temporary search caching, when this is enabled scanning/searching is faster because we assume no objects are loaded between scans. Disabling frees any caches created.

Implements IAssetRegistry.

◆ SetTemporaryCachingModeInvalidated()

void UAssetRegistryImpl::SetTemporaryCachingModeInvalidated ( )
overridevirtual

Mark that the temporary cached needs to be updated before being used again, because e.g. a new class was loaded. Does nothing if TemporaryCachingMode is not enabled

Implements IAssetRegistry.

◆ ShouldUpdateDiskCacheAfterLoad()

virtual bool UAssetRegistryImpl::ShouldUpdateDiskCacheAfterLoad ( ) const
inlineoverridevirtual

If true, the AssetRegistry updates its on-disk information for an Asset whenever that Asset loads.

Implements IAssetRegistry.

◆ Tick()

void UAssetRegistryImpl::Tick ( float  DeltaTime)
overridevirtual

Tick the asset registry

Implements IAssetRegistry.

◆ TickOnBackgroundThread()

UE::AssetRegistry::Impl::EGatherStatus UAssetRegistryImpl::TickOnBackgroundThread ( )

◆ TryGetAssetByObjectPath()

UE::AssetRegistry::EExists UAssetRegistryImpl::TryGetAssetByObjectPath ( const FSoftObjectPath ObjectPath,
FAssetData OutAssetData 
) const
overridevirtual

Tries to get the asset data for the specified object path

Parameters
ObjectPaththe path of the object to be looked up
OutAssetDataout FAssetData
Returns
Enum return code

Implements IAssetRegistry.

◆ TryGetAssetPackageData() [1/2]

UE::AssetRegistry::EExists UAssetRegistryImpl::TryGetAssetPackageData ( const FName  PackageName,
FAssetPackageData OutAssetPackageData 
) const
overridevirtual

Tries to get the pacakge data for a specified path

Parameters
PackageNamename of the package
OutAssetPackageDataout FAssetPackageData
Returns
Enum return code

Implements IAssetRegistry.

◆ TryGetAssetPackageData() [2/2]

UE::AssetRegistry::EExists UAssetRegistryImpl::TryGetAssetPackageData ( const FName  PackageName,
FAssetPackageData OutAssetPackageData,
FName OutCorrectCasePackageName 
) const
overridevirtual

Tries to get the package data for the specified package name. If found, OutCorrectCasePackageName will be populated with the PackageName that matches the casing used by the filesystem

Parameters
PackageNamename of the package
OutAssetPackageDataout FAssetPackageData
OutCorrectCasePackageNameout FName matching filesystem casing
Returns
Return code enum

Implements IAssetRegistry.

◆ UseFilterToExcludeAssets() [1/2]

void UAssetRegistryImpl::UseFilterToExcludeAssets ( TArray< FAssetData > &  AssetDataList,
const FARCompiledFilter CompiledFilter 
) const
overridevirtual

Trims items out of the asset data list that pass the supplied filter

Implements IAssetRegistry.

◆ UseFilterToExcludeAssets() [2/2]

void UAssetRegistryImpl::UseFilterToExcludeAssets ( TArray< FAssetData > &  AssetDataList,
const FARFilter Filter 
) const
overridevirtual

◆ VerseCreated()

bool UAssetRegistryImpl::VerseCreated ( const FString &  FilePathOnDisk)
overridevirtual

Informs the asset registry that a Verse file has been created on disk

Implements IAssetRegistry.

◆ VerseDeleted()

bool UAssetRegistryImpl::VerseDeleted ( const FString &  FilePathOnDisk)
overridevirtual

Informs the asset registry that a Verse file has been deleted from disk

Implements IAssetRegistry.

◆ WaitForCompletion()

void UAssetRegistryImpl::WaitForCompletion ( )
overridevirtual

Wait for scan to be complete. If called during editor startup before OnPostEngineInit, and there are assets with classes in not-yet-loaded plugin modules, WaitForCompletion returns silently with those assets still ungathered.

Implements IAssetRegistry.

◆ WaitForPackage()

void UAssetRegistryImpl::WaitForPackage ( const FString &  PackageName)
overridevirtual

Wait for the scan of a specific package to be complete

Implements IAssetRegistry.

◆ WaitForPremadeAssetRegistry()

void UAssetRegistryImpl::WaitForPremadeAssetRegistry ( )
overridevirtual

Wait for premade asset registry load to be completed, for use when querying the asset registry prior to flushing in ScanPathSynchronous. Will no-op if no such asset registry exists.

Implements IAssetRegistry.

Friends And Related Symbol Documentation

◆ FAssetDataGatherer

friend class FAssetDataGatherer
friend

◆ UE::AssetRegistry::FAssetRegistryImpl

◆ UE::AssetRegistry::Premade::FAsyncConsumer


The documentation for this class was generated from the following files: