question

paul-tanaskov avatar image
paul-tanaskov asked

Create Server Matchmaking Ticket what for?

Could you, please, explain to me the difference between

CreateServerMatchmakingTicket (https://docs.microsoft.com/en-us/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket?view=playfab-rest)

and just CreateMatchmakingTicket (https://docs.microsoft.com/en-us/rest/api/playfab/multiplayer/matchmaking/creatematchmakingticket?view=playfab-rest)

in matchmaking API?

"Create a matchmaking ticket as a server. The matchmaking service automatically starts matching the ticket against other matchmaking tickets." is not clear for me.

What does it mean "as a server" in the context of matchmaking?

What is the use case for the server one?

Matchmaking
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

>> What does it mean "as a server" in the context of matchmaking?

It means:

    1. The entity of this API’s caller must be title type.

      2. This API can create tickets for clients as a server. In other words, the player that contained in the Members field of API CreateServerMatchmakingTicket should not create the MatchMaking tickets by themselves. This player should poll the API GetMatchmakingTicket using the ticketId that created by the server, or let the server poll the API GetMatchmakingTicket, only return Match Info(MatchId, etc.) to clients.

      >> What is the use case for the server one?

      When you have a dedicated server, and want the matchmaking requests are sent and processed on the server, you can use it. Such API is used to help implement custom matchmaking servers.

      10 |1200

      Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

      Write an Answer

      Hint: Notify or tag a user in this post by typing @username.

      Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.