Navigation
API > API/Runtime > API/Runtime/IrisCore
A FNetSerializer is needed for replication support of a certain type. Most types that can be marked as UPROPERTY are already supported. Types that aren't supported or need special support will emit warnings when descriptors are built for a UCLASS, USTRUCT or UFUNCTION. Find below how to implement one.
| Name | UE::Net::EReplicationStateMemberTraits |
| Type | enum |
| Header File | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationState/ReplicationStateDescriptor.h |
| Include Path | #include "Iris/ReplicationState/ReplicationStateDescriptor.h" |
Syntax
namespace UE
{
namespace Net
{
enum EReplicationStateMemberTraits
{
None = 0U,
HasDynamicState = 1U << 0U,
HasObjectReference = HasDynamicState << 1U,
HasConnectionSpecificSerialization = HasObjectReference << 1U,
HasRepNotifyAlways = HasConnectionSpecificSerialization << 1U,
UseSerializerIsEqual = HasRepNotifyAlways << 1U,
}
}
}
Values
| Name | Remarks |
|---|---|
| None | |
| HasDynamicState | |
| HasObjectReference | |
| HasConnectionSpecificSerialization | |
| HasRepNotifyAlways | |
| UseSerializerIsEqual |