![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ArchiveSavePackageDataBuffer.h>
Inheritance diagram for FArchiveSavePackageDataBuffer:Public Member Functions | |
| FArchiveSavePackageDataBuffer (const ITargetPlatform *InTargetPlatform=nullptr, UPackage *Package=nullptr, UE::Cook::ICookInfo *CookInfo=nullptr) | |
| FArchiveSavePackageDataBuffer (FArchiveCookContext InContext) | |
| FArchiveSavePackageDataBuffer (FObjectSaveContextData &InData, UPackage *InPackage=nullptr) | |
Public Member Functions inherited from FArchiveSavePackageData | |
| FArchiveSavePackageData (FObjectSavePackageSerializeContext &InSavePackageContext, const ITargetPlatform *InTargetPlatform, FArchiveCookContext *InCookContext) | |
Public Attributes | |
| TOptional< FObjectSaveContextData > | ObjectSaveContextData |
| FObjectSavePackageSerializeContext | ObjectSavePackageSerializeContextBuffer |
| FArchiveCookContext | CookContextBuffer |
Public Attributes inherited from FArchiveSavePackageData | |
| FObjectSavePackageSerializeContext & | SavePackageContext |
| const ITargetPlatform * | TargetPlatform = nullptr |
| FArchiveCookContext * | CookContext = nullptr |
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.
|
inline |
|
inline |
|
inline |
| FArchiveCookContext FArchiveSavePackageDataBuffer::CookContextBuffer |
| TOptional<FObjectSaveContextData> FArchiveSavePackageDataBuffer::ObjectSaveContextData |
| FObjectSavePackageSerializeContext FArchiveSavePackageDataBuffer::ObjectSavePackageSerializeContextBuffer |