Navigation
API > API/Runtime > API/Runtime/IrisCore
Traits describing a ReplicationFragmet
| Name | UE::Net::EReplicationFragmentTraits |
| 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 EReplicationFragmentTraits
{
None = 0,
HasInterpolation = 1,
HasRepNotifies = HasInterpolation << 1,
KeepPreviousState = HasRepNotifies << 1,
DeleteWithInstanceProtocol = KeepPreviousState << 1,
HasPersistentTargetStateBuffer = DeleteWithInstanceProtocol << 1,
CanReplicate = HasPersistentTargetStateBuffer << 1,
CanReceive = CanReplicate << 1,
NeedsPoll = CanReceive << 1,
NeedsLegacyCallbacks = NeedsPoll << 1,
NeedsPreSendUpdate = NeedsLegacyCallbacks << 1,
HasPushBasedDirtiness = NeedsPreSendUpdate << 1,
HasFullPushBasedDirtiness = HasPushBasedDirtiness << 1,
HasPropertyReplicationState = HasFullPushBasedDirtiness << 1,
HasObjectReference = HasPropertyReplicationState << 1,
SupportsPartialDequantizedState = HasObjectReference << 1,
}
}
}
Values
| Name | Remarks |
|---|---|
| None | |
| HasInterpolation | Not implemented. |
| HasRepNotifies | Fragment has rep notifies. |
| KeepPreviousState | Save previous state before apply. |
| DeleteWithInstanceProtocol | Fragment is owned by instance protocol and will be destroyed when the instance protocol is destroyed. |
| HasPersistentTargetStateBuffer | Pass raw quantized data when applying state data. |
| CanReplicate | Fragment can be used to source replication data. |
| CanReceive | Fragment can receive replication data. |
| NeedsPoll | Fragment requires polling to detect dirtiness. |
| NeedsLegacyCallbacks | Fragment requires legacy callbacks. |
| NeedsPreSendUpdate | Fragment requires PreSendUpdate to be called. |
| HasPushBasedDirtiness | Fragment supports push based dirtiness. |
| HasFullPushBasedDirtiness | Fragment supports full push based dirtiness. |
| HasPropertyReplicationState | Fragment is a PropertyReplication, or is using PropertyReplicationState. |
| HasObjectReference | Fragment has object references. |
| SupportsPartialDequantizedState | Fragment supports partial dequantized state in apply. |