UNetReplicationGraphConnection

Manages actor replication for a specific connection

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ReplicationGraph

Header

/Engine/Plugins/Runtime/ReplicationGraph/Source/Public/ReplicationGraph.h

Include

#include "ReplicationGraph.h"

Syntax

UCLASS(Transient)
class UNetReplicationGraphConnection : public UReplicationConnectionDriver

Remarks

Manages actor replication for a specific connection

Variables

Name Description

Public variable

FPerConnectionA...

 

ActorInfoMap

A map of all of our per-actor data

Public variable

bool

 

bEnableDebugging

Public variable

bool

 

bEnableFullActorPrioritizationDetails

Stored list of dormant actors in a previous cell when it's been left - this is for the dormant dynamic actor destruction feature.

Public variable

int32

 

ConnectionOrderNum

Index of the connection in the global list.

Public variable UProperty

TObjectPtr< cla...

 

DebugActor

Public variable UProperty

TArray< FLastLo...

 

LastGatherLocations

Public variable UProperty

TObjectPtr< UNe...

 

NetConnection

Public variable

FOnClientVisibl...

 

OnClientVisibleLevelNameAdd

Public variable

TMap< FName, FO...

 

OnClientVisibleLevelNameAddMap

Public variable

FOnClientVisibl...

 

OnClientVisibleLevelNameRemove

Public variable

FOnPostReplicat...

 

OnPostReplicatePrioritizeLists

Public variable

int32

 

QueuedBitsForActorDiscovery

Nb of bits sent for actor channel creation when a dedicated budget is allocated for this.

Constructors

Functions

Name Description

Public function Virtual Const

void

 

GetClientVisibleLevelNames

(
    TSet< FName >& OutLevelNames
)

Generates a set of all the visible level names for this connection and its subconnections (if any)

Public function Const

const TArray...

 

GetConnectionGraphNodes()

Returns connection graph nodes.

Public function

FActorRepLis...

 

GetPrevDormantActorListForNode

(
    const UReplicationGraphNode* G...
)

Public function Virtual

void

 

NotifyResetAllNetworkActors()

Public function

void

 

RemoveActorFromAllPrevDormantActorLists

(
    AActor* InActor
)

Overridden from UReplicationConnectionDriver

Overridden from UObject

Name Description

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Typedefs

Deprecated Variables

Name Description

Public variable

int32

 

ConnectionId

This variable was renamed to ConnectionOrderNum to better reflect that it is not persistent and should not be considered an ID.