UReplicationGraphNode_ActorList

A Node that contains ReplicateActorLists.

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)()
class UReplicationGraphNode_ActorList : public UReplicationGraphNode

Remarks

A Node that contains ReplicateActorLists. This contains 1 "base" list and a TArray of lists that are conditioned on a streaming level being loaded.

Variables

Name Description

Protected variable

FActorRepListRe...

 

ReplicationActorList

The base list that most actors will go in

Protected variable

FStreamingLevel...

 

StreamingLevelCollection

A collection of lists that streaming actors go in

Functions

Name Description

Public function

void

 

DeepCopyActorListsFrom

(
    const UReplicationGraphNode_ActorLi...
)

Copies the contents of Source into this node.

Protected function Const

void

 

LogActorList

(
    FReplicationGraphDebugInfo& DebugI...
)

Just logs our ReplicationActorList and StreamingLevelCollection (not our child nodes).

Public function

bool

 

RemoveNetworkActorFast

(
    const FNewReplicatedActorInfo& Act...
)

Removes the actor very quickly but breaks the list order

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.

Protected 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

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