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 |
bool TryLoad
(
FArchive & Ar
)
Remarks
Serializes the trailer from the given archive assuming that the seek position of the archive is already at the correct position for the trailer. True if a valid trailer was found and was able to be loaded, otherwise false. If the trailer was found but failed to load then the archive will be set to the error state.
Parameters
| Name | Description |
|---|---|
| Ar | The archive to load the trailer from |