语法
参数
ticket PFMatchmakingTicketHandle
匹配票证的句柄。
customContext void**output, may return nullptr 输出自定义上下文。
返回值
类型:HRESULT 如果成功检索到自定义上下文,则为S_OK;否则为错误代码。可以通过 PFMultiplayerGetErrorMessage() 获取错误代码的人类可读形式。
备注
如果尚未设置自定义上下文,customContext 所指向的值将被设置为 nullptr。
要求
头文件: PFMatchmaking.h另请参阅
PFMatchmaking 成员PFMatchmakingTicketSetCustomContext
