Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/ReplicationState
Inheritance Hierarchy
- FPropertyNetSerializerInfo
- FLastResortPropertyNetSerializerInfo
- FNamedStructLastResortPropertyNetSerializerInfo
- TSimplePropertyNetSerializerInfo
- FNamedStructPropertyNetSerializerInfo
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h |
| Include | #include "Iris/ReplicationState/PropertyNetSerializerInfoRegistry.h" |
Syntax
struct FPropertyNetSerializerInfo
Remarks
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
Variables
| Type | Name | Description | |
|---|---|---|---|
| FName | StructName | Used by named struct serializers. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FNetSerializerConfig * | BuildNetSerializerConfig
(
void* NetSerializerConfigBuffer, |
||
| bool | CanUseDefaultConfig
(
const FProperty* Property |
||
| CreateAndRegisterReplicationFragmentFunc | Custom replication fragments are currently only supported by structs with a custom NetSerializer. | ||
| const FNetSerializer * | GetNetSerializer
(
const FProperty* Property |
||
| const FFieldClass * | |||
| bool | IsSupported
(
const FProperty* Property |
||
| bool | IsSupportedStruct
(
FName InStructName |