FFrame

Store received frames locally on the service.

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 FFrame

Remarks

Store received frames locally on the service. This is currently the only service that benefits from doing this, so implementing it on the service itself.

It would be nice if we could configure the NetRecv to use an array of TClientRecvData. This would also let us handle 'multiple NetRecvs in a frame' better here. All other services just care about 'latest received' state interpolating would benefit from storing all received frames. But this adds complications for just this one case. TClientRecvData also stores more than we would need to here - the InputCmd and ServerFrame aren't relevant for independent interpolation. This just seems simpler.

Variables

Name Description

Public variable

TConditionalSta...

 

AuxState

Public variable

int32

 

SimTimeMS

Public variable

TConditionalSta...

 

SyncState

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