跳转到主要内容
删除玩家的游戏特定自定义属性

语法

参数

titleEntityHandle   PFEntityHandle 使用 PFAuthenticationGetEntityWithSecretKeyAsync 获取的游戏实体的 PFEntityHandle。 request   PFPlayerDataManagementServerDeletePlayerCustomPropertiesRequest* 已填充的请求对象。 async   XAsyncBlock*
Inout
用于异步操作的 XAsyncBlock。

返回值

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

备注

此 API 可在 Windows 上使用。删除指定玩家的自定义属性。提供的属性名称列表不得为空。另请参阅 ServerGetPlayerCustomPropertyAsync、ServerListPlayerCustomPropertiesAsync、ServerUpdatePlayerCustomPropertiesAsync。异步任务完成后,调用 PFPlayerDataManagementServerDeletePlayerCustomPropertiesGetResultSize 和 PFPlayerDataManagementServerDeletePlayerCustomPropertiesGetResult 获取结果。

要求

头文件: PFPlayerDataManagement.h

另请参阅

PFPlayerDataManagement 成员
最后修改于 2026年10月6日