UNetReplicationGraphConnection

Manages actor replication for a specific connection

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

ReplicationGraph

Header

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

Include

#include "ReplicationGraph.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(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

Public variable

int32

 

ConnectionId

ID that is assigned by the replication graph. Will be reassigned/compacted as clients disconnect. Useful for spacing out connection operations. E.g., not stable but always compact.

Public variable UProperty

AReplicationGra...

 

DebugActor

Public variable UProperty

TArray< FLastLo...

 

LastGatherLocations

Public variable UProperty

UNetConnection ...

 

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 Virtual

void

 

NotifyResetAllNetworkActors()

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

FVector

 

LastGatherLocation

Use the LastGatherLocations to have support for subconnection lookups

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss