Navigation
API > API/Plugins > API/Plugins/ReplicationGraph
| Name | UReplicationGraphNode |
| Type | class |
| Header File | /Engine/Plugins/Runtime/ReplicationGraph/Source/Public/ReplicationGraph.h |
| Include Path | #include "ReplicationGraph.h" |
Syntax
UCLASS (MinimalAPI, Abstract, Transient, Config=Engine)
class UReplicationGraphNode : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UReplicationGraphNode
Derived Classes
UReplicationGraphNode derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UReplicationGraphNode() |
ReplicationGraph.h |
Enums
Public
| Name | Remarks |
|---|---|
| NodeOrdering | Node removal behavior |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CleanChildNodes
(
UReplicationGraphNode::NodeOrdering NodeOrder |
Remove all null and about to be destroyed nodes from our list | ReplicationGraph.h | |
T * CreateChildNode () |
Allocates and initializes ChildNode of a specific type T. | ReplicationGraph.h | |
T * CreateChildNode
(
FName NodeBaseName |
Allocates and initializes ChildNode of a specific type T with a given base name. | ReplicationGraph.h | |
void DoCollectActorRepListStats
(
FActorRepListStatCollector& StatsCollector |
ReplicationGraph.h | ||
virtual void GatherActorListsForConnection
(
const FConnectionGatherActorListParameters& Params |
ReplicationGraph.h | ||
virtual void GetAllActorsInNode_Debugging
(
TArray< FActorRepListType >& OutArray |
Debugging only function to return a normal TArray of actor rep list (for logging, debug UIs, etc) | ReplicationGraph.h | |
virtual FString GetDebugString() |
ReplicationGraph.h | ||
bool GetRequiresPrepareForReplication() |
ReplicationGraph.h | ||
virtual UWorld * GetWorld() |
ReplicationGraph.h | ||
void Initialize
(
const TSharedPtr< FReplicationGraphGlobalData >& InGraphGlobals |
ReplicationGraph.h | ||
virtual void LogNode
(
FReplicationGraphDebugInfo& DebugInfo, |
ReplicationGraph.h | ||
virtual bool NotifyActorRenamed
(
const FRenamedReplicatedActorInfo& Actor, |
If Net.RepGraph.HandleDynamicActorRename is enabled, this is called when a dynamic actor is changing its outer. | ReplicationGraph.h | |
virtual void NotifyAddNetworkActor
(
const FNewReplicatedActorInfo& Actor |
Called when a network actor is spawned or an actor changes replication status | ReplicationGraph.h | |
virtual bool NotifyRemoveNetworkActor
(
const FNewReplicatedActorInfo& Actor, |
Called when a networked actor is being destroyed or no longer wants to replicate | ReplicationGraph.h | |
virtual void NotifyResetAllNetworkActors () |
Called when world changes or when all subclasses should dump any persistent data/lists about replicated actors here. | ReplicationGraph.h | |
virtual void PrepareForReplication() |
Called once per frame prior to replication ONLY on root nodes (nodes created via UReplicationGraph::CreateNode) has RequiresPrepareForReplicationCall=true | ReplicationGraph.h | |
bool RemoveChildNode
(
UReplicationGraphNode* OutChildNode, |
Remove a child node from our list and flag it for destruction. Returns if the node was found or not | ReplicationGraph.h | |
virtual void Serialize
(
FArchive& Ar |
ReplicationGraph.h | ||
virtual void TearDown() |
Mark the node and all its children PendingKill | ReplicationGraph.h | |
void VerifyActorReferences() |
Debugging only function to verify referenced actors (if any) are still valid. | ReplicationGraph.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnCollectActorRepListStats
(
FActorRepListStatCollector& StatsCollector |
Implement this to visit any FActorRepListRefView and FStreamingLevelActorListCollection your node implemented. | ReplicationGraph.h | |
bool VerifyActorReference
(
const FActorRepListType& Actor |
ReplicationGraph.h | ||
virtual void VerifyActorReferencesInternal() |
Verify the validity of any potentially stale actor pointers. Used for debugging. | ReplicationGraph.h |