FInstance

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/Services/NetworkPredictionService_Interpolate.inl

Include

#include "Services/NetworkPredictionService_Interpolate.inl"

Syntax

struct FInstance

Variables

Name Description

Public variable

TConditionalSta...

 

AuxState

Public variable

bool

 

bTwoValidFrames

Public variable

int32

 

FramesIdx

Public variable

int32

 

InstanceIdx

Public variable

int32

 

LastWrittenFrame

Public variable

TNetworkPredict...

 

PhysicsBuffer

If we are doing interpolated physics, we need a place to store it (since the physics engine itself handles saving physics state, we have no NP managed buffers of physics state) Given current implementation, it is tempting to manage all interpolated state within the service, though this goes against the general guidelines of services only storing acceleration/bookkeeping data

Public variable

TConditionalSta...

 

SyncState

Last interpolated values. Stored here so that we can maintain FNetworkPredictionStateView to them.

Public variable

int32

 

TraceID

Constructors

Name Description

Public function

FInstance

(
    int32 InTraceID,
    int32 InInstanceIdx,
    int32 InFramesIdx
)

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