FUObjectSerializeContext

Structure that holds the current serialization state of UObjects

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectThreadContext.h

Include

#include "UObject/UObjectThreadContext.h"

Syntax

struct FUObjectSerializeContext

Remarks

Structure that holds the current serialization state of UObjects

Variables

Name Description

Public variable

int32

 

SerializedExportIndex

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

Public variable

FLinkerLoad ...

 

SerializedExportLinker

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

Public variable

int32

 

SerializedImportIndex

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

Public variable

FLinkerLoad ...

 

SerializedImportLinker

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

Public variable

UObject *

 

SerializedObject

Points to the main UObject currently being serialized

Public variable

FLinkerLoad ...

 

SerializedPackageLinker

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

Constructors

No constructors are accessible with public or protected access.

Destructors

No destructors are accessible with public or protected access.

Functions

Name Description

Public function

void

 

AddDelayedLinkerClosePackage

(
    FLinkerLoad* InLinker
)

Public function

void

 

AddLoadedObject

(
    UObject* InObject
)

Adds a new loaded object

Public function

int32

 

AddRef()

Public function

void

 

AddUniqueLoadedObjects

(
    const TArray< UObject* >& InO...
)

Public function

void

 

AppendLoadedObjectsAndEmpty

(
    TArray< UObject* >& InLoadedO...
)

Public function

void

 

AttachLinker

(
    FLinkerLoad* InLinker
)

Attaches a linker to this context

Public function

int32

 

DecrementBeginLoadCount()

Public function

void

 

DetachFromLinkers()

Detaches all linkers from this context

Public function

void

 

DetachLinker

(
    FLinkerLoad* InLinker
)

Detaches a linker from this context

Public function Const

int32

 

GetBeginLoadCount()

Public function Const

int32

 

GetNumObjectsLoaded()

Public function Const

int32

 

GetRefCount()

Public function Const

bool

 

HasLoadedObjects()

Public function Const

bool

 

HasPendingImportsOrForcedExports()

Public function Const

bool

 

HasStartedLoading()

Checks if object loading has started

Public function

int32

 

IncrementBeginLoadCount()

Public function

int32

 

IncrementForcedExportCount()

Public function

int32

 

IncrementImportCount()

Public function

void

 

MoveDelayedLinkerClosePackages

(
    TArray< class FLinkerLoad* >&...
)

Public function

TArray< UObj...

 

PRIVATE_GetObjectsLoadedInternalUseOnly()

This is only meant to be used by FAsyncPackage for performance reasons.

Public function

bool

 

PRIVATE_PatchNewObjectIntoExport

(
    UObject* OldObject,
    UObject* NewObject
)

Public function

int32

 

Release()

Public function

void

 

RemoveDelayedLinkerClosePackage

(
    FLinkerLoad* InLinker
)

Public function

void

 

ReserveObjectsLoaded

(
    int32 InReserveSize
)

Public function

void

 

ResetForcedExports()

Public function

void

 

ResetImportCount()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss