Navigation
API > API/Runtime > API/Runtime/IrisCore
Forwarding serializers and serializers in need of dynamic state must implement CloneDynamicState and FreeDynamicState. Forwarding serializers should only forward calls to forwarding members and members with dynamic state. CloneDynamicState will get undefined memory contents in the target state. It's up to the clone function to deep copy the source quantized state and overwrite the target state. Allocation of memory needs to be done via FNetSerializationContext.
| Name | FNetCloneDynamicStateArgs |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/Serialization/NetSerializer.h |
| Include Path | #include "Iris/Serialization/NetSerializer.h" |
Syntax
struct FNetCloneDynamicStateArgs : public UE::Net::FNetSerializerBaseArgs
Inheritance Hierarchy
- FNetSerializerBaseArgs → FNetCloneDynamicStateArgs
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Source | NetSerializerValuePointer | A pointer to the quantized source data. | Iris/Serialization/NetSerializer.h | |
| Target | NetSerializerValuePointer | A pointer to the target data which should be overwritten with a deep copy of the quantized source data. | Iris/Serialization/NetSerializer.h |