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

TSet< TWeakObjectPtr< UNetConnection > >

 

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

float

 

LastNetUpdateTime

Last time this actor was updated for replication via NextUpdateTime

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< TWeakObjectPtr< UNetConnection > >

 

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< AActor >

 

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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback