FLinker

Manages the data associated with an Unreal package.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

CoreUObject

Header

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

Include

#include "UObject/Linker.h"

Syntax

class FLinker : public FLinkerTables

Remarks

Manages the data associated with an Unreal package. Acts as the bridge between the file on disk and the UPackage object in memory for all Unreal package types.

Variables

Name Description

Public variable

FString

 

Filename

The name of the file for this package

Public variable

bool

 

FilterClientButNotServer

If true, filter out exports that are for clients but not servers

Public variable

bool

 

FilterServerButNotClient

If true, filter out exports that are for servers but not clients

Public variable

TArray< FGather...

 

GatherableTextDataMap

Gatherable text data contained within this package

Public variable

UPackage *

 

LinkerRoot

The top-level UPackage object for the package associated with this linker

Public variable

TArray< FNameEn...

 

NameMap

Names used by objects contained within this package

Public variable

FSHA1 *

 

ScriptSHA

The SHA1 key generator for this package, if active

Public variable

FPackageFileSum...

 

Summary

Table of contents for this package's file

Constructors

Name Description

Public function

FLinker

(
    ELinkerType::Type InType,
    UPackage* InRoot,
    const TCHAR* InFilename
)

Constructor.

Destructors

Name Description

Public function Virtual

~FLinker()

Functions

Name Description

Public function

void

 

AddReferencedObjects

(
    FReferenceCollector& Collector
)

Public function

bool

 

FilterExport

(
    const FObjectExport& Export
)

Test and object against the load flag filters

Public function

FName

 

GetClassName

(
    FPackageIndex PackageIndex
)

Gets the class name for the specified package index.

Public function

FName

 

GetExportClassName

(
    int32 ExportIdx
)

Gets the class name for the specified index in the export map.

Public function

FName

 

GetExportClassName

(
    FPackageIndex PackageIndex
)

Gets the class name for the specified index in the import map.

Public function

FString

 

GetExportFullName

(
    int32 ExportIndex,
    const TCHAR* FakeRoot,
    bool bResolveForcedExports
)

Return the full name of the UObject represented by the specified export.

Public function

FString

 

GetExportFullName

(
    FPackageIndex PackageIndex,
    const TCHAR* FakeRoot,
    bool bResolveForcedExports
)

Return the full name of the UObject represented by the specified package index

Public function

FString

 

GetExportPathName

(
    FPackageIndex PackageIndex,
    const TCHAR* FakeRoot,
    bool bResolveForcedExports
)

Return the path name of the UObject represented by the specified export.

Public function

FString

 

GetExportPathName

(
    int32 ExportIndex,
    const TCHAR* FakeRoot,
    bool bResolveForcedExports
)

Return the path name of the UObject represented by the specified export.

Public function

FString

 

GetFullImpExpName

(
    FPackageIndex PackageIndex
)

Return the full name of the UObject represented by the specified export.

Public function

FName

 

GetImportClassName

(
    FPackageIndex PackageIndex
)

Gets the class name for the specified index in the import map.

Public function

FName

 

GetImportClassName

(
    int32 ImportIdx
)

Gets the class name for the specified index in the import map.

Public function

FString

 

GetImportFullName

(
    FPackageIndex PackageIndex
)

Return the full name of the UObject represented by the specified package index

Public function

FString

 

GetImportFullName

(
    int32 ImportIndex
)

Return the full name of the UObject represented by the specified import.

Public function

FString

 

GetImportPathName

(
    FPackageIndex PackageIndex
)

Return the path name of the UObject represented by the specified import.

Public function

FString

 

GetImportPathName

(
    int32 ImportIndex
)

Return the path name of the UObject represented by the specified import.

Public function

FString

 

GetPathName

(
    FPackageIndex PackageIndex
)

Return the path name of the UObject represented by the specified import.

Public function

void

 

GetScriptSHAKey

(
    uint8* OutKey
)

After generating the SHA key for all of the

Public function Const

ELinkerType:...

 

GetType()

Public function

void

 

Serialize

(
    FArchive& Ar
)

I/O function

Public function

void

 

StartScriptSHAGeneration()

Tell this linker to start SHA calculations

Public function

void

 

UpdateScriptSHAKey

(
    const TArray< uint8 >& ScriptCode
)

If generating a script SHA key, update the key with this script code

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