Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/ReplicationSystem
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UReplicationBridge
- UObjectReplicationBridge
- UActorReplicationBridge
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/ReplicationBridge.h |
| Include | #include "Iris/ReplicationSystem/ReplicationBridge.h" |
Syntax
class UReplicationBridge : public UObject
Constructors
| Type | Name | Description | |
|---|---|---|---|
| ReplicationBridge Implementation |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| UE::Net::FNetObjectGroupHandle | CreateLevelGroup
(
const UObject* Level |
Creates a group for a level for object filtering purposes. | |
| FReplicationBridgeCreateNetRefHandleResult | CreateNetRefHandleFromRemote
(
FNetRefHandle SubObjectOwnerNetHandle, |
Read data required to instantiate NetObject from bitstream. | |
| void | Deinitialize () |
Deinitializes the bridge. Is called during ReplicationSystem deinitialization. | |
| void | DestroyLevelGroup
(
const UObject* Level |
Destroys the group associated with the level. | |
| void | DetachInstance
(
FNetRefHandle Handle |
Called when we detach instance protocol from the local instance | |
| void | DetachInstanceFromRemote
(
FNetRefHandle Handle, |
Called when the instance is detached from the protocol on request by the remote. | |
| void | EndReplication
(
FNetRefHandle Handle, |
Stop replicating the NetObject associated with the handle and mark the handle to be destroyed. | |
| void | GetInitialDependencies
(
FNetRefHandle Handle, |
Invoked when we start to replicate an object for a specific connection to fill in any initial dependencies | |
| UE::Net::FNetObjectGroupHandle | GetLevelGroup
(
const UObject* Level |
Get the group associated with the level in order to control connection filtering for it. | |
| UE::Net::Private::FObjectReferenceCache * | |||
| UE::Net::Private::FReplicationProtocolManager * | |||
| UE::Net::Private::FReplicationStateDescriptorRegistry * | |||
| UReplicationSystem * | |||
| void | Initialize
(
UReplicationSystem* InReplicationSystem |
Initializes the bridge. Is called during ReplicationSystem initialization. | |
| FNetRefHandle | InternalAddDestructionInfo
(
FNetRefHandle Handle, |
Add destruction info for the referenced object. | |
| void | InternalAddSubObject
(
FNetRefHandle OwnerHandle, |
Add SubObjectHandle as SubObject to OwnerHandle. | |
| void | InternalAttachInstanceToNetRefHandle
(
FNetRefHandle RefHandle, |
Attach instance to NetRefHandle. | |
| FNetRefHandle | InternalCreateNetObject
(
FNetRefHandle AllocatedHandle, |
Create a local NetRefHandle / NetObject using the ReplicationProtocol. | |
| FNetRefHandle | InternalCreateNetObject
(
FNetRefHandle AllocatedHandle, |
Create a local NetRefHandle / NetObject using the ReplicationProtocol. | |
| FNetRefHandle | InternalCreateNetObjectFromRemote
(
FNetRefHandle WantedNetHandle, |
Create a NetRefHandle / NetObject on request from the authoritative end. | |
| void | InternalDestroyNetObject
(
FNetRefHandle Handle |
Destroy the handle and all internal book keeping associated with it. | |
| void | Detach instance from NetRefHandle and destroy the instance protocol. | ||
| FNetRefHandle | InternalGetSubObjectOwner
(
FNetRefHandle SubObjectHandle |
Get the owner handle of a subobject handle. | |
| bool | IsAllowedToDestroyInstance
(
const UObject* Instance |
Called when destruction info is received to determine whether the instance may be destroyed. | |
| bool | IsReplicatedHandle
(
FNetRefHandle Handle |
Returns true if the handle is replicated. | |
| void | PostApplyInitialState
(
FNetRefHandle Handle |
Invoke after we have applied the initial state for an object. | |
| void | Invoked before ReplicationSystem copies dirty state data. | ||
| void | PreSendUpdateSingleHandle
(
FNetRefHandle Handle |
Invoked before ReplicationSystem copies dirty state data for a single replicated object. | |
| void | Invoked post garbage collect to allow us to detect stale objects | ||
| void | SetNetDriver
(
UNetDriver* NetDriver |
Set the NetDriver used by the bridge. Called during creation if the NetDriver is recreated. | |
| void | Update world locations in FWorldLocations for objects that support it. | ||
| bool | WriteNetRefHandleCreationInfo
(
FReplicationBridgeSerializationContext& Context, |
Write data required to instantiate NetObject remotely to bitstream. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FEndReplicationParameters |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ESubObjectInsertionOrder |
Typedefs
| Name | Description |
|---|---|
| FNetDependencyInfoArray | |
| FNetHandle | |
| FNetRefHandle |