/Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/ReplicationFragment.h
AFNetSerializeris 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.
namespace UE { namespace Net { enum EReplicationFragmentTraits { None = 0, HasInterpolation = 1, HasRepNotifies = HasInterpolation << 1, KeepPreviousState = HasRepNotifies << 1, DeleteWithInstanceProtocol = KeepPreviousState << 1, HasPersistentTargetStateBuffer = DeleteWithInstanceProtocol << 1, CanReplicate = HasPersistentTargetStateBuffer << 1, CanReceive = CanReplicate << 1, NeedsPoll = CanReceive << 1, NeedsLegacyCallbacks = NeedsPoll << 1, NeedsPreSendUpdate = NeedsLegacyCallbacks << 1, NeedsWorldLocationUpdate = NeedsPreSendUpdate << 1, HasPushBasedDirtiness = NeedsWorldLocationUpdate << 1, HasPropertyReplicationState = HasPushBasedDirtiness << 1, HasObjectReference = HasPropertyReplicationState << 1, } } }