FZenStoreWriter::GetPackageHashes

Cooked package writers asynchronously hash the chunks for each package after CommitPackage.

Unreal Engine C++ API Reference > Developer > IoStoreUtilities > FZenStoreWriter

References

   
Module IoStoreUtilities
Header /Engine/Source/Developer/IoStoreUtilities/Public/ZenStoreWriter.h
Include #include "ZenStoreWriter.h"
virtual [TMap](API\Runtime\Core\Containers\TMap)< [FName](API\Runtime\Core\UObject\FName), [TRefCountPtr](API\Runtime\Core\Templates\TRefCountPtr)< [FPackageHashes](API\Runtime\Core\Serialization\FPackageHashes) > > & GetPackageHashes()  

Remarks

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.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library