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::EReplicationFragmentPollFlags |
| 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 EReplicationFragmentPollFlags
{
None = 0,
ForceRefreshCachedObjectReferencesAfterGC = 1,
PollDirtyState = ForceRefreshCachedObjectReferencesAfterGC << 1,
PollAllState = PollDirtyState << 1,
EnableVerboseProfiling = PollAllState << 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, regardless of if they are dirty or not. |
| PollDirtyState | Pull members marked for polling or marked as dirty in the changemask, non-push based members will alwasys be considered for polling. |
| PollAllState | Normal full poll. |
| EnableVerboseProfiling | Enable Verbose profiling |