UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FNetworkPredictionData_Server Class Reference

#include <NetworkPredictionInterface.h>

+ Inheritance diagram for FNetworkPredictionData_Server:

Public Member Functions

 FNetworkPredictionData_Server ()
 
virtual ~FNetworkPredictionData_Server ()
 
virtual void ResetForcedUpdateState ()
 
virtual void AddStructReferencedObjects (FReferenceCollector &Collector) const
 
virtual void Serialize (FArchive &Archive)
 

Public Attributes

float ServerTimeStamp
 
float ServerTimeBeginningForcedUpdates
 
float ServerTimeLastForcedUpdate
 
uint8 bTriggeringForcedUpdates: 1
 
uint8 bForcedUpdateDurationExceeded: 1
 
uint8 bLastRequestNeedsForcedUpdates: 1
 

Constructor & Destructor Documentation

◆ FNetworkPredictionData_Server()

FNetworkPredictionData_Server::FNetworkPredictionData_Server ( )
inline

◆ ~FNetworkPredictionData_Server()

virtual FNetworkPredictionData_Server::~FNetworkPredictionData_Server ( )
inlinevirtual

Member Function Documentation

◆ AddStructReferencedObjects()

virtual void FNetworkPredictionData_Server::AddStructReferencedObjects ( FReferenceCollector Collector) const
inlinevirtual

Can be overridden to allow references to be accounted for during GC

◆ ResetForcedUpdateState()

virtual void FNetworkPredictionData_Server::ResetForcedUpdateState ( )
inlinevirtual

◆ Serialize()

virtual void FNetworkPredictionData_Server::Serialize ( FArchive Archive)
inlinevirtual

Member Data Documentation

◆ bForcedUpdateDurationExceeded

uint8 FNetworkPredictionData_Server::bForcedUpdateDurationExceeded

Set to true while bTriggeringForcedUpdates is true and after update duration has been exceeded (when server will stop forcing updates).

◆ bLastRequestNeedsForcedUpdates

uint8 FNetworkPredictionData_Server::bLastRequestNeedsForcedUpdates

Set to true if last received move request is bad and needs correction

◆ bTriggeringForcedUpdates

uint8 FNetworkPredictionData_Server::bTriggeringForcedUpdates

Set to true while requirements for ForcePositionUpdate interval are met, and set back to false after updates are received again.

◆ ServerTimeBeginningForcedUpdates

float FNetworkPredictionData_Server::ServerTimeBeginningForcedUpdates

Initial ServerTimeStamp that triggered a ForcedPositionUpdate series. Reset to 0 after no longer exceeding update interval.

◆ ServerTimeLastForcedUpdate

float FNetworkPredictionData_Server::ServerTimeLastForcedUpdate

ServerTimeStamp last time we called ForcePositionUpdate.

◆ ServerTimeStamp

float FNetworkPredictionData_Server::ServerTimeStamp

Server clock time when last server move was received or movement was forced to be processed


The documentation for this class was generated from the following file: