FNetworkPredictionStateView

Generic view into a managed instance's state.

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionStateView.h

Include

#include "NetworkPredictionStateView.h"

Syntax

struct FNetworkPredictionStateView

Remarks

Generic view into a managed instance's state.

Variables

Name Description

Public variable

bool

 

bTickInProgress

::SimulationTick is in progress

Public variable

FNetSimCueDispa...

 

CueDispatcher

CueDispatcher is exposed so that game code can invoke OOB cues Future versions may move this / make Invoking OOB cues go through a different API

Public variable

void *

 

PendingAuxState

Public variable

int32

 

PendingFrame

Simulation PendingFrame number.

Public variable

void *

 

PendingInputCmd

Pending states: these are what will be used as input into the next SimulationTick call, if we are running a local tick.

Public variable

void *

 

PendingSyncState

Public variable

void *

 

PresentationAuxState

Public variable

void *

 

PresentationSyncState

Presentation states: the latest locally smoothed/interpolated states that will not be fed back into the sim (these will be null in cases where there is no smoothing/interpolation)

Public variable

int32

 

SimTimeMS

Latest Simulation time.

Functions

Name Description

Public function

void

 

ClearPresentationView()

Public function

void

 

UpdatePresentationView

(
    void* Sync,
    void* Aux
)

Public function

void

 

UpdateView

(
    int32 Frame,
    int32 InSimTimMS,
    void* Input,
    void* Sync,
    void* Aux
)

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