engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FLinker类 参考

Manages the data associated with an Unreal package. 更多...

#include <Linker.h>

+ 类 FLinker 继承关系图:

Public 成员函数

bool AnyExportIsInImport (int32 ImportIndex) const
 Return if any export is in the import 更多...
 
bool AnyExportShareOuterWithImport (int32 ImportIndex) const
 Return if any export share an outer with the import 更多...
 
bool DoResourcesShareOutermost (FPackageIndex LinkerIndexLHS, FPackageIndex LinkerIndexRHS) const
 Return if two resources share the same outermost 更多...
 
bool FilterExport (const FObjectExport &Export)
 Test and object against the load flag filters 更多...
 
 FLinker (ELinkerType::Type InType, UPackage *InRoot, const TCHAR *InFilename)
 Constructor.
 
FName GetClassName (FPackageIndex PackageIndex)
 Gets the class name for the specified package index.
 
FName GetExportClassName (FPackageIndex PackageIndex)
 Gets the class name for the specified index in the import map.
 
COREUOBJECT_API FName GetExportClassName (int32 ExportIdx)
 Gets the class name for the specified index in the export map.
 
FString GetExportFullName (FPackageIndex PackageIndex, const TCHAR *FakeRoot=NULL, bool bResolveForcedExports=false)
 Return the full name of the UObject represented by the specified package index 更多...
 
COREUOBJECT_API FString GetExportFullName (int32 ExportIndex, const TCHAR *FakeRoot=NULL, bool bResolveForcedExports=false)
 Return the full name of the UObject represented by the specified export. 更多...
 
FString GetExportPathName (FPackageIndex PackageIndex, const TCHAR *FakeRoot=NULL, bool bResolveForcedExports=false)
 Return the path name of the UObject represented by the specified export. 更多...
 
COREUOBJECT_API FString GetExportPathName (int32 ExportIndex, const TCHAR *FakeRoot=NULL, bool bResolveForcedExports=false)
 Return the path name of the UObject represented by the specified export. 更多...
 
FString GetFullImpExpName (FPackageIndex PackageIndex)
 Return the full name of the UObject represented by the specified export. 更多...
 
FName GetImportClassName (FPackageIndex PackageIndex)
 Gets the class name for the specified index in the import map.
 
FName GetImportClassName (int32 ImportIdx)
 Gets the class name for the specified index in the import map.
 
FString GetImportFullName (FPackageIndex PackageIndex)
 Return the full name of the UObject represented by the specified package index 更多...
 
COREUOBJECT_API FString GetImportFullName (int32 ImportIndex)
 Return the full name of the UObject represented by the specified import. 更多...
 
FString GetImportPathName (FPackageIndex PackageIndex)
 Return the path name of the UObject represented by the specified import. 更多...
 
COREUOBJECT_API FString GetImportPathName (int32 ImportIndex)
 Return the path name of the UObject represented by the specified import. 更多...
 
FString GetPathName (FPackageIndex PackageIndex)
 Return the path name of the UObject represented by the specified import. 更多...
 
void GetScriptSHAKey (uint8 *OutKey)
 After generating the SHA key for all of the 更多...
 
bool ImportIsInAnyExport (int32 ImportIndex) const
 Return if the import is in any export 更多...
 
FPackageIndex ResourceGetOutermost (FPackageIndex LinkerIndex) const
 Return the outermost resource package index of the resource pointed by LinkerIndex 更多...
 
bool ResourceIsIn (FPackageIndex LinkerIndex, FPackageIndex OuterIndex) const
 Return if a resource has the specified other resource in its outer chain 更多...
 
void Serialize (FArchive &Ar)
 I/O function 更多...
 
void StartScriptSHAGeneration ()
 Tell this linker to start SHA calculations
 
void UpdateScriptSHAKey (const TArray< uint8 > &ScriptCode)
 If generating a script SHA key, update the key with this script code 更多...
 

Public 属性

FString Filename
 The name of the file for this package
 
bool FilterClientButNotServer
 If true, filter out exports that are for clients but not servers
 
bool FilterServerButNotClient
 If true, filter out exports that are for servers but not clients
 
TArray< FGatherableTextData > GatherableTextDataMap
 Gatherable text data contained within this package
 
UPackage * LinkerRoot
 The top-level UPackage object for the package associated with this linker
 
TArray< FNameEntryId > NameMap
 Names used by objects contained within this package
 
class FSHA1 * ScriptSHA
 The SHA1 key generator for this package, if active
 
FPackageFileSummary Summary
 Table of contents for this package's file
 

详细描述

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.

成员函数说明

◆ AnyExportIsInImport()

bool FLinker::AnyExportIsInImport ( int32  ImportIndex) const

Return if any export is in the import

参数
ImportIndexthe import to verify
返回
true if the import is in any export outer chain

◆ AnyExportShareOuterWithImport()

bool FLinker::AnyExportShareOuterWithImport ( int32  ImportIndex) const

Return if any export share an outer with the import

参数
ImportIndexthe import to verify @reutrn true if any export share the same outer has the import

◆ DoResourcesShareOutermost()

bool FLinker::DoResourcesShareOutermost ( FPackageIndex  LinkerIndexLHS,
FPackageIndex  LinkerIndexRHS 
) const

Return if two resources share the same outermost

参数
LinkerIndexLHSthe package index of the first resource
LinkerIndexRHSthe package index of the second resource
返回
true if they share an outer

◆ FilterExport()

bool FLinker::FilterExport ( const FObjectExport &  Export)
inline

Test and object against the load flag filters

返回
true if the object should be filtered and not loaded

◆ GetExportFullName() [1/2]

FString FLinker::GetExportFullName ( FPackageIndex  PackageIndex,
const TCHAR *  FakeRoot = NULL,
bool  bResolveForcedExports = false 
)
inline

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

参数
PackageIndexpackage index for the resource to get the name for
FakeRootOptional name to replace use as the root package of this object instead of the linker
bResolveForcedExportsif true, the package name part of the return value will be the export's original package, not the name of the package it's currently contained within.
返回
the full name of the UObject represented by the resource at PackageIndex

◆ GetExportFullName() [2/2]

COREUOBJECT_API FString FLinker::GetExportFullName ( int32  ExportIndex,
const TCHAR *  FakeRoot = NULL,
bool  bResolveForcedExports = false 
)

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

参数
ExportIndexindex into the ExportMap for the resource to get the name for
FakeRootOptional name to replace use as the root package of this object instead of the linker
bResolveForcedExportsif true, the package name part of the return value will be the export's original package, not the name of the package it's currently contained within.
返回
the full name of the UObject represented by the resource at ExportIndex

◆ GetExportPathName() [1/2]

FString FLinker::GetExportPathName ( FPackageIndex  PackageIndex,
const TCHAR *  FakeRoot = NULL,
bool  bResolveForcedExports = false 
)
inline

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

(can be used with StaticFindObject)

参数
PackageIndexpackage index for the resource to get the name for
FakeRootOptional name to replace use as the root package of this object instead of the linker
bResolveForcedExportsif true, the package name part of the return value will be the export's original package, not the name of the package it's currently contained within.
返回
the path name of the UObject represented by the resource at PackageIndex, or the empty string if this isn't an export

◆ GetExportPathName() [2/2]

COREUOBJECT_API FString FLinker::GetExportPathName ( int32  ExportIndex,
const TCHAR *  FakeRoot = NULL,
bool  bResolveForcedExports = false 
)

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

(can be used with StaticFindObject)

参数
ExportIndexindex into the ExportMap for the resource to get the name for
FakeRootOptional name to replace use as the root package of this object instead of the linker
bResolveForcedExportsif true, the package name part of the return value will be the export's original package, not the name of the package it's currently contained within.
返回
the path name of the UObject represented by the resource at ExportIndex

◆ GetFullImpExpName()

FString FLinker::GetFullImpExpName ( FPackageIndex  PackageIndex)
inline

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

参数
PackageIndexpackage index
返回
the path name of the UObject represented by the resource at PackageIndex, or the empty string if this is null

◆ GetImportFullName() [1/2]

FString FLinker::GetImportFullName ( FPackageIndex  PackageIndex)
inline

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

参数
PackageIndexpackage index for the resource to get the name for
返回
the full name of the UObject represented by the resource at PackageIndex

◆ GetImportFullName() [2/2]

COREUOBJECT_API FString FLinker::GetImportFullName ( int32  ImportIndex)

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

参数
ImportIndexindex into the ImportMap for the resource to get the name for
返回
the full name of the UObject represented by the resource at ImportIndex

◆ GetImportPathName() [1/2]

FString FLinker::GetImportPathName ( FPackageIndex  PackageIndex)
inline

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

(can be used with StaticFindObject)

参数
PackageIndexpackage index for the resource to get the name for
返回
the path name of the UObject represented by the resource at PackageIndex, or the empty string if this isn't an import

◆ GetImportPathName() [2/2]

COREUOBJECT_API FString FLinker::GetImportPathName ( int32  ImportIndex)

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

(can be used with StaticFindObject)

参数
ImportIndexindex into the ImportMap for the resource to get the name for
返回
the path name of the UObject represented by the resource at ImportIndex

◆ GetPathName()

FString FLinker::GetPathName ( FPackageIndex  PackageIndex)
inline

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

(can be used with StaticFindObject)

参数
PackageIndexpackage index
返回
the path name of the UObject represented by the resource at PackageIndex, or the empty string if this is null

◆ GetScriptSHAKey()

void FLinker::GetScriptSHAKey ( uint8 *  OutKey)

After generating the SHA key for all of the

参数
OutKeyStorage for the key bytes (20 bytes)

◆ ImportIsInAnyExport()

bool FLinker::ImportIsInAnyExport ( int32  ImportIndex) const

Return if the import is in any export

参数
ImportIndexthe import to verify
返回
true if an export is in the import outer chain

◆ ResourceGetOutermost()

FPackageIndex FLinker::ResourceGetOutermost ( FPackageIndex  LinkerIndex) const

Return the outermost resource package index of the resource pointed by LinkerIndex

参数
LinkerIndexthe resource to find the outermost of
返回
the package index of the outermost

◆ ResourceIsIn()

bool FLinker::ResourceIsIn ( FPackageIndex  LinkerIndex,
FPackageIndex  OuterIndex 
) const

Return if a resource has the specified other resource in its outer chain

参数
LinkerIndexthe package index of the resource to verify
OuterIndexthe package index of the possible outer for the resource
返回
true if the resource pointed by LinkerIndex is in the resource pointed by OuterIndex

◆ Serialize()

void FLinker::Serialize ( FArchive &  Ar)

I/O function

参数
Arthe archive to read/write into

◆ UpdateScriptSHAKey()

void FLinker::UpdateScriptSHAKey ( const TArray< uint8 > &  ScriptCode)

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

参数
ScriptCodeCode to SHAify

该类的文档由以下文件生成: