Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/Linker.h |
Include |
#include "UObject/Linker.h" |
Source |
/Engine/Source/Runtime/CoreUObject/Private/UObject/Linker.cpp |
FLinkerLoad * GetPackageLinker
(
UPackage * InOuter,
const TCHAR * InLongPackageName,
uint32 LoadFlags,
UPackageMap * Sandbox,
FGuid * CompatibleGuid,
FArchive * InReaderOverride,
FUObjectSerializeContext ** InOutLoadContext
)
Gets a linker for a package and returns it without loading any objects. This call must be preceeded by BeginLoad and followed by EndLoad calls
Pointer to the loaded linker or null if the file didn't exist
Parameter |
Description |
---|---|
InOuter |
Package if known, can be null |
InLongPackageName |
Name of the package to load |
LoadFlags |
Flags to pass to the new linker |
Sandbox |
Additional sandbox for loading |
CompatibleGuid |
Net GUID |
InReaderOverride |
Optional archive to use for reading package data |
InOutLoadContext |
Optional load context. If the package linker is already associated with a context that's currently loading objects that context will be returned in this param |