Navigation
API > API/Runtime > API/Runtime/Engine
Network data representation on the server.
| Name | FNetworkPredictionData_Server |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Interfaces/NetworkPredictionInterface.h |
| Include Path | #include "Interfaces/NetworkPredictionInterface.h" |
Syntax
class FNetworkPredictionData_Server
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNetworkPredictionData_Server() |
Interfaces/NetworkPredictionInterface.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FNetworkPredictionData_Server() |
Interfaces/NetworkPredictionInterface.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bForcedUpdateDurationExceeded | uint8 | Set to true while bTriggeringForcedUpdates is true and after update duration has been exceeded (when server will stop forcing updates). | Interfaces/NetworkPredictionInterface.h | |
| bLastRequestNeedsForcedUpdates | uint8 | Set to true if last received move request is bad and needs correction | Interfaces/NetworkPredictionInterface.h | |
| bTriggeringForcedUpdates | uint8 | Set to true while requirements for ForcePositionUpdate interval are met, and set back to false after updates are received again. | Interfaces/NetworkPredictionInterface.h | |
| ServerTimeBeginningForcedUpdates | float | Initial ServerTimeStamp that triggered a ForcedPositionUpdate series. | Interfaces/NetworkPredictionInterface.h | |
| ServerTimeLastForcedUpdate | float | ServerTimeStamp last time we called ForcePositionUpdate. | Interfaces/NetworkPredictionInterface.h | |
| ServerTimeStamp | float | Server clock time when last server move was received or movement was forced to be processed | Interfaces/NetworkPredictionInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddStructReferencedObjects
(
FReferenceCollector& Collector |
Can be overridden to allow references to be accounted for during GC | Interfaces/NetworkPredictionInterface.h | |
virtual void ResetForcedUpdateState() |
Interfaces/NetworkPredictionInterface.h | ||
virtual void Serialize
(
FArchive& Archive |
Interfaces/NetworkPredictionInterface.h |