FPackageTrailer::TryLoad

Serializes the trailer from the given archive assuming that the seek position of the archive is already at the correct position for the trailer.

Choose your operating system:

Windows

macOS

Linux

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

Syntax

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.

Returns

True if a valid trailer was found and was able to be loaded, otherwise false.

Parameters

Parameter

Description

Ar

The archive to load the trailer from