Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FLinkerSave
Description
Assign the Saver that will receive the binary data for the package and write it to disk/memory/unspecified. Must be called only once, after construction and before any calls to FArchive functions on this. Takes ownership of the given archive, and deletes it in CloseAndDestroySaver or destructor.
| Name | AssignSaver |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/LinkerSave.h |
| Include Path | #include "UObject/LinkerSave.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerSave.cpp |
void AssignSaver
(
FArchive * InSaver,
bool bForceByteSwapping,
bool bInSaveUnversioned
)
Parameters
| Name | Remarks |
|---|---|
| bForceByteSwapping | Passed to FArchive::IsByteSwapping |
| bInSaveUnversioned | Passed to FPackageFileSummary::bUnversioned, which if true removes native versioning and custom versions from the saved package. Used for cooked packages, which exactly match native runtime version. |