PFMatchmakingTicketConfiguration
定义匹配票证的配置。
语法
struct PFMatchmakingTicketConfiguration {
uint32_t timeoutInSeconds;
const char* queueName;
uint32_t membersToMatchWithCount;
const PFEntityKey* membersToMatchWith;
}
成员
timeoutInSeconds
uint32_t
尝试匹配票证的时间(以秒为单位)。
queueName
const char*
以 null 结尾
匹配队列的名称。
membersToMatchWithCount
uint32_t
其他应加入票证的特定用户数。
membersToMatchWith
const PFEntityKey*
数组大小membersToMatchWithCount
其他应加入票证的特定用户的 PlayFab 实体密钥。
此字段指定预期加入票证的其他特定用户数。 通常,此列表表示一组要一起查找匹配项的好友或团队。 直到所有指定的用户都通过 PFMultiplayerJoinMatchmakingTicketFromId 加入票证,才能找到匹配项。
要求
标头: PFMatchmaking.h