Navigation
API > API/Runtime > API/Runtime/CoreUObject
Struct to encapsulate UPackage::Save arguments. These arguments are shared between packages when saving multiple packages concurrently.
| Name | FSavePackageArgs |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/SavePackage.h |
| Include Path | #include "UObject/SavePackage.h" |
Syntax
struct FSavePackageArgs
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| UObject/SavePackage.h | |||
FSavePackageArgs
(
const FSavePackageArgs& |
UObject/SavePackage.h | ||
| UObject/SavePackage.h | |||
FSavePackageArgs
(
const ITargetPlatform* InTargetPlatform, |
UObject/SavePackage.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ArchiveCookData | FArchiveCookData * | Nullptr if not cooking, passed to the FArchive | UObject/SavePackage.h | |
| bForceByteSwapping | bool | Whether we should forcefully byte swap before writing header and exports to disk. | UObject/SavePackage.h | |
| bSlowTask | bool | If true, the Save will send progress events that are displayed in the editor. | UObject/SavePackage.h | |
| bWarnOfLongFilename | bool | If true (the default), warn when saving to a long filename. | UObject/SavePackage.h | |
| Error | FOutputDevice * | Receives error/warning messages sent by the Save, to log and respond to their severity level. | UObject/SavePackage.h | |
| FinalTimeStamp | FDateTime | If not FDateTime::MinValue() (the default), the timestamp the saved file should be set to. | UObject/SavePackage.h | |
| InOutSaveOverrides | TMap< UObject *, FObjectSaveOverride > * | In/Out list of property overrides per object to apply to during save. | UObject/SavePackage.h | |
| SaveFlags | uint32 | Flags to control saving, a bitwise-or'd combination of values from ESaveFlags | UObject/SavePackage.h | |
| SavePackageContext | FSavePackageContext * | Structure to hold longer-lifetime parameters that apply to multiple saves | UObject/SavePackage.h | |
| TopLevelFlags | EObjectFlags | 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. | UObject/SavePackage.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const ITargetPlatform * GetTargetPlatform() |
UObject/SavePackage.h | ||
bool IsCooking() |
UObject/SavePackage.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSavePackageArgs & operator=
(
const FSavePackageArgs& |
UObject/SavePackage.h | ||
| UObject/SavePackage.h |