Navigation
API > API/Plugins > API/Plugins/ReplicationGraph
Adds actors that are always relevant for a connection. This engine version just adds the PlayerController and ViewTarget (usually the pawn)
| Name | UReplicationGraphNode_AlwaysRelevant_ForConnection |
| Type | class |
| Header File | /Engine/Plugins/Runtime/ReplicationGraph/Source/Public/ReplicationGraph.h |
| Include Path | #include "ReplicationGraph.h" |
Syntax
UCLASS (MinimalAPI)
class UReplicationGraphNode_AlwaysRelevant_ForConnection : public UReplicationGraphNode_ActorList
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UReplicationGraphNode → UReplicationGraphNode_ActorList → UReplicationGraphNode_AlwaysRelevant_ForConnection
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PastRelevantActors | PRAGMA_DISABLE_DEPRECATION_WARNINGS TArray< FAlwaysRelevantActorInfo > | List of previously (or currently if nothing changed last tick) focused actor data per connection | ReplicationGraph.h | |
| ReplicationActorList | FActorRepListRefView | Rebuilt-every-frame list based on UNetConnection state | ReplicationGraph.h |
Functions
Public
Overridden from UReplicationGraphNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GatherActorListsForConnection
(
const FConnectionGatherActorListParameters& Params |
ReplicationGraph.h | ||
virtual void TearDown() |
Mark the node and all its children PendingKill | ReplicationGraph.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddCachedRelevantActor
(
const FConnectionGatherActorListParameters& Params, |
ReplicationGraph.h | ||
void UpdateCachedRelevantActor
(
const FConnectionGatherActorListParameters& Params, |
ReplicationGraph.h |
Overridden from UReplicationGraphNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnCollectActorRepListStats
(
FActorRepListStatCollector& StatsCollector |
Implement this to visit any FActorRepListRefView and FStreamingLevelActorListCollection your node implemented. | ReplicationGraph.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static PRAGMA_ENABLE_DEPRECATION_WARNINGS void CleanupCachedRelevantActors
(
TMap< TObjectKey< KeyType >, ValueType >& ActorMap |
ReplicationGraph.h |