Navigation
API > API/Runtime > API/Runtime/IrisCore
Copyright Epic Games, Inc. All Rights Reserved.
Definitions.
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::EFragmentRegistrationFlags |
| Type | enum |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/ReplicationFragment.h |
| Include Path | #include "Iris/ReplicationSystem/ReplicationFragment.h" |
Syntax
namespace UE
{
namespace Net
{
enum EFragmentRegistrationFlags
{
None = 0U,
RegisterRPCsOnly = 1U,
InitializeDefaultStateFromClassDefaults = RegisterRPCsOnly << 1U,
AllowFastArraysWithAdditionalProperties = InitializeDefaultStateFromClassDefaults << 1U,
}
}
}
Values
| Name | Remarks |
|---|---|
| None | |
| RegisterRPCsOnly | Indicates that we only should register RPC:s. |
| InitializeDefaultStateFromClassDefaults | Indicates that this objects should use the CDO for class defaults instead of the archetype. |
| AllowFastArraysWithAdditionalProperties | Allow building descriptors for FastArrays that contain additional properties, NOTE: This should be avoided as fastarrays normally only should contain a single replicated property. |