Choose your operating system:
Windows
macOS
Linux
| FLinker | ||
| FArchiveUObject
|
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/LinkerSave.h |
Include |
#include "UObject/LinkerSave.h" |
class FLinkerSave :
public FLinker,
public FArchiveUObject
Handles saving Unreal package files.
Name | Description | ||
---|---|---|---|
|
AdditionalDataToAppend |
Array of callbacks that will be invoked when it is possible to serialize out data to the end of the output file. |
|
|
bProceduralSave |
Set to true when the package is being saved due to a procedural save. |
|
|
BulkDataToAppend |
||
|
bUpdatingLoadedPath |
Set to true when the LoadedPath of the package being saved is being updated. |
|
|
CurrentlySavingExport |
||
|
DepListForErrorChecking |
||
|
FileRegions |
||
|
NameIndices |
Index array - location of the name in the NameMap array for each FName is stored in the NameIndices array using the FName's Index |
|
|
ObjectIndicesMap |
Index array - location of the resource for a UObject is stored in the ObjectIndices array using the UObject's Index |
|
|
TUniquePtr< UE:... |
PackageTrailerBuilder |
Gathers all payloads while save the package, so that they can be stored in a single data structure |
|
PostSaveCallbacks |
Array of callbacks that will be invoked when the package has successfully saved to disk. |
|
|
TRefCountPtr< F... |
SaveContext |
Save context associated with this linker |
|
FArchive * |
Saver |
Variables. |
|
SearchableNamesObjectMap |
List of Searchable Names, by object containing them. This gets turned into package indices later |
|
|
SidecarDataToAppend |
Used by FVirtualizedUntypedBulkData to add payloads to be added to the payload sidecar file (currently an experimental feature) |
Name | Description | |
---|---|---|
|
FLinkerSave |
Constructor for memory writer |
|
FLinkerSave |
Constructor for file writer |
|
FLinkerSave |
Constructor for custom savers. The linker assumes ownership of the custom saver. |
Name | Description | |
---|---|---|
|
~FLinkerSave() |
Name | Description | ||
---|---|---|---|
|
CloseAndDestroySaver() |
Closes and deletes the Saver (file, memory or custom writer) which will close any associated file handle. |
|
|
const FStrin... |
GetFilename() |
Get the filename being saved to |
|
FOutputDevic... |
GetOutputDevice() |
Returns an output Device that can be used to log info, warnings and errors etc. |
|
MapName ( |
Returns the appropriate name index for the source name, or 0 if not found in NameIndices |
|
|
FPackageInde... |
MapObject ( |
Returns the appropriate package index for the source object, or default value if not found in ObjectIndicesMap |
|
OnPostSave ( |
Invoke all of the callbacks in PostSaveCallbacks and then empty it. |
|
|
SetFilename ( |
Set the filename being saved to |
|
|
SetOutputDevice ( |
Set the output device used to log errors, if any. |
|
|
ELinkerType:... |
StaticType() |
|
|
ThisRequiresLocalizationGather() |
Sets a flag indicating that this archive contains data required to be gathered for localization. |
Name | Description | ||
---|---|---|---|
|
GetDebugName() |
Returns a descriptor of the PackagePath this Linker is reading from or writing to, usable for an identifier in warning and log messages |
Name | Description | ||
---|---|---|---|
|
PopDebugDataString() |
||
|
PushDebugDataString ( |
Proxy for debugdata |
|
|
Seek ( |
Attempts to set the current offset into backing data storage, this will do nothing if there is no storage. |
|
|
Serialize |
||
|
UsingCustomVersion ( |
Registers the custom version to the archive. |
Name | Description | ||
---|---|---|---|
|
GetArchiveName() |
Returns the name of the Archive. |
|
|
FLinker *... |
GetLinker() |
If this archive is a FLinkerLoad or FLinkerSave, returns a pointer to the FLinker portion. |
|
FUObjectSeri... |
GetSerializeContext() |
Gets the current UObject serialization context for this archive. |
|
SetSerializeContext ( |
Sets the current UObject serialization context for this archive. |
|
|
SetUseUnversionedPropertySerialization ( |
Sets whether tagged property serialization should be replaced by faster unversioned serialization. |
|
|
Tell() |
Returns the current location within the backing data storage, which can possibly be passed to Seek later to restore a read/write location. |
Name | Description | ||
---|---|---|---|
|
FArchive & |
operator<< ( |
Serializes an FName value from or into this archive. |
|
FArchive & |
operator<< ( |
Serializes a lazy object pointer value from or into this archive. |
|
FArchive & |
operator<< ( |
Serializes an UObject value from or into this archive. |
Name |
Description |
|
---|---|---|
|
FBulkDataStorageInfo |
List of bulkdata that needs to be stored at the end of the file |
|
FSidecarStorageInfo |
Name |
Description |
---|---|
AdditionalDataCallback |
Callback for arbitrary serializers to append data to the end of the ExportsArchive. |
Name |
Description |
---|---|
PackagesToScriptSHAMap |
A mapping of package name to generated script SHA keys |