FArchiveReplaceObjectAndStructPropertyRef

Specialized version of [FArchiveReplaceObjectRef](API\Runtime\CoreUObject\Serialization\FArchiveReplaceObjectRef) that replaces references to FFields that were owned by any of the old UStructs in the Replacement Map with their respective new versions that belong to the new UStrtucts in the Replacement Map.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Serialization/ArchiveReplaceObjectAndStructPropertyRef.h

Include

#include "Serialization/ArchiveReplaceObjectAndStructPropertyRef.h"

Syntax

template<class T>
class FArchiveReplaceObjectAndStructPropertyRef : public FArchiveReplaceObjectRef< T >

Remarks

Specialized version of FArchiveReplaceObjectRef that replaces references to FFields that were owned by any of the old UStructs in the Replacement Map with their respective new versions that belong to the new UStrtucts in the Replacement Map.

Constructors

Name Description

Public function

FArchiveReplaceObjectAndStructPropertyRef

(
    UObject* InSearchObject,
    const TMap< T*, T* >& In...,
    EArchiveReplaceObjectFlags Flags
)

Initializes variables and starts the serialization search

Public function

FArchiveReplaceObjectAndStructPropertyRef

(
    UObject* InSearchObject,
    const TMap< T*, T* >& In...,
    bool bNullPrivateRefs,
    bool bIgnoreOuterRef,
    bool bIgnoreArchetypeRef,
    bool bDelayStart,
    bool bIgnoreClassGeneratedByRef
)

Use version that supplies flags via enum.

Operators

Name Description

Public function Virtual

FArchive &

 

operator<<

(
    FField*& InField
)

Serializes the reference to FProperties

Deprecated Functions

Name Description

Public function

 

FArchiveReplaceObjectAndStructPropertyRef

(
    UObject* InSearchObject,
    const TMap< T*, T* >& In...,
    bool bNullPrivateRefs,
    bool bIgnoreOuterRef,
    bool bIgnoreArchetypeRef,
    bool bDelayStart,
    bool bIgnoreClassGeneratedByRef
)

Use version that supplies flags via enum.