UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FUObjectSerializeContext Struct Reference

#include <UObjectThreadContext.h>

Public Member Functions

COREUOBJECT_API void AddLoadedObject (UObject *InObject)
 
COREUOBJECT_API void AddUniqueLoadedObjects (const TArray< UObject * > &InObjects)
 
bool HasStartedLoading () const
 
int32 GetBeginLoadCount () const
 
COREUOBJECT_API int32 IncrementBeginLoadCount ()
 
COREUOBJECT_API int32 DecrementBeginLoadCount ()
 
int32 IncrementImportCount ()
 
void ResetImportCount ()
 
int32 IncrementForcedExportCount ()
 
void ResetForcedExports ()
 
bool HasPendingImportsOrForcedExports () const
 
bool HasLoadedObjects () const
 
COREUOBJECT_API bool PRIVATE_PatchNewObjectIntoExport (UObject *OldObject, UObject *NewObject)
 
TArray< UObject * > & PRIVATE_GetObjectsLoadedInternalUseOnly ()
 
void AppendLoadedObjectsAndEmpty (TArray< UObject * > &InLoadedObject)
 
void ReserveObjectsLoaded (int32 InReserveSize)
 
int32 GetNumObjectsLoaded () const
 
void AddDelayedLinkerClosePackage (class FLinkerLoad *InLinker)
 
void RemoveDelayedLinkerClosePackage (class FLinkerLoad *InLinker)
 
void MoveDelayedLinkerClosePackages (TArray< class FLinkerLoad * > &OutDelayedLinkerClosePackages)
 
COREUOBJECT_API void AttachLinker (FLinkerLoad *InLinker)
 
COREUOBJECT_API void DetachLinker (FLinkerLoad *InLinker)
 
COREUOBJECT_API void DetachFromLinkers ()
 
int32 AddRef ()
 
int32 Release ()
 
int32 GetRefCount () const
 

Public Attributes

UObjectSerializedObject
 
FLinkerLoadSerializedPackageLinker
 
int32 SerializedImportIndex
 
FLinkerLoadSerializedImportLinker
 
int32 SerializedExportIndex
 
FLinkerLoadSerializedExportLinker
 

Friends

class FUObjectThreadContext
 

Detailed Description

Structure that holds the current serialization state of UObjects

Member Function Documentation

◆ AddDelayedLinkerClosePackage()

void FUObjectSerializeContext::AddDelayedLinkerClosePackage ( class FLinkerLoad InLinker)
inline

◆ AddLoadedObject()

void FUObjectSerializeContext::AddLoadedObject ( UObject InObject)

Adds a new loaded object

◆ AddRef()

int32 FUObjectSerializeContext::AddRef ( )
inline

◆ AddUniqueLoadedObjects()

void FUObjectSerializeContext::AddUniqueLoadedObjects ( const TArray< UObject * > &  InObjects)

◆ AppendLoadedObjectsAndEmpty()

void FUObjectSerializeContext::AppendLoadedObjectsAndEmpty ( TArray< UObject * > &  InLoadedObject)
inline

◆ AttachLinker()

void FUObjectSerializeContext::AttachLinker ( FLinkerLoad InLinker)

Attaches a linker to this context

◆ DecrementBeginLoadCount()

int32 FUObjectSerializeContext::DecrementBeginLoadCount ( )

◆ DetachFromLinkers()

void FUObjectSerializeContext::DetachFromLinkers ( )

Detaches all linkers from this context

◆ DetachLinker()

void FUObjectSerializeContext::DetachLinker ( FLinkerLoad InLinker)

Detaches a linker from this context

◆ GetBeginLoadCount()

int32 FUObjectSerializeContext::GetBeginLoadCount ( ) const
inline

◆ GetNumObjectsLoaded()

int32 FUObjectSerializeContext::GetNumObjectsLoaded ( ) const
inline

◆ GetRefCount()

int32 FUObjectSerializeContext::GetRefCount ( ) const
inline

◆ HasLoadedObjects()

bool FUObjectSerializeContext::HasLoadedObjects ( ) const
inline

◆ HasPendingImportsOrForcedExports()

bool FUObjectSerializeContext::HasPendingImportsOrForcedExports ( ) const
inline

◆ HasStartedLoading()

bool FUObjectSerializeContext::HasStartedLoading ( ) const
inline

Checks if object loading has started

◆ IncrementBeginLoadCount()

int32 FUObjectSerializeContext::IncrementBeginLoadCount ( )

◆ IncrementForcedExportCount()

int32 FUObjectSerializeContext::IncrementForcedExportCount ( )
inline

◆ IncrementImportCount()

int32 FUObjectSerializeContext::IncrementImportCount ( )
inline

◆ MoveDelayedLinkerClosePackages()

void FUObjectSerializeContext::MoveDelayedLinkerClosePackages ( TArray< class FLinkerLoad * > &  OutDelayedLinkerClosePackages)
inline

◆ PRIVATE_GetObjectsLoadedInternalUseOnly()

TArray< UObject * > & FUObjectSerializeContext::PRIVATE_GetObjectsLoadedInternalUseOnly ( )
inline

This is only meant to be used by FAsyncPackage for performance reasons. The ObjectsLoaded array should not be manipulated directly!

◆ PRIVATE_PatchNewObjectIntoExport()

bool FUObjectSerializeContext::PRIVATE_PatchNewObjectIntoExport ( UObject OldObject,
UObject NewObject 
)

◆ Release()

int32 FUObjectSerializeContext::Release ( )
inline

◆ RemoveDelayedLinkerClosePackage()

void FUObjectSerializeContext::RemoveDelayedLinkerClosePackage ( class FLinkerLoad InLinker)
inline

◆ ReserveObjectsLoaded()

void FUObjectSerializeContext::ReserveObjectsLoaded ( int32  InReserveSize)
inline

◆ ResetForcedExports()

void FUObjectSerializeContext::ResetForcedExports ( )
inline

◆ ResetImportCount()

void FUObjectSerializeContext::ResetImportCount ( )
inline

Friends And Related Symbol Documentation

◆ FUObjectThreadContext

Member Data Documentation

◆ SerializedExportIndex

int32 FUObjectSerializeContext::SerializedExportIndex

The most recently used export Index for serialization by CreateExport()

◆ SerializedExportLinker

FLinkerLoad* FUObjectSerializeContext::SerializedExportLinker

Points to the most recently used Linker for serialization by CreateExport()

◆ SerializedImportIndex

int32 FUObjectSerializeContext::SerializedImportIndex

The main Import Index currently being used for serialization by CreateImports() (Defined in Linker.cpp)

◆ SerializedImportLinker

FLinkerLoad* FUObjectSerializeContext::SerializedImportLinker

Points to the main Linker currently being used for serialization by CreateImports() (Defined in Linker.cpp)

◆ SerializedObject

UObject* FUObjectSerializeContext::SerializedObject

Points to the main UObject currently being serialized

◆ SerializedPackageLinker

FLinkerLoad* FUObjectSerializeContext::SerializedPackageLinker

Points to the main PackageLinker currently being serialized (Defined in Linker.cpp)


The documentation for this struct was generated from the following files: