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

#include <ObjectResource.h>

+ Inheritance diagram for FObjectExport:

Public Member Functions

COREUOBJECT_API FObjectExport ()
 
 FObjectExport (UObject *InObject, bool bInNotAlwaysLoadedForEditorGame=true)
 
PRAGMA_DISABLE_DEPRECATION_WARNINGS FObjectExport (FObjectExport &&)=default
 
 FObjectExport (const FObjectExport &)=default
 
FObjectExportoperator= (FObjectExport &&)=default
 
FObjectExportoperator= (const FObjectExport &)=default
 
PRAGMA_ENABLE_DEPRECATION_WARNINGS COREUOBJECT_API void ResetObject ()
 
- Public Member Functions inherited from FObjectResource
 FObjectResource ()
 
 FObjectResource (UObject *InObject)
 

Public Attributes

FPackageIndex ClassIndex
 
FPackageIndex ThisIndex
 
FPackageIndex SuperIndex
 
FPackageIndex TemplateIndex
 
EObjectFlags ObjectFlags
 
int64 SerialSize
 
int64 SerialOffset
 
int64 ScriptSerializationStartOffset
 
int64 ScriptSerializationEndOffset
 
UObjectObject
 
int32 HashNext
 
bool bForcedExport:1
 
bool bNotForClient:1
 
bool bNotForServer:1
 
bool bNotAlwaysLoadedForEditorGame:1
 
bool bIsAsset:1
 
bool bIsInheritedInstance:1
 
bool bGeneratePublicHash:1
 
bool bExportLoadFailed:1
 
bool bWasFiltered:1
 
uint32 PackageFlags
 
int32 FirstExportDependency
 
int32 SerializationBeforeSerializationDependencies
 
int32 CreateBeforeSerializationDependencies
 
int32 SerializationBeforeCreateDependencies
 
int32 CreateBeforeCreateDependencies
 
- Public Attributes inherited from FObjectResource
FName ObjectName
 
FPackageIndex OuterIndex
 

Friends

COREUOBJECT_API FArchiveoperator<< (FArchive &Ar, FObjectExport &E)
 
COREUOBJECT_API void operator<< (FStructuredArchive::FSlot Slot, FObjectExport &E)
 

Detailed Description

UObject resource type for objects that are contained within this package and can be referenced by other packages.

Constructor & Destructor Documentation

◆ FObjectExport() [1/4]

FObjectExport::FObjectExport ( )

Constructors

◆ FObjectExport() [2/4]

FObjectExport::FObjectExport ( UObject InObject,
bool  bInNotAlwaysLoadedForEditorGame = true 
)

◆ FObjectExport() [3/4]

PRAGMA_DISABLE_DEPRECATION_WARNINGS FObjectExport::FObjectExport ( FObjectExport &&  )
default

◆ FObjectExport() [4/4]

FObjectExport::FObjectExport ( const FObjectExport )
default

Member Function Documentation

◆ operator=() [1/2]

FObjectExport & FObjectExport::operator= ( const FObjectExport )
default

◆ operator=() [2/2]

FObjectExport & FObjectExport::operator= ( FObjectExport &&  )
default

◆ ResetObject()

void FObjectExport::ResetObject ( )

Resets the stored Object and any transient flags

Friends And Related Symbol Documentation

◆ operator<< [1/2]

COREUOBJECT_API FArchive & operator<< ( FArchive Ar,
FObjectExport E 
)
friend

I/O functions

◆ operator<< [2/2]

COREUOBJECT_API void operator<< ( FStructuredArchive::FSlot  Slot,
FObjectExport E 
)
friend

Member Data Documentation

◆ bExportLoadFailed

bool FObjectExport::bExportLoadFailed

Force this export to not load, it failed because the outer didn't exist.

◆ bForcedExport

bool FObjectExport::bForcedExport

Whether the export was forced into the export table via OBJECTMARK_ForceTagExp. Serialized

◆ bGeneratePublicHash

bool FObjectExport::bGeneratePublicHash

True if this export should have its iostore public hash generated even if not RF_Public.

◆ bIsAsset

bool FObjectExport::bIsAsset

True if this export is an asset object.

◆ bIsInheritedInstance

bool FObjectExport::bIsInheritedInstance

If this export is an instanced object inherited from a template and should only be created if the template has the object

◆ bNotAlwaysLoadedForEditorGame

bool FObjectExport::bNotAlwaysLoadedForEditorGame

Whether the export should be always loaded in editor game False means that the object is True doesn't means, that the object won't be loaded. Serialized

◆ bNotForClient

bool FObjectExport::bNotForClient

Whether the export should be loaded on clients Serialized

◆ bNotForServer

bool FObjectExport::bNotForServer

Whether the export should be loaded on servers Serialized

◆ bWasFiltered

bool FObjectExport::bWasFiltered

Export was filtered out on load

◆ ClassIndex

FPackageIndex FObjectExport::ClassIndex

Location of the resource for this export's class (if non-zero). A value of zero indicates that this export represents a UClass object; there is no resource for this export's class object Serialized

◆ CreateBeforeCreateDependencies

int32 FObjectExport::CreateBeforeCreateDependencies

◆ CreateBeforeSerializationDependencies

int32 FObjectExport::CreateBeforeSerializationDependencies

◆ FirstExportDependency

int32 FObjectExport::FirstExportDependency

The export table must serialize as a fixed size, this is use to index into a long list, which is later loaded into the array. -1 means dependencies are not present These are contiguous blocks, so CreateBeforeSerializationDependencies starts at FirstExportDependency + SerializationBeforeSerializationDependencies

◆ HashNext

int32 FObjectExport::HashNext

The index into the FLinker's ExportMap for the next export in the linker's export hash table. Transient

◆ Object

UObject* FObjectExport::Object

The UObject represented by this export. Assigned the first time CreateExport is called for this export. Transient

◆ ObjectFlags

EObjectFlags FObjectExport::ObjectFlags

The object flags for the UObject represented by this resource. Only flags that match the RF_Load combination mask will be loaded from disk and applied to the UObject. Serialized

◆ PackageFlags

uint32 FObjectExport::PackageFlags

If this object is a top level package (which must have been forced into the export table via OBJECTMARK_ForceTagExp) this is the package flags for the original package file Serialized

◆ ScriptSerializationEndOffset

int64 FObjectExport::ScriptSerializationEndOffset

The location (relative to SerialOffset) of the end of the portion of this export's data that is serialized using tagged property serialization. Serialized into versioned packages as of EUnrealEngineObjectUE5Version::SCRIPT_SERIALIZATION_OFFSET Otherwise transient

◆ ScriptSerializationStartOffset

int64 FObjectExport::ScriptSerializationStartOffset

The location (relative to SerialOffset) of the beginning of the portion of this export's data that is serialized using tagged property serialization. Serialized into versioned packages as of EUnrealEngineObjectUE5Version::SCRIPT_SERIALIZATION_OFFSET Otherwise transient

◆ SerializationBeforeCreateDependencies

int32 FObjectExport::SerializationBeforeCreateDependencies

◆ SerializationBeforeSerializationDependencies

int32 FObjectExport::SerializationBeforeSerializationDependencies

◆ SerialOffset

int64 FObjectExport::SerialOffset

The location (into the FLinker's underlying file reader archive) of the beginning of the data for this export's UObject. Used for verification only. Serialized

◆ SerialSize

int64 FObjectExport::SerialSize

The number of bytes to serialize when saving/loading this export's UObject. Serialized

◆ SuperIndex

FPackageIndex FObjectExport::SuperIndex

Location of the resource for this export's SuperField (parent). Only valid if this export represents a UStruct object. A value of zero indicates that the object represented by this export isn't a UStruct-derived object. Serialized

◆ TemplateIndex

FPackageIndex FObjectExport::TemplateIndex

Location of the resource for this export's template/archetypes. Only used in the new cooked loader. A value of zero indicates that the value of GetArchetype was zero at cook time, which is more or less impossible and checked. Serialized

◆ ThisIndex

FPackageIndex FObjectExport::ThisIndex

Location of this resource in export map. Used for export fixups while loading packages. Value of zero indicates resource is invalid and shouldn't be loaded. Not serialized.


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