| FNetworkPredictionData_Server | ||
| FNoncopyable
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
Include |
#include "GameFramework/CharacterMovementComponent.h" |
class FNetworkPredictionData_Server_Character :
public FNetworkPredictionData_Server,
protected FNoncopyable
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bForceClientUpdate |
Force client update on the next ServerMoveHandleClientError() call. |
|
bResolvingTimeDiscrepancy |
True if currently in the process of resolving time discrepancy |
|
|
float |
CurrentClientTimeStamp |
Timestamp from the client of most recent ServerMove() processed for this player. |
|
float |
LastReceivedClientTimeStamp |
Timestamp from the client of most recent ServerMove() received for this player, including rejected requests. |
|
float |
LastUpdateTime |
Last time server updated client with a move correction |
|
float |
LifetimeRawTimeDiscrepancy |
Accumulated timestamp difference between autonomous client and server for tracking long-term trends |
|
float |
MaxMoveDeltaTime |
Max delta time for a given move, in real seconds Based off of AGameNetworkManager::MaxMoveDeltaTime config setting, but can be modified per actor if needed. |
|
PendingAdjustment |
||
|
double |
ServerAccumulatedClientTimeStamp |
Timestamp of total elapsed client time. |
|
float |
ServerTimeStampLastServerMove |
Server clock time when last server move was received from client (does NOT include forced moves on server) |
|
float |
TimeDiscrepancy |
Current time discrepancy between client-reported moves and time passed on the server. |
|
float |
TimeDiscrepancyAccumulatedClientDeltasSinceLastServerTick |
When bResolvingTimeDiscrepancy is true, we are in time discrepancy resolution mode where we bound move deltas by Server Deltas. |
|
float |
TimeDiscrepancyResolutionMoveDeltaOverride |
When bResolvingTimeDiscrepancy is true, we are in time discrepancy resolution mode whose output is this value (to be used as the DeltaTime for current ServerMove) |
|
float |
WorldCreationTime |
Creation time of this prediction data, used to contextualize LifetimeRawTimeDiscrepancy |
Name | Description | |
---|---|---|
|
FNetworkPredictionData_Server_Character ( |
Name | Description | |
---|---|---|
|
~FNetworkPredictionData_Server_Character() |
Name | Description | ||
---|---|---|---|
|
float |
GetBaseServerMoveDeltaTime ( |
Returns base time delta to use for a ServerMove, default calculation (no time discrepancy resolution) |
|
float |
GetServerMoveDeltaTime ( |
Returns time delta to use for the current ServerMove(). |
Name | Description | ||
---|---|---|---|
|
float |
MaxResponseTime |
MaxResponseTime has been renamed to MaxMoveDeltaTime for clarity in what it does and will be removed, use MaxMoveDeltaTime instead. |