Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/IPackageResourceManager
Description
Look up an FPreloadableFile instance registered for the given PackagePath, and return an FOpenPackageResult from it
If found, removes the registration so no future call to TryTakePreloadableArchive can use the same FArchive. If the instance is in PreloadHandle mode, the Lower-Level FArchive will be detached from the FPreloadableFile and returned using DetachLowerLevel. If the instance is in PreloadBytes mode, a ProxyArchive will be returned that forwards call to the FPreloadableFile instance.
| Name | TryTakePreloadableArchive |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/PackageResourceManager.h |
| Include Path | #include "UObject/PackageResourceManager.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/PackageResourceManager.cpp |
static bool TryTakePreloadableArchive
(
const FPackagePath & PackagePath,
FOpenPackageResult & OutResult
)