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