UCharacterMovementComponent::ProcessClientTimeStampForTimeDiscrepancy

Processes client timestamps from ServerMoves, detects and protects against time discrepancy between client-reported times and server time Called by [UCharacterMovementComponent::VerifyClientTimeStamp()](API\Runtime\Engine\GameFramework\UCharacterMovementComponent\VerifyClientTime-) for valid timestamps.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h

Include

#include "GameFramework/CharacterMovementComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp

Syntax

virtual void ProcessClientTimeStampForTimeDiscrepancy
(
    float ClientTimeStamp,
    FNetworkPredictionData_Server_Character & ServerData
)

Remarks

Processes client timestamps from ServerMoves, detects and protects against time discrepancy between client-reported times and server time Called by UCharacterMovementComponent::VerifyClientTimeStamp() for valid timestamps.

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