FNetworkObjectInfo

Struct to store an actor pointer and any internal metadata for that actor used internally by a [UNetDriver](API\Runtime\Engine\Engine\UNetDriver).

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/NetworkObjectList.h

Include

#include "Engine/NetworkObjectList.h"

Syntax

struct FNetworkObjectInfo

Remarks

Struct to store an actor pointer and any internal metadata for that actor used internally by a UNetDriver.

Variables

Name Description

Public variable

AActor *

 

Actor

Pointer to the replicated actor.

Public variable

uint8: 1

 

bDirtyForReplay

Should this object be considered for replay checkpoint writes

Public variable

uint8: 1

 

bPendingNetUpdate

Is this object still pending a full net update due to clients that weren't able to replicate the actor at the time of LastNetUpdateTime

Public variable

uint8: 1

 

bSwapRolesOnReplicate

Should channel swap roles while calling ReplicateActor

Public variable

TSet< TWeakObje...

 

DormantConnections

List of connections that this actor is dormant on

Public variable

uint32

 

ForceRelevantFrame

Force this object to be considered relevant for at least one update

Public variable

double

 

LastNetReplicateTime

Last absolute time in seconds since actor actually sent something during replication

Public variable

double

 

LastNetUpdateTimestamp

Public variable

double

 

NextUpdateTime

Next time to consider replicating the actor.

Public variable

float

 

OptimalNetUpdateDelta

Optimal delta between replication updates based on how frequently actor properties are actually changing

Public variable

TSet< TWeakObje...

 

RecentlyDormantConnections

A list of connections that this actor has recently been dormant on, but the actor doesn't have a channel open yet.

Public variable

TWeakObjectPtr<...

 

WeakActor

WeakPtr to actor.

Constructors

Name Description

Public function

FNetworkObjectInfo()

Public function

FNetworkObjectInfo

(
    AActor* InActor
)

Functions

Name Description

Public function Const

void

 

CountBytes

(
    FArchive& Ar
)

Deprecated Variables

Name Description

Public variable

uint8: 1

 

bForceRelevantNextUpdate

Use the ForceRelevantFrame variable since this variable is not set anymore.

Public variable

float

 

LastNetUpdateTime

Please use LastNetUpdateTimestamp instead.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss