Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/IPackageResourceManager > API/Runtime/CoreUObject/UObject/IPackageResourceManager/OpenAsyncReadPackage
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 |
FOpenAsyncPackageResult OpenAsyncReadPackage
(
const FPackagePath & PackagePath
)
Remarks
Open an IAsyncReadFileHandle to asynchronously read the bytes of the package
If the PackagePath specifies the extension, this call does not hit the disk/network or block. Otherwise, this call will read from network/disk to find the extension This call will always return a non-null handle, even if the package does not exist An FOpenAsyncPackageResult, with Handle that will read from the package if it exists, or will be in the canceled state if the package does not exist, and with other data describing the returned archive (see FOpenAsyncPackageResult)
Parameters
| Name | Description |
|---|---|
| PackagePath | The package to look for |