question

Wanhan dredwan avatar image
Wanhan dredwan asked

CreateMatchmakingTicket vs CreateServerMatchmakingTicket

May I ask what is the difference between the two APIs above?

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

The CreateServerMatchMakingTicket is designed for the server, and the CreateMatchMaking is designed for players. The caller of the CreateMatchMaking is required to be the “title_player_account” entity, and the caller of the CreateServerMatchMakingTicket should be the “title” entity. So, if you make your custom matchmaking server, you can use the API CreateServerMatchMakingTicket on the serverto host the creation of matchmaking tickets. Please check the API reference to learn more about how to use these two APIs.

https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/creatematchmakingticket

https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket

1 comment
10 |1200

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

duartedd avatar image duartedd commented ·

can we use the match api for the server matchmaker on cloudscript to do this functionality? or has it been purposefully left out due to rollover to azure?

0 Likes 0 ·

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.