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.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TFastArrayReplicationFragment
(
EReplicationFragmentTraits InTraits, |
|||
TFastArrayReplicationFragment
(
EReplicationFragmentTraits InTraits, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| 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 |
Overridden from FReplicationFragment
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyReplicatedState
(
FReplicationStateApplyContext& Context |
TFastArrayReplicationFragment implementation | |
| 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. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EAllowAdditionalPropertiesType |
Typedefs
| Name | Description |
|---|---|
| ItemArrayType |