Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem
Interface for querying server time from an online service
| Name | IOnlineTime |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineTimeInterface.h |
| Include Path | #include "Interfaces/OnlineTimeInterface.h" |
Syntax
class IOnlineTime
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
IOnlineTime() |
Interfaces/OnlineTimeInterface.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IOnlineTime() |
Interfaces/OnlineTimeInterface.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnQueryServerUtcTimeCompleteDelegates | FOnQueryServerUtcTimeComplete | Called when the time request from the server is complete | Interfaces/OnlineTimeInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FDelegateHandle AddOnQueryServerUtcTimeCompleteDelegate_Handle
(
const FOnQueryServerUtcTimeCompleteDelegate& Delegate |
Interfaces/OnlineTimeInterface.h | ||
virtual void ClearOnQueryServerUtcTimeCompleteDelegate_Handle
(
FDelegateHandle& Handle |
Interfaces/OnlineTimeInterface.h | ||
virtual void ClearOnQueryServerUtcTimeCompleteDelegates
(
FDelegateUserObject Object |
Interfaces/OnlineTimeInterface.h | ||
FString GetLastServerUtcTime() |
Retrieve cached timestamp from last server time query | Interfaces/OnlineTimeInterface.h | |
bool QueryServerUtcTime() |
Send request for current UTC time from the server | Interfaces/OnlineTimeInterface.h | |
| Interfaces/OnlineTimeInterface.h |