Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FLinkerLoad
Description
Utility function for callers to try and create a placeholder class object in the specified import slot if it represents a class object. This allows for objects to still be serialized even if missing its class type on load (the data will be serialized into a property bag).
Note: If the import is already non-NULL, this will not create a placeholder class (and the function will return NULL as a result).
| Name | TryCreatePlaceholderClassImport |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/LinkerLoad.h |
| Include Path | #include "UObject/LinkerLoad.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp |
UClass * TryCreatePlaceholderClassImport
(
int32 ImportIndex
)
A reference to the placeholder class (if created), otherwise NULL.
Parameters
| Name | Remarks |
|---|---|
| ImportIndex | Index of the import that may be a missing class. |