Navigation
Unreal Engine C++ API Reference > Plugins > ReplicationGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UReplicationGraphNode
- UReplicationGraphNode_ActorListFrequencyBuckets
References
Module | ReplicationGraph |
Header | /Engine/Plugins/Runtime/ReplicationGraph/Source/Public/ReplicationGraph.h |
Include | #include "ReplicationGraph.h" |
Syntax
UCLASS&40;&41;
class UReplicationGraphNode_ActorListFrequencyBuckets : public UReplicationGraphNode
Remarks
A Node that contains ReplicateActorLists. This contains multiple buckets for non streaming level actors and will pull from each bucket on alternating frames. It is a way to broadly load balance.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< FActorRepListRefView, TInlineAllocator< 2 > > | NonStreamingCollection | Non streaming actors go in one of these lists |
![]() |
TSharedPtr< FSettings > | Settings | Settings for this specific node. If not set we will fallback to the static/global DefaultSettings |
![]() |
FStreamingLevelActorListCollection | StreamingLevelCollection | A collection of lists that streaming actors go in |
![]() |
int32 | TotalNumNonStreamingActors |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | ||
![]() ![]() |
const FSettings & | GetSettings () |
|
![]() |
void | SetNonStreamingCollectionSize
(
const int32 NewSize |
Overridden from UReplicationGraphNode
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | GatherActorListsForConnection
(
const FConnectionGatherActorListParameters& Params |
|
![]() ![]() ![]() |
void | GetAllActorsInNode_Debugging
(
TArray< FActorRepListType >& OutArray |
Debugging only function to return a normal TArray of actor rep list (for logging, debug UIs, etc) |
![]() ![]() ![]() |
void | LogNode
(
FReplicationGraphDebugInfo& DebugInfo, |
|
![]() ![]() |
void | NotifyAddNetworkActor
(
const FNewReplicatedActorInfo& Actor |
Called when a network actor is spawned or an actor changes replication status |
![]() ![]() |
bool | NotifyRemoveNetworkActor
(
const FNewReplicatedActorInfo& Actor, |
Called when a networked actor is being destroyed or no longer wants to replicate |
![]() ![]() |
void | Called when world changes or when all subclasses should dump any persistent data/lists about replicated actors here. | |
![]() ![]() ![]() |
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 |
![]() ![]() |
void | Verify the validity of any potentially stale actor pointers. Used for debugging. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Handles reading, writing, and reference collecting using FArchive. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FSettings |
Constants
Name | Description |
---|---|
DefaultSettings | Default settings for all nodes. |