UReplicationGraphNode_ActorListFrequencyBuckets

A Node that contains ReplicateActorLists.

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UReplicationGraphNode

UReplicationGraphNode_ActorListFrequencyBuckets

References

Module

ReplicationGraph

Header

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

Include

#include "ReplicationGraph.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UReplicationGraphNode_ActorListFrequencyBuckets : public UReplicationGraphNode

Remarks

A Node that contains ReplicateActorLists. This contains multiple buckets for non streaming level actors and will pull from each bucket on alternating frames. It is a way to broadly load balance.

Variables

Name Description

Protected variable

TArray< FActorR...

 

NonStreamingCollection

Non streaming actors go in one of these lists

Public variable

TSharedPtr< FSe...

 

Settings

Settings for this specific node. If not set we will fallback to the static/global DefaultSettings

Protected variable

FStreamingLevel...

 

StreamingLevelCollection

A collection of lists that streaming actors go in

Protected variable

int32

 

TotalNumNonStreamingActors

Constructors

Functions

Name Description

Protected function

void

 

CheckRebalance()

Public function Const

const FSetti...

 

GetSettings()

Public function

void

 

SetNonStreamingCollectionSize

(
    const int32 NewSize
)

Overridden from UReplicationGraphNode

Name Description

Public function Virtual

void

 

GatherActorListsForConnection

(
    const FConnectionGatherActorListPar...
)

Public function Virtual Const

void

 

GetAllActorsInNode_Debugging

(
    TArray< FActorRepListType >& OutAr...
)

Debugging only function to return a normal TArray of actor rep list (for logging, debug UIs, etc)

Public function Virtual Const

void

 

LogNode

(
    FReplicationGraphDebugInfo& DebugI...,
    const FString& NodeName
)

Public function Virtual

void

 

NotifyAddNetworkActor

(
    const FNewReplicatedActorInfo& Act...
)

Called when a network actor is spawned or an actor changes replication status

Public function Virtual

bool

 

NotifyRemoveNetworkActor

(
    const FNewReplicatedActorInfo& Act...,
    bool bWarnIfNotFound
)

Called when a networked actor is being destroyed or no longer wants to replicate

Public function Virtual

void

 

NotifyResetAllNetworkActors()

Called when world changes or when all subclasses should dump any persistent data/lists about replicated actors here.

Public function Virtual Const

void

 

OnCollectActorRepListStats

(
    FActorRepListStatCollector& StatsC...
)

Implement this to visit any FActorRepListRefView and FStreamingLevelActorListCollection your node implemented.

Public function Virtual

void

 

TearDown()

Mark the node and all its children PendingKill

Classes

Name

Description

Public struct

FSettings

Constants

Name

Description

DefaultSettings

Default settings for all nodes.

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