Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/IPackageResourceManager
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/PackageResourceManager.h |
| Include | #include "UObject/PackageResourceManager.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/PackageResourceManager.cpp |
static bool TryTakePreloadableArchive
&40;
const FPackagePath & PackagePath,
FOpenPackageResult & OutResult
&41;
Remarks
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.