ISocketSubsystem::TranslatePacketTimestamp

Converts a platform packet timestamp, into a local timestamp, or into a time delta etc.

Windows
MacOS
Linux

References

Module

Sockets

Header

/Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h

Include

#include "SocketSubsystem.h"

Source

/Engine/Source/Runtime/Sockets/Private/SocketSubsystem.cpp

Syntax

virtual double TranslatePacketTimestamp
(
    const FPacketTimestamp & Timestamp,
    ETimestampTranslation Translation
)

Remarks

Converts a platform packet timestamp, into a local timestamp, or into a time delta etc.

Returns

Returns the translated timestamp or delta

Parameters

Parameter

Description

Timestamp

The timestamp to translate

Translation

The type of translation to perform on the timestamp (time delta is usually faster than local timestamp)

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