![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <NetSerializer.h>
Inheritance diagram for UE::Net::FNetQuantizeArgs:Public Attributes | |
| NetSerializerValuePointer | Source |
| NetSerializerValuePointer | Target |
Public Attributes inherited from UE::Net::FNetSerializerBaseArgs | |
| NetSerializerConfigParam | NetSerializerConfig = 0 |
| FNetSerializerChangeMaskParam | ChangeMaskInfo |
| uint32 | Version = 0 |
Parameters passed to a NetSerializer's Quantize function. The purpose of the Quantize function is to transform the original source data to a POD state. Quantized state buffers are passed to memcpy and similar functions. Apart from required to being POD it must also be bit deterministic. As state buffers are initialized to zero before first use a quantized state of zero should represent a valid state which the serializer's other functions can operate on. There is an option to allow dynamic state which can be used by serializers operating on container types to minimize the footprint of the quantized state, rather than always having a fixed buffer that can handle the maximum number of elements in the container for example. For dynamic state additional functions need to be implemented; CloneDynamicState and FreeDynamicState.
| NetSerializerValuePointer UE::Net::FNetQuantizeArgs::Source |
A pointer to the non-quantized source data.
| NetSerializerValuePointer UE::Net::FNetQuantizeArgs::Target |
A pointer to the quantized state buffer which contains valid, but unknown, quantized state.