Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/IPackageResourceManager > API/Runtime/CoreUObject/UObject/IPackageResourceManager/OpenMappedHandleToPackage
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 |
IMappedFileHandle * OpenMappedHandleToPackage
(
const FPackagePath & PackagePath,
FPackagePath * OutUpdatedPath
)
Remarks
Open an IMappedFileHandle to the package, if the PackageResourceManager supports it
Will return nullptr if the package does not exist or if the PackageResourceManager does not support MappedFilesHandles IMappedFileHandle* or nullptr
Parameters
| Name | Description |
|---|---|
| PackagePath | The package to look for |
| OutUpdatedPath | If non-null and the package is found, PackagePath is copied into this path (noop if OutUpdatedPath == &PackagePath), and if the package exists, the specific extension found is set |