UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::PackageWriter::Private::FWriteFileData Struct Reference

#include <PackageWriter.h>

Public Attributes

FString Filename
 
FCompositeBuffer Buffer
 
TArray< FFileRegionRegions
 
bool bIsSidecar = false
 
bool bContributeToHash = true
 
bool bPackageSpecificFilename = false
 
FIoChunkId ChunkId = FIoChunkId::InvalidChunkId
 

Detailed Description

The data needed to asynchronously write that was passed to a PackageWriter (.uasset, .uexp, .ubulk, any optional and any additional), without reference back to other data on the Writer. This type is a cooker implementation detail and might be changed without deprecation in a future version.

Member Data Documentation

◆ bContributeToHash

bool UE::PackageWriter::Private::FWriteFileData::bContributeToHash = true

True if file should be hashed and its hash accumulated into the total cookhash for the package writing the file.

◆ bIsSidecar

bool UE::PackageWriter::Private::FWriteFileData::bIsSidecar = false

◆ bPackageSpecificFilename

bool UE::PackageWriter::Private::FWriteFileData::bPackageSpecificFilename = false

True only if the file is known to have a filename specific to the package saving the file, so that two packages cannot both try to write the same file. If it is true we can write the file directly on CookWorkers during MPCook without the possibility of two CookWorkers writing the file at the same time.

◆ Buffer

FCompositeBuffer UE::PackageWriter::Private::FWriteFileData::Buffer

◆ ChunkId

FIoChunkId UE::PackageWriter::Private::FWriteFileData::ChunkId = FIoChunkId::InvalidChunkId

◆ Filename

FString UE::PackageWriter::Private::FWriteFileData::Filename

◆ Regions

TArray<FFileRegion> UE::PackageWriter::Private::FWriteFileData::Regions

The documentation for this struct was generated from the following file: