Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/ReplicationSystem
Inheritance Hierarchy
- FReplicationFragment
- FFastArrayReplicationFragmentBase
- TFastArrayReplicationFragment
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/FastArrayReplicationFragment.h |
| Include | #include "Iris/ReplicationSystem/FastArrayReplicationFragment.h" |
Syntax
template<typename FastArrayItemType, typename FastArrayType>
class TFastArrayReplicationFragment : public UE::Net::Private::FFastArrayReplicationFragmentBase
Remarks
TFastArrayReplicationFragment - Binds a typed FastArray to a FReplicationfragment Used to support FFastArray-based serialization with no required code modifications Backed by a PropertyReplicationState which means that we will have to poll source data for dirtiness, in the case of FastArrays this involves comparing the replication key of the array and its items.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< FastArrayType > | AccumulatedReceivedState | TODO: Can be removed when we have implemented explicit code to traverse quantized data directly. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TFastArrayReplicationFragment
(
EReplicationFragmentTraits InTraits, |
TFastArrayReplicationFragment implementation | ||
TFastArrayReplicationFragment
(
EReplicationFragmentTraits InTraits, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | For the select few cases where we allow additional properties, this is a helper to deal with applying them directly from quantized state. | ||
| FastArrayType * | Get FastArraySerialzier from received state. | ||
| FastArrayType * | Get FastArraySerializer from owner. | ||
| FastArrayType * | Get FastArraySerializer from our cached ReplicationState. | ||
| bool | IsDirty () |
Returns true if the FastArray is dirty. | |
| void | MarkDirty () |
Mark FastArray dirty. | |
| bool | PollAllState
(
bool bForceFullCompare |
Poll entire FastFrray. |
Overridden from FReplicationFragment
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyReplicatedState
(
FReplicationStateApplyContext& Context |
FReplicationFragment. | |
| void | CallRepNotifies
(
FReplicationStateApplyContext& Context |
Optional method required for backwards compatibility mode which will be invoked for all Fragment with the EReplicationFragmentTraits::HasRepNotifies trait set. | |
| bool | PollReplicatedState
(
EReplicationFragmentPollFlags PollOption |
Optional Poll method required for backwards compatibility mode which will be invoked for all Fragment with the EReplicationFragmentTraits::NeedsPoll trait set. | |
| void | ReplicatedStateToString
(
FStringBuilderBase& StringBuilder, |
Optional method to output state data to StringBuilder. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EAllowAdditionalPropertiesType |
Typedefs
| Name | Description |
|---|---|
| ItemArrayType |