XGameUiShowPlayerProfileCardAsync 回调的签名。
语法
void CALLBACK XGameUiShowPlayerProfileCardUiCallback(
XGameUiCallbackHandle callbackHandle,
XTaskQueueHandle queue,
XUserHandle requestingUser,
uint64_t targetPlayer,
void* context
);
参数
callbackHandle
类型:XGameUiCallbackHandle
此回调调用的句柄。
queue
类型:XTaskQueueHandle
执行 UI 回调的任务队列的句柄。
requestingUser
类型:XUserHandle
调用 UI 的用户的句柄。
targetPlayer
类型:uint64_t
正在显示其配置文件卡的玩家的用户 ID。
context
类型:void*
指向开发提供的上下文的指针。
要求
页眉: XGameUi.h
支持的平台: 仅在 Steam Deck 上受支持