Navigation
API > API/Runtime > API/Runtime/CoreUObject
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.
| Name | FArchiveSavePackageDataBuffer |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Serialization/ArchiveSavePackageDataBuffer.h |
| Include Path | #include "Serialization/ArchiveSavePackageDataBuffer.h" |
Syntax
struct FArchiveSavePackageDataBuffer : public FArchiveSavePackageData
Inheritance Hierarchy
- FArchiveSavePackageData → FArchiveSavePackageDataBuffer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FArchiveSavePackageDataBuffer
(
FArchiveCookContext InContext |
Serialization/ArchiveSavePackageDataBuffer.h | ||
FArchiveSavePackageDataBuffer
(
FObjectSaveContextData& InData, |
Serialization/ArchiveSavePackageDataBuffer.h | ||
FArchiveSavePackageDataBuffer
(
const ITargetPlatform* InTargetPlatform, |
Warning V1050 : The uninitialized class member 'ObjectSavePackageSerializeContextBuffer' is used when initializing the base class 'FArchiveSavePackageData'. | Serialization/ArchiveSavePackageDataBuffer.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CookContextBuffer | FArchiveCookContext | Serialization/ArchiveSavePackageDataBuffer.h | ||
| ObjectSaveContextData | TOptional< FObjectSaveContextData > | Serialization/ArchiveSavePackageDataBuffer.h | ||
| ObjectSavePackageSerializeContextBuffer | FObjectSavePackageSerializeContext | Serialization/ArchiveSavePackageDataBuffer.h |