UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Net::FNetCloneDynamicStateArgs Struct Reference

#include <NetSerializer.h>

+ Inheritance diagram for UE::Net::FNetCloneDynamicStateArgs:

Public Attributes

NetSerializerValuePointer Source
 
NetSerializerValuePointer Target
 
- Public Attributes inherited from UE::Net::FNetSerializerBaseArgs
NetSerializerConfigParam NetSerializerConfig = 0
 
FNetSerializerChangeMaskParam ChangeMaskInfo
 
uint32 Version = 0
 

Detailed Description

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.

See also
FNetSerializationContext

Member Data Documentation

◆ Source

NetSerializerValuePointer UE::Net::FNetCloneDynamicStateArgs::Source

A pointer to the quantized source data.

◆ Target

NetSerializerValuePointer UE::Net::FNetCloneDynamicStateArgs::Target

A pointer to the target data which should be overwritten with a deep copy of the quantized source data.


The documentation for this struct was generated from the following file: