Skip to main content
检索当前服务器时间

语法

参数

titleEntityHandle PFEntityHandle 使用 PFAuthenticationGetEntityWithSecretKeyAsync 获取的标题实体的 PFEntityHandle。 async XAsyncBlock*
Inout
用于异步操作的 XAsyncBlock。

返回值

类型:HRESULT 此 API 操作的结果代码。

备注

此 API 在 Win32、Linux 和 macOS 上可用。此查询从 PlayFab 中的其中一个服务器检索当前时间。请注意,由于服务器之间的时钟漂移,可能存在最多 5 秒的差异。异步任务完成后,调用 PFTitleDataManagementServerGetTimeGetResult 获取结果。

要求

头文件: PFTitleDataManagement.h

另请参阅

PFTitleDataManagement 成员
最后修改于 2026年8月13日