UPackageMapClient::WriteObject

Slimmed down version of SerializeObject, that writes an object reference given a NetGUID and name (e.g, it does not require the actor to actually exist anymore to serialize the reference).

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UPackageMap::WriteObject()

UPackageMapClient::WriteObject()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/PackageMapClient.h

Include

#include "Engine/PackageMapClient.h"

Source

/Engine/Source/Runtime/Engine/Private/PackageMapClient.cpp

Syntax

virtual bool WriteObject
(
    FArchive & Ar,
    UObject * InOuter,
    FNetworkGUID NetGUID,
    FString ObjName
)

Remarks

Slimmed down version of SerializeObject, that writes an object reference given a NetGUID and name (e.g, it does not require the actor to actually exist anymore to serialize the reference). This must be kept in sync with UPackageMapClient::SerializeObject.