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

#include <ObjectResource.h>

+ Inheritance diagram for FObjectImport:

Public Member Functions

COREUOBJECT_API FObjectImport ()
 
 FObjectImport (UObject *InObject)
 
 FObjectImport (UObject *InObject, UClass *InClass)
 
bool HasPackageName () const
 
FName GetPackageName () const
 
void SetPackageName (FName InPackageName)
 
- Public Member Functions inherited from FObjectResource
 FObjectResource ()
 
 FObjectResource (UObject *InObject)
 

Public Attributes

FName ClassPackage
 
FName ClassName
 
int32 SourceIndex
 
bool bImportOptional
 
bool bImportPackageHandled
 
bool bImportSearchedFor
 
bool bImportFailed
 
UObjectXObject
 
FLinkerLoadSourceLinker
 
- Public Attributes inherited from FObjectResource
FName ObjectName
 
FPackageIndex OuterIndex
 

Friends

COREUOBJECT_API FArchiveoperator<< (FArchive &Ar, FObjectImport &I)
 
COREUOBJECT_API void operator<< (FStructuredArchive::FSlot Slot, FObjectImport &I)
 

Detailed Description

UObject resource type for objects that are referenced by this package, but contained within another package.

Constructor & Destructor Documentation

◆ FObjectImport() [1/3]

FObjectImport::FObjectImport ( )

Constructors

◆ FObjectImport() [2/3]

FObjectImport::FObjectImport ( UObject InObject)

◆ FObjectImport() [3/3]

FObjectImport::FObjectImport ( UObject InObject,
UClass InClass 
)

Member Function Documentation

◆ GetPackageName()

FName FObjectImport::GetPackageName ( ) const
inline

Accessor function to get the import package name Handles editor only code.

Returns
the import package name, if any

◆ HasPackageName()

bool FObjectImport::HasPackageName ( ) const
inline

Accessor function to check if the import has package name set Handles editor only code.

Returns
true if the import has a PackageName set

◆ SetPackageName()

void FObjectImport::SetPackageName ( FName  InPackageName)
inline

Accessor function to set the import PackageName Handles editor only code.

Parameters
InPackageNamethe package name to set

Friends And Related Symbol Documentation

◆ operator<< [1/2]

COREUOBJECT_API FArchive & operator<< ( FArchive Ar,
FObjectImport I 
)
friend

I/O functions

◆ operator<< [2/2]

COREUOBJECT_API void operator<< ( FStructuredArchive::FSlot  Slot,
FObjectImport I 
)
friend

Member Data Documentation

◆ bImportFailed

bool FObjectImport::bImportFailed

◆ bImportOptional

bool FObjectImport::bImportOptional

Indicate if the import comes from an optional package, used to generate the proper chunk id in the io store

◆ bImportPackageHandled

bool FObjectImport::bImportPackageHandled

◆ bImportSearchedFor

bool FObjectImport::bImportSearchedFor

◆ ClassName

FName FObjectImport::ClassName

The name of the class for the UObject represented by this resource. Serialized

◆ ClassPackage

FName FObjectImport::ClassPackage

The name of the package that contains the class of the UObject represented by this resource. Serialized

◆ SourceIndex

int32 FObjectImport::SourceIndex

Index into SourceLinker's ExportMap for the export associated with this import's UObject. Transient

◆ SourceLinker

FLinkerLoad* FObjectImport::SourceLinker

The linker that contains the original FObjectExport resource associated with this import. Transient

◆ XObject

UObject* FObjectImport::XObject

The UObject represented by this resource. Assigned the first time CreateImport is called for this import. Transient


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