Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h |
Include |
#include "SocketSubsystem.h" |
Source |
/Engine/Source/Runtime/Sockets/Private/SocketSubsystem.cpp |
virtual double TranslatePacketTimestamp
(
const FPacketTimestamp & Timestamp,
ETimestampTranslation Translation
)
Converts a platform packet timestamp, into a local timestamp, or into a time delta etc.
Returns the translated timestamp or delta
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) |