Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/Serialization
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPackageMap
- UIrisObjectReferencePackageMap
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/Serialization/IrisObjectReferencePackageMap.h |
| Include | #include "Iris/Serialization/IrisObjectReferencePackageMap.h" |
Syntax
class UIrisObjectReferencePackageMap : public UPackageMap
Remarks
Custom packagemap implementation used to be able to capture UObject* references from external serialization. Any object references written when using this packagemap will be added to the References array and serialized as an index. When reading using this packagemap references will be read as an index and resolved by picking the corresponding entry from the provided array containing the references.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FObjectReferenceArray * | References |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | InitForRead
(
const FObjectReferenceArray* InReferences |
Init for read, we need a reference array to be able to resolve references. | |
| void | InitForWrite
(
FObjectReferenceArray* InReferences |
Init for write, all written references will be added to the references array which will be resetted by this call. |
Overridden from UPackageMap
| Type | Name | Description | |
|---|---|---|---|
| bool | SerializeObject
(
FArchive& Ar, |
We override SerialzierObject in order to be able to capture object references. |
Typedefs
| Name | Description |
|---|---|
| FObjectReferenceArray |