Navigation
API > API/Plugins > API/Plugins/ReplicationGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UReplicationGraphNode
- UReplicationGraphNode_ActorList
- UReplicationGraphNode_AlwaysRelevant_ForConnection
References
| Module | ReplicationGraph |
| Header | /Engine/Plugins/Runtime/ReplicationGraph/Source/Public/ReplicationGraph.h |
| Include | #include "ReplicationGraph.h" |
Syntax
UCLASS&40;&41;
class UReplicationGraphNode_AlwaysRelevant_ForConnection : public UReplicationGraphNode_ActorList
Remarks
Adds actors that are always relevant for a connection. This engine version just adds the PlayerController and ViewTarget (usually the pawn)
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< TObjectKey< UNetConnection >, FCachedAlwaysRelevantActorInfo > | PastRelevantActorMap | ||
| FActorRepListRefView | ReplicationActorList | Rebuilt-every-frame list based on UNetConnection state |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddCachedRelevantActor
(
const FConnectionGatherActorListParameters& Params, |
||
| void | CleanupCachedRelevantActors
(
TMap< TObjectKey< KeyType >, ValueType >& ActorMap |
||
| void | UpdateCachedRelevantActor
(
const FConnectionGatherActorListParameters& Params, |
Overridden from UReplicationGraphNode
| Type | Name | Description | |
|---|---|---|---|
| void | GatherActorListsForConnection
(
const FConnectionGatherActorListParameters& Params |
||
| void | OnCollectActorRepListStats
(
FActorRepListStatCollector& StatsCollector |
Implement this to visit any FActorRepListRefView and FStreamingLevelActorListCollection your node implemented. | |
| void | TearDown () |
Mark the node and all its children PendingKill |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| PRAGMA_DISABLE_DEPRECATION_WARNINGSTArray< FAlwaysRelevantActorInfo > | PastRelevantActors | Please use PastRelevantActorMap instead |