UCharacterMovementComponent::VerifyClientTimeStamp

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

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.

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