Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > Misc
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/Misc/RedirectCollector.h |
Include | #include "Misc/RedirectCollector.h" |
Syntax
class FRedirectCollector
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
UE::TDynamicUniqueLock< FCriticalSection > | AcquireLock () |
Used with GetObjectPathRedirectionMapUnderLock with code like: UE::TDynamicUniqueLock |
![]() |
void | AddAssetPathRedirection
(
FName OriginalPath, |
Adds a new mapping for redirector path to destination path, this is called from the Asset Registry to register all redirects it knows about |
![]() |
void | AddAssetPathRedirection
(
const FSoftObjectPath& OriginalPath, |
|
![]() |
void | CollectSavedSoftPackageReferences
(
FName ReferencingPackage, |
Called at the end of Package Save to record soft package references that might have been created by save transformations |
![]() ![]() |
void | GetAllSourcePathsForTargetPath
(
const FSoftObjectPath& TargetPath, |
Returns the set of paths, if any, that are redirected TO the provided path. |
![]() |
FName | GetAssetPathRedirection
(
FName OriginalPath |
Returns a remapped asset path, if it returns null there is no relevant redirector |
![]() |
FSoftObjectPath | GetAssetPathRedirection
(
const FSoftObjectPath& OriginalPath |
Returns a remapped asset path, if there is no relevant redirector, the return value reports true from IsNull() |
![]() ![]() |
const TMap< FSoftObjectPath, FSoftObjectPath > & | GetObjectPathRedirectionMapUnderLock
(
const UE::TDynamicUniqueLock< FCriticalSection >& Lock |
Access to the collected list of redirects when already holding the lock. |
![]() ![]() |
bool | Do we have any references to resolve. | |
![]() |
void | OnSoftObjectPathLoaded
(
const FSoftObjectPath& InPath, |
Called from FSoftObjectPath::PostLoadPath, registers the given SoftObjectPath for later querying |
![]() |
void | Called from the cooker to stop the tracking of exclusions. | |
![]() |
void | ProcessSoftObjectPathPackageList
(
FName FilterPackage, |
Returns the list of packages referenced by soft object paths loaded by FilterPackage, and remove them from the internal list |
![]() |
bool | RemoveAndCopySoftObjectPathExclusions
(
FName PackageName, |
Removes and copies the value of the list of package dependencies of the given package that were marked as excluded by FSoftObjectPathSerializationScopes during the load of the package. |
![]() |
void | RemoveAssetPathRedirection
(
FName OriginalPath |
Removes an asset path redirection, call this when deleting redirectors |
![]() |
void | RemoveAssetPathRedirection
(
const FSoftObjectPath& OriginalPath |
|
![]() |
void | ResolveAllSoftObjectPaths
(
FName FilterPackage |
Load all soft object paths to resolve them, add that to the remap table, and empty the array |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
ETrackingReferenceTypesState |
Typedefs
Name | Description |
---|---|
FSoftObjectPathMap | |
FSoftObjectPathPropertySet | A map of assets referenced by soft object paths, with the key being the package with the reference |
ObjectPathSourcesArray | A reverse lookup map for use with GetAllSourcePathsForTargetPath |