Navigation
API > API/Runtime > API/Runtime/IrisCore
These are options for the LastResortPropertyNetSerializer that are user controllable by passing an instance to a registration macro, for example UE_NET_IMPLEMENT_NAMED_STRUCT_LASTRESORT_NETSERIALIZER_AND_REGISTRY_DELEGATES(MyStruct, {.MaxQuantizedSizeBits = 32767})
| Name | FLastResortPropertyNetSerializerUserOptions |
| Type | struct |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h |
| Include Path | #include "Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h" |
Syntax
struct FLastResortPropertyNetSerializerUserOptions
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bExcludeFromDefaultStateHash | bool | Whether to exclude the serialization from being part of a replication state's default state hash. | Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h | |
| CreateAndRegisterReplicationFragmentFunction | CreateAndRegisterReplicationFragmentFunc | If the struct needs a custom fragment due to for example not being able to dequantize to a temporary state. | Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h | |
| MaxQuantizedSizeBits | uint32 | How large the quantized state may be in bits. | Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h |