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. FreeDynamicState must be re-entrant. To achieve this it's recommended to clear the quantized state after freeing dynamically allocated memory. Freeing of memory needs to be done via FNetSerializationContext.
| Name | FNetFreeDynamicStateArgs |
| Type | struct |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/Serialization/NetSerializer.h |
| Include Path | #include "Iris/Serialization/NetSerializer.h" |
Syntax
struct FNetFreeDynamicStateArgs : public UE::Net::FNetSerializerBaseArgs
Inheritance Hierarchy
- FNetSerializerBaseArgs → FNetFreeDynamicStateArgs
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Source | NetSerializerValuePointer | A pointer to the quantized source data. | Iris/Serialization/NetSerializer.h |