Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/SavePackage.h |
Include | #include "UObject/SavePackage.h" |
Syntax
struct FSavePackageArgs
Remarks
Struct to encapsulate UPackage::Save arguments. These arguments are shared between packages when saving multiple packages concurrently.
Variables
Type | Name | Description | |
---|---|---|---|
FArchiveCookData * | ArchiveCookData | Nullptr if not cooking, passed to the FArchive | |
bool | bForceByteSwapping | Whether we should forcefully byte swap before writing header and exports to disk. | |
bool | bSlowTask | If true, the Save will send progress events that are displayed in the editor. | |
bool | bWarnOfLongFilename | If true (the default), warn when saving to a long filename. | |
FOutputDevice * | Error | Receives error/warning messages sent by the Save, to log and respond to their severity level. | |
FDateTime | FinalTimeStamp | If not FDateTime::MinValue() (the default), the timestamp the saved file should be set to. | |
TMap< UObject *, FObjectSaveOverride > * | InOutSaveOverrides | In/Out list of property overrides per object to apply to during save. | |
TOptional< FGuid > | OutputPackageGuid | ||
PRAGMA_DISABLE_DEPRECATION_WARNINGS | |||
PRAGMA_ENABLE_DEPRECATION_WARNINGS | |||
uint32 | SaveFlags | Flags to control saving, a bitwise-or'd combination of values from ESaveFlags | |
FSavePackageContext * | SavePackageContext | Structure to hold longer-lifetime parameters that apply to multiple saves | |
const ITargetPlatform * | TargetPlatform | ||
EObjectFlags | TopLevelFlags | For all objects which are not referenced[either directly, or indirectly] through the InAsset provided to the Save call (See UPackage::Save), only objects that contain any of these flags will be saved. |
Constructors
Type | Name | Description | |
---|---|---|---|
FSavePackageArgs
(
const FSavePackageArgs& |
|||
FSavePackageArgs
(
const ITargetPlatform* InTargetPlatform, |
Functions
Type | Name | Description | |
---|---|---|---|
const ITargetPlatform * | |||
bool | IsCooking () |
Operators
Type | Name | Description | |
---|---|---|---|
FSavePackageArgs & | operator=
(
const FSavePackageArgs& |
||
FSavePackageArgs & | operator=
(
FSavePackageArgs&& |