Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/ReplicationSystem
Inheritance Hierarchy
- FReplicationFragment
- FPropertyReplicationFragment
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/PropertyReplicationFragment.h |
| Include | #include "Iris/ReplicationSystem/PropertyReplicationFragment.h" |
Syntax
class FPropertyReplicationFragment : public UE::Net::FReplicationFragment
Remarks
FPropertyReplicationFragment - used to bind PropertyReplicationStates to their owner
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPropertyReplicationFragment
(
EReplicationFragmentTraits InTraits, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FPropertyReplicationFragment * | CreateAndRegisterFragment
(
UObject* InOwner, |
Create and register a PropertyReplicationFragment using the provided descriptor, the lifetime of the fragment will be managed by the ReplicationSystem Lifetime of the created fragment will be managed by the ReplicationSystem returns a pointer to the created fragment | |
| const FPropertyReplicationState * | Allow access to replication state | ||
| void | Register
(
FFragmentRegistrationContext& Fragments |
Register an already existing PropertyReplicationFragment, for example one that is carried around by a base class |
Overridden from FReplicationFragment
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyReplicatedState
(
FReplicationStateApplyContext& Context |
FReplicationFragment Implementation | |
| void | CallRepNotifies
(
FReplicationStateApplyContext& Context |
Optional method required for backwards compatibility mode which will be invoked for all Fragment with the EReplicationFragmentTraits::HasRepNotifies trait set. | |
| void | CollectOwner
(
FReplicationStateOwnerCollector* Owners |
Optional method required for backwards compatibility mode which is used to propagate required calls to Pre/PostNetReceive/PostRepNotifies. | |
| 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. |