Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/ICookedPackageWriter
Description
Cooked package writers asynchronously hash the chunks for each package after CommitPackage. Once cooking has completed, use this to acquire the results. This is synced using void UPackage::WaitForAsyncFileWrites() - do not access the results before that completes. Non-const so that the cooking process can Move the map of hashes.
| Name | GetPackageHashes |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/PackageWriter.h |
| Include Path | #include "Serialization/PackageWriter.h" |
TMap < FName , TRefCountPtr < FPackageHashes > > & GetPackageHashes()