Navigation
API > API/Runtime > API/Runtime/CoreUObject
Request a struct PostLoad during serialization. This is only valid in the editor. Use for structs that need to do fix up logic after all objects have been loaded.
| Name | FStructPostLoadContext |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/StructPostLoadContext.h |
| Include Path | #include "UObject/StructPostLoadContext.h" |
Syntax
class FStructPostLoadContext
Structs
| Name | Remarks |
|---|---|
| FAnnotation | Struct PostLoad request annotation. |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Annotations | FUObjectAnnotationSparse< FAnnotation, true > | UObject/StructPostLoadContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAnnotation GetAndRemoveRequest
(
TNotNull< const UObjectBase* > Object |
Gets the annotation for the given object. | UObject/StructPostLoadContext.h | |
void OnPostLoad
(
TNotNull< UObjectBase* > Object |
Run the PostLoad on any request for the object. | UObject/StructPostLoadContext.h | |
bool RequestPostLoad
(
TNotNull< const FUObjectSerializeContext* > Context |
A struct request a post load. | UObject/StructPostLoadContext.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FStructPostLoadContext & Get() |
UObject/StructPostLoadContext.h |