创建服务器匹配票证
Create a matchmaking ticket as a server. The matchmaking service automatically starts matching the ticket against other matchmaking tickets.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| MatchmakingAttributeInvalid | 2046 |
| MatchmakingEntityInvalid | 2001 |
| MatchmakingMemberProfileInvalid | 2032 |
| MatchmakingNumberOfPlayersInTicketTooLarge | 2044 |
| MatchmakingPlayerAttributesInvalid | 2002 |
| MatchmakingPlayerAttributesTooLarge | 2043 |
| MatchmakingQueueNotFound | 2016 |
| MatchmakingRateLimitExceeded | 2054 |
| MatchmakingTicketMembershipLimitExceeded | 2055 |
| MatchmakingUnauthorized | 2056 |
授权
This API requires an Entity Session Token, available from the Entity GetEntityToken method.
请求体
The server specifies all the members and their attributes.
The server specifies all the members and their attributes.
How long to attempt matching this ticket in seconds.
The users who will be part of this ticket.
The Id of a match queue.
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
相关主题
创建服务器回填票证PFMultiplayer C/C++ API 概述 - PFMatchmaking.h创建匹配票证使用 SmartMatch 匹配XblCreateMatchTicketResponse