Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FPackageTrailerBuilder
Description
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.
| Name | AddVirtualizedPayload |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/PackageTrailer.h |
| Include Path | #include "UObject/PackageTrailer.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/PackageTrailer.cpp |
void AddVirtualizedPayload
(
const FIoHash & Identifier,
int64 RawSize
)
Parameters
| Name | Remarks |
|---|---|
| Identifier | The identifier of the payload |
| RawSize | The size of the payload (in bytes) when uncompressed |