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
UCLASS (Transient, MinimalAPI)
class UIrisObjectReferencePackageMap : public UPackageMap
Remarks
Custom packagemap implementation used to be able to capture exports such as UObject* references, names and NetTokens from external serialization. Exports written when using this packagemap will be captured in an array and serialized as an index. When reading using this packagemap exports will be read as an index and resolved by picking the corresponding entry from the provided array containing the data associated with the export.
Variables
| Type | Name | Description | |
|---|---|---|---|
| UE::Net::FNetTokenResolveContext | NetTokenResolveContext | ||
| UE::Net::FIrisPackageMapExports * | PackageMapExports |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | InitForRead
(
const UE::Net::FIrisPackageMapExports* PackageMapExports, |
Init for read, we need to set the exports from which we are going to read our data. | |
| void | InitForWrite
(
UE::Net::FIrisPackageMapExports* PackageMapExports |
Init for write, all captured exports will be serialized as in index and added to the PackageMapExports for later export using iris. |
Overridden from UPackageMap
| Type | Name | Description | |
|---|---|---|---|
| const UE::Net::FNetTokenResolveContext * | Provides access to the context required to resolve received NetTokens. | ||
| bool | SerializeName
(
FArchive& Ar, |
Override SerializeName in order to be able to capture name and serialize them with iris instead. | |
| bool | SerializeObject
(
FArchive& Ar, |
We override SerializeObject in order to be able to capture object references. |