Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FPackageTrailer
Description
Loads a payload that is stored locally within the package trailer. Payloads stored externally (either referenced or virtualized) will not load.
| Name | LoadLocalPayload |
| 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 |
FCompressedBuffer LoadLocalPayload
(
const FIoHash & Id,
FArchive & Ar
) const
The payload in the form of a FCompressedBuffer. If the payload does not exist in the trailer or is not stored locally in the trailer then the FCompressedBuffer will be null.
Parameters
| Name | Remarks |
|---|---|
| Id | The payload to load |
| Ar | The archive from which the payload trailer was also loaded from |