Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/FPackageTrailerBuilder
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/PackageTrailer.h |
| Include | #include "UObject/PackageTrailer.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/PackageTrailer.cpp |
void AddVirtualizedPayload
(
const FIoHash & Identifier,
int64 RawSize
)
Remarks
Adds an already virtualized payload to the builder to be written to the trailer. When the trailer is written the payload will have EPayloadAccessMode::Virtualized set as it's access mode. It is assumed that the payload is already stored in the virtualization backends and it is up to the calling code to confirm this. Duplicate payloads will be discarded and only a single instance stored in the trailer.
Parameters
| Name | Description |
|---|---|
| Identifier | The identifier of the payload |
| RawSize | The size of the payload (in bytes) when uncompressed |