5#include "Containers/Array.h"
6#include "Containers/Map.h"
281 UE_DEPRECATED(5.6,
"These dependencies should instead be reported in OnCookEvent(UE::Cook::ECookEvent::PlatformCookDependencies, ...) by calling FCookEventContext.AddLoadBuildDependency (@see CookEvents.h).")
330 UE_DEPRECATED(5.5,
"Calling AddSaveOverride in UObject::PreSave is deprecated. Override UObject::CollectSaveOverrides and call AddSaveOverride on its context instead.")
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
OODEFFUNC typedef void OO_U64 * dependencies
Definition oodle2.h:588
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
@ SAVE_FromAutosave
Used to indicate this save was initiated automatically.
Definition ObjectMacros.h:100
EObjectSaveContextPhase
Definition ObjectSaveContext.h:31
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
Definition ObjectSaveContext.h:193
const ITargetPlatform * GetTargetPlatform() const
Definition ObjectSaveContext.h:211
bool IsCooking() const
Definition ObjectSaveContext.h:208
bool IsCookByTheBook() const
Definition ObjectSaveContext.h:213
FObjectCollectSaveOverridesContext(FObjectSaveContextData &InData)
Definition ObjectSaveContext.h:195
FObjectCollectSaveOverridesContext(const FObjectCollectSaveOverridesContext &Other)
Definition ObjectSaveContext.h:201
bool IsCookOnTheFly() const
Definition ObjectSaveContext.h:214
UE::Cook::ECookingDLC GetCookingDLC() const
Definition ObjectSaveContext.h:217
uint32 GetSaveFlags() const
Definition ObjectSaveContext.h:227
void AddSaveOverride(UObject *Target, FObjectSaveOverride InOverride)
Definition ObjectSaveContext.h:232
bool IsProceduralSave() const
Definition ObjectSaveContext.h:224
bool IsCookTypeUnknown() const
Definition ObjectSaveContext.h:215
UE::Cook::ECookType GetCookType() const
Definition ObjectSaveContext.h:216
FObjectSaveContextData & Data
Definition ObjectSaveContext.h:238
Definition ObjectSaveContext.h:459
bool IsFromAutoSave() const
Definition ObjectSaveContext.h:502
const ITargetPlatform * GetTargetPlatform() const
Definition ObjectSaveContext.h:484
EObjectSaveContextPhase GetPhase() const
Definition ObjectSaveContext.h:526
bool IsUpdatingLoadedPath() const
Definition ObjectSaveContext.h:508
FObjectPostSaveContext(const FObjectPostSaveContext &Other)
Definition ObjectSaveContext.h:467
bool SaveSucceeded() const
Definition ObjectSaveContext.h:517
const TCHAR * GetTargetFilename() const
Definition ObjectSaveContext.h:478
bool IsCooking() const
Definition ObjectSaveContext.h:481
bool IsCookOnTheFly() const
Definition ObjectSaveContext.h:487
UE::Cook::ECookingDLC GetCookingDLC() const
Definition ObjectSaveContext.h:490
bool IsProceduralSave() const
Definition ObjectSaveContext.h:497
bool IsCookByTheBook() const
Definition ObjectSaveContext.h:486
FObjectPostSaveContext(FObjectSaveContextData &InData)
Definition ObjectSaveContext.h:461
FObjectSaveContextData & Data
Definition ObjectSaveContext.h:529
uint32 GetSaveFlags() const
Definition ObjectSaveContext.h:511
UE::Cook::ECookType GetCookType() const
Definition ObjectSaveContext.h:489
bool IsCookTypeUnknown() const
Definition ObjectSaveContext.h:488
uint32 GetOriginalPackageFlags() const
Definition ObjectSaveContext.h:514
bool IsLastConcurrentSave() const
Definition ObjectSaveContext.h:523
Definition ObjectSaveContext.h:554
FObjectPostSaveRootContext(const FObjectPostSaveRootContext &Other)
Definition ObjectSaveContext.h:561
bool IsCleanupRequired() const
Definition ObjectSaveContext.h:567
FObjectPostSaveRootContext(FObjectSaveContextData &InData)
Definition ObjectSaveContext.h:556
Definition ObjectSaveContext.h:244
FObjectPreSaveContext(const FObjectPreSaveContext &Other)
Definition ObjectSaveContext.h:252
FObjectPreSaveContext(FObjectSaveContextData &InData)
Definition ObjectSaveContext.h:246
EObjectSaveContextPhase GetPhase() const
Definition ObjectSaveContext.h:278
UE::Cook::ECookType GetCookType() const
Definition ObjectSaveContext.h:274
bool IsCookTypeUnknown() const
Definition ObjectSaveContext.h:273
FObjectSaveContextData & Data
Definition ObjectSaveContext.h:337
bool IsProceduralSave() const
Definition ObjectSaveContext.h:305
bool IsCookByTheBook() const
Definition ObjectSaveContext.h:271
bool IsUpdatingLoadedPath() const
Definition ObjectSaveContext.h:316
const TCHAR * GetTargetFilename() const
Definition ObjectSaveContext.h:263
bool IsFirstConcurrentSave() const
Definition ObjectSaveContext.h:325
const ITargetPlatform * GetTargetPlatform() const
Definition ObjectSaveContext.h:269
void AddSaveOverride(UObject *Target, FObjectSaveOverride InOverride)
Definition ObjectSaveContext.h:331
bool IsCooking() const
Definition ObjectSaveContext.h:266
UE::Cook::ECookingDLC GetCookingDLC() const
Definition ObjectSaveContext.h:275
bool IsFromAutoSave() const
Definition ObjectSaveContext.h:310
uint32 GetSaveFlags() const
Definition ObjectSaveContext.h:319
bool IsCookOnTheFly() const
Definition ObjectSaveContext.h:272
Definition ObjectSaveContext.h:535
void SetCleanupRequired(bool bCleanupRequired)
Definition ObjectSaveContext.h:548
FObjectPreSaveRootContext(const FObjectPreSaveRootContext &Other)
Definition ObjectSaveContext.h:542
FObjectPreSaveRootContext(FObjectSaveContextData &InData)
Definition ObjectSaveContext.h:537
Definition UnrealType.h:3087
Definition ObjectSaveContext.h:343
bool IsUpdatingLoadedPath() const
Definition ObjectSaveContext.h:442
UE::Cook::ECookType GetCookType() const
Definition ObjectSaveContext.h:371
bool IsFromAutoSave() const
Definition ObjectSaveContext.h:436
FObjectSavePackageSerializeContext(const FObjectSavePackageSerializeContext &Other)
Definition ObjectSaveContext.h:350
bool IsCooking() const
Definition ObjectSaveContext.h:363
FObjectSaveContextData & Data
Definition ObjectSaveContext.h:454
bool IsCookTypeUnknown() const
Definition ObjectSaveContext.h:370
FObjectSavePackageSerializeContext(FObjectSaveContextData &InData)
Definition ObjectSaveContext.h:345
EObjectSaveContextPhase GetPhase() const
Definition ObjectSaveContext.h:375
UE::Cook::ECookingDLC GetCookingDLC() const
Definition ObjectSaveContext.h:372
bool IsFirstConcurrentSave() const
Definition ObjectSaveContext.h:451
const ITargetPlatform * GetTargetPlatform() const
Definition ObjectSaveContext.h:366
const TCHAR * GetTargetFilename() const
Definition ObjectSaveContext.h:360
bool IsCookOnTheFly() const
Definition ObjectSaveContext.h:369
bool IsProceduralSave() const
Definition ObjectSaveContext.h:431
uint32 GetSaveFlags() const
Definition ObjectSaveContext.h:445
bool IsCookByTheBook() const
Definition ObjectSaveContext.h:368
Definition PackagePath.h:89
Definition PackageWriter.h:41
Definition UnrealString.h.inl:34
Definition RefCounting.h:454
Definition CookOnTheFly.h:19
ECookingDLC
Definition CookEnums.h:19
ECookType
Definition CookEnums.h:12
Definition AdvancedWidgetsModule.cpp:13
Definition ObjectSaveContext.h:70
const ITargetPlatform * TargetPlatform
Definition ObjectSaveContext.h:109
TMap< UObject *, FObjectSaveOverride > SaveOverrides
Definition ObjectSaveContext.h:174
bool bCleanupRequired
Definition ObjectSaveContext.h:177
uint32 OriginalPackageFlags
Definition ObjectSaveContext.h:124
IPackageWriter * PackageWriter
Definition ObjectSaveContext.h:115
uint32 SaveFlags
Definition ObjectSaveContext.h:121
UE::Cook::ECookType CookType
Definition ObjectSaveContext.h:126
EObjectSaveContextPhase ObjectSaveContextPhase
Definition ObjectSaveContext.h:130
bool bSaveSucceeded
Definition ObjectSaveContext.h:153
bool bOuterConcurrentSave
Definition ObjectSaveContext.h:150
int32 NumRefPasses
Definition ObjectSaveContext.h:181
FString TargetFilename
Definition ObjectSaveContext.h:106
bool bProceduralSave
Definition ObjectSaveContext.h:137
bool bDeterminismDebug
Definition ObjectSaveContext.h:159
bool bUpdatingLoadedPath
Definition ObjectSaveContext.h:143
COREUOBJECT_API ~FObjectSaveContextData()
bool bRequestPostSaveSerialization
Definition ObjectSaveContext.h:187
UObject * Object
Definition ObjectSaveContext.h:118
COREUOBJECT_API FObjectSaveContextData(const FObjectSaveContextData &Other)
bool bBaseClassCalled
Definition ObjectSaveContext.h:184
COREUOBJECT_API FObjectSaveContextData()
UE::Cook::ICookInfo * CookInfo
Definition ObjectSaveContext.h:112
void AddSaveOverride(UObject *Target, FObjectSaveOverride InOverride)
Definition ObjectSaveContext.h:87
UE::Cook::ECookingDLC CookingDLC
Definition ObjectSaveContext.h:127
COREUOBJECT_API FObjectSaveContextData(FObjectSaveContextData &&Other)
Definition ObjectSaveOverride.h:28
Definition SoftObjectPath.h:56