Go to the source code of this file.
|
| | DECLARE_LOG_CATEGORY_EXTERN (LogLinker, Log, All) |
| |
| template<typename T > |
| UE_FORCEINLINE_HINT T * | Cast (FLinker *Src) |
| |
| template<typename T > |
| T * | CastChecked (FLinker *Src) |
| |
| COREUOBJECT_API FLinkerLoad * | LoadPackageLinker (UPackage *InOuter, const FPackagePath &PackagePath, uint32 LoadFlags, UPackageMap *Sandbox, FArchive *InReaderOverride, TFunctionRef< void(FLinkerLoad *LoadedLinker)> LinkerLoadedCallback) |
| |
| COREUOBJECT_API FLinkerLoad * | LoadPackageLinker (UPackage *InOuter, const FPackagePath &PackagePath, uint32 LoadFlags=LOAD_None, UPackageMap *Sandbox=nullptr, FArchive *InReaderOverride=nullptr) |
| |
| COREUOBJECT_API FLinkerLoad * | GetPackageLinker (UPackage *InOuter, const FPackagePath &PackagePath, uint32 LoadFlags, UPackageMap *Sandbox, FArchive *InReaderOverride=nullptr, FUObjectSerializeContext **InOutLoadContext=nullptr, FLinkerLoad *ImportLinker=nullptr, const FLinkerInstancingContext *InstancingContext=nullptr) |
| |
| COREUOBJECT_API FString | GetPrestreamPackageLinkerName (const TCHAR *InLongPackageName, bool bSkipIfExists=true) |
| |
| COREUOBJECT_API void | ResetLinkerExports (UPackage *InPackage) |
| |
| COREUOBJECT_API void | ResetLoaders (UObject *InOuter) |
| |
| COREUOBJECT_API void | ResetLoaders (TConstArrayView< UObject * > InOuters) |
| |
| COREUOBJECT_API void | ConditionalFlushAsyncLoadingForSave (UPackage *InPackage) |
| |
| COREUOBJECT_API void | ResetLoadersForSave (UPackage *Package, const TCHAR *Filename) |
| |
| COREUOBJECT_API void | ResetLoadersForSave (TConstArrayView< FPackageSaveInfo > InPackages) |
| |
| COREUOBJECT_API void | DeleteLoaders () |
| |
| COREUOBJECT_API void | DeleteLoader (FLinkerLoad *Loader) |
| |
| COREUOBJECT_API void | EnsureLoadingComplete (UPackage *Package) |
| |
◆ LLF_AllFlags
| #define LLF_AllFlags 0xFFFFFFFF |
◆ LLF_None
◆ LLF_PayloadInSeparateFile
| #define LLF_PayloadInSeparateFile 0x00000001 |
If set, payload is [going to be] stored in separate file
◆ LLF_SerializeCompressed
| #define LLF_SerializeCompressed 0x00000002 |
If set, payload should be [un]compressed during serialization. Only bulk data that doesn't require any special serialization or endian conversion can be compressed! The code will simply serialize a block from disk and use the byte order agnostic Serialize( Data, Length ) function to fill the memory.
◆ ELazyLoaderFlags
Flags serialized with the lazy loader.
◆ Cast()
◆ CastChecked()
◆ ConditionalFlushAsyncLoadingForSave()
Conditionally flush async loading for a specific package if there's any pending async requests
- Parameters
-
| InPackage | The package to flush for |
◆ DECLARE_LOG_CATEGORY_EXTERN()
◆ DeleteLoader()
Queues linker for deletion
◆ DeleteLoaders()
Deletes all linkers that have finished loading
◆ EnsureLoadingComplete()
◆ GetPackageLinker()
Gets a linker for a package and returns it without loading any objects.
- Parameters
-
| InOuter | Package if known, can be null |
| PackagePath | Package resource to load, must not be empty |
| 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 |
| ImportLinker | Optional import linker that triggered the linker creation. it will pass in its instancing context if a linker is created, take precedence over the optional InstancingContext |
| InstancingContext | Optional instancing context to pass in if a linker is created |
- Returns
- Pointer to the loaded linker or null if the file didn't exist
◆ GetPrestreamPackageLinkerName()
◆ LoadPackageLinker() [1/2]
Loads a linker for a package and returns it without loading any objects.
- Parameters
-
| InOuter | Package if known, can be null |
| PackagePath | Package resource to load, must not be empty |
| 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 |
| LinkerLoadedCallback | Callback when the linker is loaded (or not found) |
- Returns
- Pointer to the loaded linker or null if the file didn't exist
◆ LoadPackageLinker() [2/2]
◆ ResetLinkerExports()
Reset the linker exports associated with the package
- Note
- , this might flush async loading if the linker is owned by the loading thread
◆ ResetLoaders() [1/2]
◆ ResetLoaders() [2/2]
Remove references to the linker for the given package and delete the linker. Can be called after the package has finished loading. Flushes async loading.
◆ ResetLoadersForSave() [1/2]
Reset the loaders for the given packages if they are using the given filenames, so we can write to the files
- Parameters
-
| InPackage | The package we are saving along with their filename |
◆ ResetLoadersForSave() [2/2]
Reset the loader for the given package if it is using the given filename, so we can write to the file
- Parameters
-
| Package | The package we are saving |
| Filename | The filename we are saving too |