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::ENetObjectAttachmentSendPolicyFlags |
| Type | enum |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/ReplicationSystemTypes.h |
| Include Path | #include "Iris/ReplicationSystem/ReplicationSystemTypes.h" |
Syntax
namespace UE
{
namespace Net
{
enum ENetObjectAttachmentSendPolicyFlags
{
None = 0,
ScheduleAsOOB = 1U << 0U,
SendInPostTickDispatch = ScheduleAsOOB << 1U,
SendImmediate = ScheduleAsOOB | SendInPostTickDispatch,
}
}
}
Values
| Name | Remarks |
|---|---|
| None | Default. |
| ScheduleAsOOB | Schedule attachment to use the Out of bounds channel, essentially schedule the attachment to be sent as early as possible. Note: Only valid for unreliable attachments. |
| SendInPostTickDispatch | Hint that this attachment like to be sent during PostTickDispatch. |
| SendImmediate | SendImmediate, Attachment should be sent using OOB channel and from PostTickDispatch. |