Navigation
API > API/Runtime > API/Runtime/IrisCore
Currently we require each supported type to register FPropertyNetSerializerInfo It provides information on what NetSerializer to use for which property and how to build the required NetSerializer config which is used when we build the dynamic descriptor It is possible to register multiple FPropertyNetSerializerInfo for the same PropertyType-class as long as the IsSupportedFunction only matches a single Property, i.e. bool/nativebool enums of different sizes
| Name | FPropertyNetSerializerInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h |
| Include Path | #include "Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h" |
Syntax
struct FPropertyNetSerializerInfo
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FNetSerializerConfig * BuildNetSerializerConfig
(
void* NetSerializerConfigBuffer, |
Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h | ||
virtual bool CanUseDefaultConfig
(
const FProperty* Property |
Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h | ||
virtual CreateAndRegisterReplicationFragmentFunc GetCreateAndRegisterReplicationFragmentFunction () |
Custom replication fragments are currently only supported by structs with a custom NetSerializer. | Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h | |
virtual const FNetSerializer * GetNetSerializer
(
const FProperty* Property |
Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h | ||
virtual const FFieldClass * GetPropertyTypeClass() |
Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h | ||
virtual bool IsSupported
(
const FProperty* Property |
Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h | ||
bool IsSupportedStruct
(
FName InStructName |
Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h |