![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <AssetDataGathererDiscoveryCache.h>
Public Member Functions | |
| FString | GetCacheFileName () const |
| bool | IsInitialized () const |
| EFeatureEnabled | IsWriteEnabled () const |
| void | Shutdown () |
| void | LoadAndUpdateCache () |
| void | SaveCache () |
| FCachedVolumeInfo & | FindOrAddVolume (FStringView PathOrVolumeName) |
| FCachedDirScanDir & | FindOrAddDir (FStringView Path, FCachedVolumeInfo **OutVolume=nullptr) |
| void | RemoveDir (FStringView Path) |
| FCachedVolumeInfo * | FindVolume (FStringView PathOrVolumeName) |
| FCachedDirScanDir * | FindDir (FStringView Path, FCachedVolumeInfo **OutVolume=nullptr) |
| void | QueueConsume () |
| void | QueueAdd (FString DirName, FCachedDirScanDir DirData) |
| void | QueueAdd (FString DirName, FFileJournalFileHandle JournalHandle, bool bIsReparsePoint) |
Keeps a record of the directories, files, and file timestamps that were found by the directory scan the last time it ran, and invalidates the records that have been reported modified by the PlatformFileJournal.
ThreadSafety: Not threadsafe, with the exception of QueueAdd functions, which can be called at any time from any thread.
| FCachedDirScanDir * UE::AssetDataGather::Private::FAssetDataDiscoveryCache::FindDir | ( | FStringView | Path, |
| FCachedVolumeInfo ** | OutVolume = nullptr |
||
| ) |
Assumes Path has already been normalized.
| FCachedDirScanDir & UE::AssetDataGather::Private::FAssetDataDiscoveryCache::FindOrAddDir | ( | FStringView | Path, |
| FCachedVolumeInfo ** | OutVolume = nullptr |
||
| ) |
Assumes Path has already been normalized.
| FCachedVolumeInfo & UE::AssetDataGather::Private::FAssetDataDiscoveryCache::FindOrAddVolume | ( | FStringView | PathOrVolumeName | ) |
| FCachedVolumeInfo * UE::AssetDataGather::Private::FAssetDataDiscoveryCache::FindVolume | ( | FStringView | PathOrVolumeName | ) |
| FString UE::AssetDataGather::Private::FAssetDataDiscoveryCache::GetCacheFileName | ( | ) | const |
|
inline |
|
inline |
| void UE::AssetDataGather::Private::FAssetDataDiscoveryCache::LoadAndUpdateCache | ( | ) |
| void UE::AssetDataGather::Private::FAssetDataDiscoveryCache::QueueAdd | ( | FString | DirName, |
| FCachedDirScanDir | DirData | ||
| ) |
| void UE::AssetDataGather::Private::FAssetDataDiscoveryCache::QueueAdd | ( | FString | DirName, |
| FFileJournalFileHandle | JournalHandle, | ||
| bool | bIsReparsePoint | ||
| ) |
| void UE::AssetDataGather::Private::FAssetDataDiscoveryCache::QueueConsume | ( | ) |
| void UE::AssetDataGather::Private::FAssetDataDiscoveryCache::RemoveDir | ( | FStringView | Path | ) |
| void UE::AssetDataGather::Private::FAssetDataDiscoveryCache::SaveCache | ( | ) |
| void UE::AssetDataGather::Private::FAssetDataDiscoveryCache::Shutdown | ( | ) |