UReplicationGraphNode_TearOff_ForConnection

Manages actors that are Tear Off.

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UReplicationGraphNode

UReplicationGraphNode_TearOff_ForConnection

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_TearOff_ForConnection : public UReplicationGraphNode

Remarks

Manages actors that are Tear Off. We will try to replicate these actors one last time to each connection.

Variables

Name Description

Public variable

FActorRepListRe...

 

ReplicationActorList

Public variable UProperty

TArray< FTearOf...

 

TearOffActors

Fixme: not safe to have persistent FActorRepListrefViews yet, so need a uproperty based list to hold the persistent items.

Functions

Name Description

Public function

void

 

NotifyTearOffActor

(
    AActor* Actor,
    uint32 FrameNum
)

Overridden from UReplicationGraphNode

Name Description

Public function Virtual

void

 

GatherActorListsForConnection

(
    const FConnectionGatherActorListPar...
)

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.

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