UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PosixShimDefault.cpp File Reference
#include "PosixShim.h"
#include <time.h>
#include <atomic>

Functions

void SetPosixShimUTCServerTime (const FDateTime UTCServerTime)
 
time_t UE_epoch_time_offset ()
 

Function Documentation

◆ SetPosixShimUTCServerTime()

void SetPosixShimUTCServerTime ( const FDateTime  UTCServerTime)

Sets the current UTC server time. This value should be set from a trusted-to-be-roughly-correct source, and should be updated from time to time.

Parameters
UTCServerTimeThe new server time

◆ UE_epoch_time_offset()

time_t UE_epoch_time_offset ( )