Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > Serialization
Inheritance Hierarchy
- FArchiveSavePackageData
- FArchiveSavePackageDataBuffer
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/Serialization/ArchiveSavePackageDataBuffer.h |
Include | #include "Serialization/ArchiveSavePackageDataBuffer.h" |
Syntax
struct FArchiveSavePackageDataBuffer : public FArchiveSavePackageData
Remarks
This is the structure that should be used by most callers of an archive (other than SavePackage which handles the full complexity) that need to provide SavePackage or Cook information to the archive.
FArchiveSavePackageData is a minimalist struct that holds pointers to types it cannot have defined, because they are defined in modules higher in the dependency graph. Because of that minimalism, it needs pointers to several pieces of related data. Collect all of those pieces of related data in this module that knows all of the types, and keep them in a single amalgamated structure the sets the base class pointers to the appropriate internal structures.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FArchiveCookContext | CookContextBuffer | |
![]() |
TOptional< FObjectSaveContextData > | ObjectSaveContextData | |
![]() |
FObjectSavePackageSerializeContext | ObjectSavePackageSerializeContextBuffer |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FArchiveSavePackageDataBuffer
(
FArchiveCookContext InContext |
||
![]() |
FArchiveSavePackageDataBuffer
(
const ITargetPlatform* InTargetPlatform, |
Warning V1050 : The uninitialized class member 'ObjectSavePackageSerializeContextBuffer' is used when initializing the base class 'FArchiveSavePackageData'. | |
![]() |
FArchiveSavePackageDataBuffer
(
FObjectSaveContextData& InData, |