Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FPackageTrailerBuilder
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddPayload
(
const FIoHash& Identifier, |
UObject/PackageTrailer.h | ||
void AddPayload
(
const FIoHash& Identifier, |
Adds a payload to the builder to be written to the trailer. | UObject/PackageTrailer.h |
AddPayload(const FIoHash &, FCompressedBuffer, UE::Virtualization::EPayloadFilterReason)
| Name | AddPayload |
| 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 AddPayload
(
const FIoHash & Identifier,
FCompressedBuffer Payload,
UE::Virtualization::EPayloadFilterReason Filter
)
AddPayload(const FIoHash &, FCompressedBuffer, UE::Virtualization::EPayloadFilterReason, AdditionalDataCallback &&)
Description
Adds a payload to the builder to be written to the trailer. Duplicate payloads will be discarded and only a single instance stored in the trailer.
| Name | AddPayload |
| 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 AddPayload
(
const FIoHash & Identifier,
FCompressedBuffer Payload,
UE::Virtualization::EPayloadFilterReason Filter,
AdditionalDataCallback && Callback
)
Parameters
| Name | Remarks |
|---|---|
| Identifier | The identifier of the payload |
| Payload | The payload data |
| Flags | The custom flags to be applied to the payload |
| Callback | This callback will be invoked once the FPackageTrailer has been built and appended to disk. |