Navigation
API > API/Runtime > API/Runtime/IrisCore
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::EReplicationFragmentPollFlags |
| Type | enum |
| Header File | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/ReplicationFragment.h |
| Include Path | #include "Iris/ReplicationSystem/ReplicationFragment.h" |
Syntax
namespace UE
{
namespace Net
{
enum EReplicationFragmentPollFlags
{
None = 0,
ForceRefreshCachedObjectReferencesAfterGC = 1,
PollAllState = ForceRefreshCachedObjectReferencesAfterGC << 1,
}
}
}
Values
| Name | Remarks |
|---|---|
| None | |
| ForceRefreshCachedObjectReferencesAfterGC | If set, we need to refresh all cached object references, typically set after a GC to detect stale references in cached data. |
| PollAllState | Normal poll. |