UCharacterMovementComponent::VerifyClientTimeStamp

On the Server, verify that an incoming client TimeStamp is valid and has not yet expired.

Choose your operating system:

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 bool VerifyClientTimeStamp
(
    float TimeStamp,
    FNetworkPredictionData_Server_Character & ServerData
)

Remarks

On the Server, verify that an incoming client TimeStamp is valid and has not yet expired. It will also handle TimeStamp resets if it detects a gap larger than MinTimeBetweenTimeStampResets / 2.f !! ServerData.CurrentClientTimeStamp can be reset !!

Returns

true if TimeStamp is valid, or false if it has expired.