Navigation
API > API/Runtime > API/Runtime/CoreUObject
Structure that holds the current serialization state of UObjects
| Name | FUObjectSerializeContext |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectThreadContext.h |
| Include Path | #include "UObject/UObjectThreadContext.h" |
Syntax
struct FUObjectSerializeContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUObjectSerializeContext() |
Constructor | UObject/UObjectThreadContext.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FUObjectSerializeContext() |
Destructor | UObject/UObjectThreadContext.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bImpersonateProperties | bool | True when the SerializedObject properties are being impersonated. | UObject/UObjectThreadContext.h | |
| bTrackInitializedProperties | bool | True when initialized properties will be tracked for the serialized object. | UObject/UObjectThreadContext.h | |
| bTrackSerializedProperties | bool | True when serialized properties will be tracked for the serialized object. | UObject/UObjectThreadContext.h | |
| bTrackSerializedPropertyPath | bool | True when SerializedPropertyPath is being tracked during serialization. | UObject/UObjectThreadContext.h | |
| bTrackUnknownEnumNames | bool | True when unknown enum names will be tracked for the serialized object. | UObject/UObjectThreadContext.h | |
| bTrackUnknownProperties | bool | True when unknown properties will be tracked for the serialized object. | UObject/UObjectThreadContext.h | |
| SerializedExportIndex | int32 | The most recently used export Index for serialization by CreateExport() | UObject/UObjectThreadContext.h | |
| SerializedExportLinker | FLinkerLoad * | Points to the most recently used Linker for serialization by CreateExport() | UObject/UObjectThreadContext.h | |
| SerializedImportIndex | int32 | The main Import Index currently being used for serialization by CreateImports() (Defined in Linker.cpp) | UObject/UObjectThreadContext.h | |
| SerializedImportLinker | FLinkerLoad * | Points to the main Linker currently being used for serialization by CreateImports() (Defined in Linker.cpp) | UObject/UObjectThreadContext.h | |
| SerializedObject | UObject * | Points to the main UObject currently being serialized | UObject/UObjectThreadContext.h | |
| SerializedObjectScriptEndOffset | int64 | The absolute offset of the end of the serialized script properties for the serialized object, or -1. | UObject/UObjectThreadContext.h | |
| SerializedObjectScriptStartOffset | int64 | The absolute offset of the start of the serialized script properties for the serialized object, or -1. | UObject/UObjectThreadContext.h | |
| SerializedPackageLinker | FLinkerLoad * | Points to the main PackageLinker currently being serialized (Defined in Linker.cpp) | UObject/UObjectThreadContext.h | |
| SerializedPropertyPath | UE::FPropertyPathName | Path to the property currently being serialized | UObject/UObjectThreadContext.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DelayedLinkerClosePackages | TArray< FLinkerLoad * > | List of linkers that we want to close the loaders for (to free file handles) - needs to be delayed until EndLoad is called with GObjBeginLoadCount of 0 | UObject/UObjectThreadContext.h | |
| ForcedExportCount | int32 | Forced exports for EndLoad optimization. | UObject/UObjectThreadContext.h | |
| ImportCount | int32 | Imports for EndLoad optimization. | UObject/UObjectThreadContext.h | |
| ObjBeginLoadCount | int32 | Count for BeginLoad multiple loads. | UObject/UObjectThreadContext.h | |
| ObjectsLoaded | TArray< UObject * > | Objects that might need preloading. | UObject/UObjectThreadContext.h | |
| RefCount | int32 | Reference count of this context | UObject/UObjectThreadContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddDelayedLinkerClosePackage
(
FLinkerLoad* InLinker |
UObject/UObjectThreadContext.h | ||
void AddLoadedObject
(
UObject* InObject |
Adds a new loaded object | UObject/UObjectThreadContext.h | |
int32 AddRef() |
UObject/UObjectThreadContext.h | ||
| UObject/UObjectThreadContext.h | |||
| UObject/UObjectThreadContext.h | |||
void AttachLinker
(
FLinkerLoad* InLinker |
Attaches a linker to this context | UObject/UObjectThreadContext.h | |
int32 DecrementBeginLoadCount() |
UObject/UObjectThreadContext.h | ||
void DetachFromLinkers() |
Detaches all linkers from this context | UObject/UObjectThreadContext.h | |
void DetachLinker
(
FLinkerLoad* InLinker |
Detaches a linker from this context | UObject/UObjectThreadContext.h | |
int32 GetBeginLoadCount() |
UObject/UObjectThreadContext.h | ||
int32 GetNumObjectsLoaded() |
UObject/UObjectThreadContext.h | ||
int32 GetRefCount() |
UObject/UObjectThreadContext.h | ||
bool HasLoadedObjects() |
UObject/UObjectThreadContext.h | ||
bool HasPendingImportsOrForcedExports() |
UObject/UObjectThreadContext.h | ||
bool HasStartedLoading() |
Checks if object loading has started | UObject/UObjectThreadContext.h | |
int32 IncrementBeginLoadCount() |
UObject/UObjectThreadContext.h | ||
int32 IncrementForcedExportCount() |
UObject/UObjectThreadContext.h | ||
int32 IncrementImportCount() |
UObject/UObjectThreadContext.h | ||
void MoveDelayedLinkerClosePackages
(
TArray< class FLinkerLoad* >& OutDelayedLinkerClosePackages |
UObject/UObjectThreadContext.h | ||
| This is only meant to be used by FAsyncPackage for performance reasons. | UObject/UObjectThreadContext.h | ||
| UObject/UObjectThreadContext.h | |||
int32 Release() |
UObject/UObjectThreadContext.h | ||
void RemoveDelayedLinkerClosePackage
(
FLinkerLoad* InLinker |
UObject/UObjectThreadContext.h | ||
void ReserveObjectsLoaded
(
int32 InReserveSize |
UObject/UObjectThreadContext.h | ||
void ResetForcedExports() |
UObject/UObjectThreadContext.h | ||
void ResetImportCount() |
UObject/UObjectThreadContext.h |