Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/ReplicationSystem
Inheritance Hierarchy
- FReplicationFragment
- FFastArrayReplicationFragmentBase
- TFastArrayReplicationFragment
- FNativeFastArrayReplicationFragmentBase
- TNativeFastArrayReplicationFragment
- FPropertyReplicationFragment
- TReplicationFragment
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/ReplicationFragment.h |
| Include | #include "Iris/ReplicationSystem/ReplicationFragment.h" |
Syntax
class FReplicationFragment
Remarks
ReplicationFragment Binds one or more ReplicationState(s) to the owner and is the key piece to defining the state that makes up a NetObject Used to extract and set state data on the game side.
Variables
| Type | Name | Description | |
|---|---|---|---|
| EReplicationFragmentTraits | Traits |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FReplicationFragment
(
const FReplicationFragment& |
|||
FReplicationFragment
(
EReplicationFragmentTraits InTraits |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyReplicatedState
(
FReplicationStateApplyContext& Context |
This is called from the ReplicationSystem / ReplicationBridge whenever we have new data Depending on the traits of the fragment we either get pointer to a StateBuffer in the expected external format including changemask information or we get the raw quantized state buffer along with the changemask information for any received states. | |
| 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. | |
| EReplicationFragmentTraits | GetTraits () |
Traits | |
| 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. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FReplicationFragment & | operator=
(
const FReplicationFragment& |