Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Serialization/Archive.h |
Include |
#include "Serialization/Archive.h" |
struct FArchiveState
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
ArAllowLazyLoading |
Whether to allow lazy loading. |
|
uint8: 1 |
ArContainsCode |
Quickly tell if an archive contains script code. |
|
uint8: 1 |
ArContainsMap |
Used to determine whether FArchive contains a level or world. |
|
const FCustomPr... |
ArCustomPropertyList |
Custom property list attribute. |
|
ArDebugSerializationFlags |
Custom serialization modifier flags can be used for anything |
|
|
ArEngineNetVer |
Holds the engine network protocol version. |
|
|
ArEngineVer |
Holds the engine version. |
|
|
uint8: 1 |
ArForceByteSwapping |
Whether we should forcefully swap bytes. |
|
uint8: 1 |
ArForceUnicode |
Whether this archive wants to always save strings in unicode format |
|
ArGameNetVer |
Holds the game network protocol version. |
|
|
uint8: 1 |
ArIgnoreArchetypeRef |
If true, we will not serialize the ObjectArchetype reference in UObject. |
|
uint8: 1 |
ArIgnoreClassGeneratedByRef |
If true, we will not serialize ClassGeneratedBy reference in UClass. |
|
uint8: 1 |
ArIgnoreClassRef |
If true, UObject::Serialize will skip serialization of the Class property. |
|
uint8: 1 |
ArIgnoreOuterRef |
If true, we will not serialize the Outer reference in UObject. |
|
uint8: 1 |
ArIsCountingMemory |
Whether this archive is counting memory and therefore wants e.g. TMaps to be serialized. |
|
uint8: 1 |
ArIsCriticalError |
Whether this archive contains critical errors. |
|
uint8: 1 |
ArIsError |
Whether this archive contains errors. |
|
uint8: 1 |
ArIsFilterEditorOnly |
Whether editor only properties are being filtered from the archive (or has been filtered). |
|
uint8: 1 |
ArIsLoading |
Whether this archive is for loading data. |
|
uint8: 1 |
ArIsModifyingWeakAndStrongReferences |
Whether a reference collector is modifying the references and wants both weak and strong ones |
|
uint8: 1 |
ArIsNetArchive |
Whether or not this archive is sending/receiving network data |
|
uint8: 1 |
ArIsObjectReferenceCollector |
Whether this archive only cares about serializing object references. |
|
uint8: 1 |
ArIsPersistent |
Whether this archive saves to persistent storage. |
|
uint8: 1 |
ArIsSaveGame |
Whether this archive is saving/loading game state |
|
uint8: 1 |
ArIsSaving |
Whether this archive is for saving data. |
|
uint8: 1 |
ArIsTextFormat |
Whether this archive serializes to a text format. |
|
uint8: 1 |
ArIsTransacting |
Whether archive is transacting. |
|
ArLicenseeUE4Ver |
Holds the archive version for licensees. |
|
|
ArMaxSerializeSize |
Max size of data that this archive is allowed to serialize. |
|
|
uint8: 1 |
ArNoDelta |
If true, do not perform delta serialization of properties. |
|
uint8: 1 |
ArNoIntraPropertyDelta |
If true, do not perform delta serialization within properties (e.g. TMaps and TSets). |
|
ArPortFlags |
Modifier flags that be used when serializing UProperties |
|
|
uint8: 1 |
ArRequiresLocalizationGather |
Used to determine whether FArchive contains data required to be gathered for localization. |
|
ArSerializingDefaults |
Whether we are currently serializing defaults. > 0 means yes, <= 0 means no. |
|
|
uint8: 1 |
ArShouldSkipBulkData |
Whether bulk data serialization should be skipped or not. |
|
ArUE4Ver |
These will be private in FArchive. |
|
|
uint8: 1 |
ArUseCustomPropertyList |
Set TRUE to use the custom property list attribute for serialization. |
|
uint8: 1 |
ArUseUnversionedPropertySerialization |
Whether tagged property serialization is replaced by faster unversioned serialization. |
|
uint8: 1 |
ArWantBinaryPropertySerialization |
Whether this archive wants properties to be serialized in binary form instead of tagged. |
|
bCustomVersionsAreReset |
Indicates if the custom versions container is in a 'reset' state. |
|
|
const ITargetPl... |
CookingTargetPlatform |
These will be private in FArchive. |
|
CustomVersionContainer |
All the custom versions stored in the archive. |
|
|
FString * |
LocalizationNamespacePtr |
The localization namespace that this archive should use when serializing text properties. |
|
SerializedProperty |
Holds the pointer to the property that is currently being serialized |
|
|
SerializedPropertyChain |
Holds the chain of properties that are currently being serialized |
No constructors are accessible with public or protected access.
No destructors are accessible with public or protected access.
Name | Description | ||
---|---|---|---|
|
AtEnd() |
||
|
ContainsCode() |
||
|
ContainsMap() |
||
|
const ITarge... |
CookingTarget() |
Returns the cooking target platform. |
|
CopyTrivialFArchiveStatusMembers ( |
These will be private in FArchive. |
|
|
CountBytes |
||
|
CustomVer ( |
Queries a custom version from the archive. |
|
|
DoDelta() |
||
|
DoIntraPropertyDelta() |
||
|
EngineNetVer() |
||
|
FEngineVersi... |
EngineVer() |
|
|
ForceByteSwapping() |
||
|
GameNetVer() |
||
|
UObject *... |
GetArchetypeFromLoader ( |
Called to retrieve the archetype from the event driven loader. |
|
GetArchiveName() |
Returns the name of the Archive. |
|
|
GetBaseLocalizationNamespace() |
See GetLocalizationNamespace |
|
|
const FCusto... |
GetCustomVersions() |
Gets the custom version numbers for this archive. |
|
GetDebugSerializationFlags() |
||
|
GetError() |
||
|
FLinker *... |
GetLinker() |
If this archive is a FLinkerLoad or FLinkerSave, returns a pointer to the ULinker portion. |
|
GetLocalizationNamespace() |
Get the localization namespace that this archive should use when serializing text properties. |
|
|
GetMaxSerializeSize() |
||
|
GetPortFlags() |
||
|
FUObjectSeri... |
GetSerializeContext() |
Gets the current UObject serialization context for this archive |
|
FProperty &#... |
GetSerializedProperty() |
Gets the property that is currently being serialized |
|
const FArchi... |
GetSerializedPropertyChain() |
Get the raw serialized property chain for this archive |
|
GetSerializedPropertyChain |
Gets the chain of properties that are currently being serialized |
|
|
HasAllPortFlags ( |
||
|
HasAnyPortFlags ( |
||
|
IsAllowingLazyLoading() |
||
|
IsByteSwapping() |
||
|
IsCooking() |
Checks whether the archive is used for cooking. |
|
|
IsCountingMemory() |
||
|
IsCriticalError() |
||
|
IsEditorOnlyPropertyOnTheStack() |
Returns true if the stack of currently serialized properties contains an editor-only property |
|
|
IsError() |
||
|
IsFilterEditorOnly() |
Indicates whether this archive is filtering editor-only on save or contains data that had editor-only content stripped. |
|
|
IsForcingUnicode() |
||
|
IsIgnoringArchetypeRef() |
||
|
IsIgnoringClassGeneratedByRef() |
||
|
IsIgnoringClassRef() |
||
|
IsIgnoringOuterRef() |
||
|
IsLoading() |
||
|
IsModifyingWeakAndStrongReferences() |
||
|
IsNetArchive() |
Whether or not this archive is serializing data being sent/received by the netcode |
|
|
IsObjectReferenceCollector() |
||
|
IsPersistent() |
||
|
IsSaveGame() |
Indicates whether this archive is saving or loading game state |
|
|
IsSaving() |
||
|
IsSerializingDefaults() |
||
|
IsTextFormat() |
||
|
IsTransacting() |
||
|
LicenseeUE4Ver() |
||
|
RequiresLocalizationGather() |
||
|
Reset() |
Resets all of the base archive members. |
|
|
ResetCustomVersions() |
Resets the custom version numbers for this archive. |
|
|
SetBaseLocalizationNamespace ( |
See SetLocalizationNamespace |
|
|
SetByteSwapping ( |
Toggle byte order swapping. |
|
|
SetCookingTarget ( |
Sets the cooking target platform. |
|
|
SetCustomVersion |
Sets a specific custom version |
|
|
SetCustomVersions ( |
Sets the custom version numbers for this archive. |
|
|
SetDebugSerializationFlags ( |
Sets the archives custom serialization modifier flags (nothing to do with PortFlags or Custom versions) |
|
|
SetEngineNetVer ( |
Sets the archive engine network version. |
|
|
SetEngineVer ( |
Sets the archive engine version. |
|
|
SetError() |
||
|
SetFilterEditorOnly ( |
Sets a flag indicating that this archive needs to filter editor-only content. |
|
|
SetForceUnicode ( |
Sets whether this archive wants to force saving as Unicode. |
|
|
SetGameNetVer ( |
Sets the archive game network version. |
|
|
SetIsLoading ( |
Sets whether this archive is for loading data. |
|
|
SetIsPersistent ( |
Sets whether this archive is to persistent storage. |
|
|
SetIsSaving ( |
Sets whether this archive is for saving data. |
|
|
SetIsTextFormat ( |
Sets whether this archive is in text format. |
|
|
SetIsTransacting ( |
Sets whether this archive is for transacting. |
|
|
SetLicenseeUE4Ver ( |
Sets the archive licensee version number. |
|
|
SetLocalizationNamespace ( |
Set the localization namespace that this archive should use when serializing text properties. |
|
|
SetPortFlags ( |
Sets the archive's property serialization modifier flags |
|
|
SetSerializeContext ( |
Sets the current UObject serialization context for this archive |
|
|
SetSerializedProperty ( |
Overrides the property that is currently being serialized |
|
|
SetSerializedPropertyChain ( |
Set the raw serialized property chain for this archive, optionally overriding the serialized property too (or null to use the head of the property chain) |
|
|
SetUE4Ver ( |
Sets the archive version number. |
|
|
SetUseUnversionedPropertySerialization ( |
Sets whether tagged property serialization should be replaced by faster unversioned serialization. |
|
|
SetWantBinaryPropertySerialization ( |
Sets whether this archive wants binary property serialization. |
|
|
ShouldSkipBulkData() |
||
|
ShouldSkipProperty ( |
Checks whether the archive wants to skip the property independent of the other flags |
|
|
Tell() |
||
|
ThisContainsCode() |
Sets a flag indicating that this archive contains code. |
|
|
ThisContainsMap() |
Sets a flag indicating that this archive contains a ULevel or UWorld object. |
|
|
ThisRequiresLocalizationGather() |
Sets a flag indicating that this archive contains data required to be gathered for localization. |
|
|
TotalSize() |
||
|
UE4Ver() |
||
|
UseToResolveEnumerators() |
Checks whether the archive is used to resolve out-of-date enum indexes If function returns true, the archive should be called only for objects containing user defined enum |
|
|
UseUnversionedPropertySerialization() |
||
|
WantBinaryPropertySerialization() |