Navigation
API > API/Runtime > API/Runtime/IrisCore
| Name | FFragmentRegistrationContext |
| Type | class |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/ReplicationFragment.h |
| Include Path | #include "Iris/ReplicationSystem/ReplicationFragment.h" |
Syntax
class FFragmentRegistrationContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFragmentRegistrationContext
(
Private::FReplicationStateDescriptorRegistry* InReplicationStateRegistry, |
Iris/ReplicationSystem/ReplicationFragment.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsAFragmentlessNetObject | bool | Iris/ReplicationSystem/ReplicationFragment.h | ||
| Fragments | FReplicationFragments | Iris/ReplicationSystem/ReplicationFragment.h | ||
| FragmentTraits | const EReplicationFragmentTraits | Iris/ReplicationSystem/ReplicationFragment.h | ||
| MainObjectDefaultStateSource | const UObject * | The final reference we used to build the default state for the main object. | Iris/ReplicationSystem/ReplicationFragment.h | |
| MainObjectInstance | UObject * | The main object used to pull most fragments from. Used as the basic for the default state source | Iris/ReplicationSystem/ReplicationFragment.h | |
| ReplicationStateRegistry | Private::FReplicationStateDescriptorRegistry * | Iris/ReplicationSystem/ReplicationFragment.h | ||
| ReplicationSystem | UReplicationSystem * | Iris/ReplicationSystem/ReplicationFragment.h | ||
| Template | const UObject * | The externally provided template used to clone the main object instance from | Iris/ReplicationSystem/ReplicationFragment.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const EReplicationFragmentTraits GetFragmentTraits() |
Returns the traits | Iris/ReplicationSystem/ReplicationFragment.h | |
bool IsFragmentlessNetObject() |
Returns true when the netobject knows it won't contain any replicated properties or RPCs | Iris/ReplicationSystem/ReplicationFragment.h | |
int32 NumFragments() |
Returns the number of fragments registered | Iris/ReplicationSystem/ReplicationFragment.h | |
void RegisterReplicationFragment
(
FReplicationFragment* Fragment, |
Register ReplicationFragment | Iris/ReplicationSystem/ReplicationFragment.h | |
void SetIsFragmentlessNetObject
(
bool bIsFragmentless |
Call this when you have a netobject that is replicated but will never contain any RPCs or replicated properties. | Iris/ReplicationSystem/ReplicationFragment.h | |
bool WasRegistered() |
Returns true if the fragments (or the lack of) were registered by the instance | Iris/ReplicationSystem/ReplicationFragment.h |