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::EDetachReason |
| Type | enum |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/NetObjectFactory.h |
| Include Path | #include "Iris/ReplicationSystem/NetObjectFactory.h" |
Syntax
namespace UE
{
namespace Net
{
enum EDetachReason
{
Stopped = 0U,
NoLongerRelevant,
TornOff,
RootObjectStillRelevant,
StaticDestroyed,
MAX,
}
}
}
Values
| Name | Remarks |
|---|---|
| Stopped | StopReplication called without a specific reason |
| NoLongerRelevant | Object is still replicating but is no longer relevant to this connection |
| TornOff | Object is being torn off permanently |
| RootObjectStillRelevant | Special entry used in FSubObjectDetachContext when the root object stays relevant. |
| StaticDestroyed | Special info sent for static (loaded) objects that are destroyed on the server. |
| MAX | Put new entries above this one |