XGameUiSetPlayerPickerUiResponse

设置 XGameUiShowPlayerPickerResultCount 和 XGameUiShowPlayerPickerResult 返回的结果。

语法

STDAPI  XGameUiSetPlayerPickerUiResponse(
     XGameUiCallbackHandle callbackHandle,
     uint32_t playerCount,
     const uint64_t* players
) noexcept;

参数

callbackHandle
类型:XGameUiCallbackHandle

此回调调用的句柄。

playerCount
类型:uint32_t

XGameUiShowPlayerPickerResultCount 为 XGameUiShowPlayerPickerAsync 的相应调用返回的玩家 ID 数。

球员
类型:const uint64_t*

由 XGameUiShowPlayerPickerResult 返回的玩家 ID 数组(长度 playerCount为 )。

返回值

类型:STDAPI

要求

页眉: XGameUi.h

支持的平台: 仅在 Steam Deck 上受支持

另请参阅

XGameUI
XGameUiShowPlayerPickerAsync