Navigation
API > API/Plugins > API/Plugins/ReplicationGraph
This struct will passed to all nodes in the repgraph and collect information on every ActorRepList
| Name | FActorRepListStatCollector |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/ReplicationGraph/Source/Public/ReplicationGraphTypes.h |
| Include Path | #include "ReplicationGraphTypes.h" |
Syntax
struct FActorRepListStatCollector
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FActorRepListStatCollector() |
ReplicationGraphTypes.h |
Structs
| Name | Remarks |
|---|---|
| FRepListStats |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PerClassStats | TMap< FName, FRepListStats > | ReplicationGraphTypes.h | ||
| PerStreamingLevelStats | TMap< FName, FRepListStats > | ReplicationGraphTypes.h | ||
| VisitedNodes | TMap< const UObject *, bool > | Keeps track if a node was already collected since the same node can be shared across connections and visited multiple times | ReplicationGraphTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FlagNodeVisited
(
const UReplicationGraphNode* NodeToVisit |
Prevents the node from being visited twice in case it's shared multiple times | ReplicationGraphTypes.h | |
void PrintCollectedData
(
FOutputDevice& Ar |
Print the statistics previously collected | ReplicationGraphTypes.h | |
void VisitExplicitStreamingLevelList
(
FName ListOwnerName, |
Collect stats for FActorRepLists not held by a node | ReplicationGraphTypes.h | |
void VisitRepList
(
const UReplicationGraphNode* NodeToVisit, |
Collect stats on a single FActorRepList | ReplicationGraphTypes.h | |
void VisitStreamingLevelCollection
(
const UReplicationGraphNode* NodeToVisit, |
Collect stats on a collection of FActorRepLists | ReplicationGraphTypes.h |