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::ENetReferenceCollectorTraits |
| Type | enum |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/Serialization/NetReferenceCollector.h |
| Include Path | #include "Iris/Serialization/NetReferenceCollector.h" |
Syntax
namespace UE
{
namespace Net
{
enum ENetReferenceCollectorTraits
{
None = 0U,
IncludeInvalidReferences = 1U,
OnlyCollectReferencesThatCanBeExported = IncludeInvalidReferences << 1U,
}
}
}
Values
| Name | Remarks |
|---|---|
| None | |
| IncludeInvalidReferences | |
| OnlyCollectReferencesThatCanBeExported |