question

Bijian Wu avatar image
Bijian Wu asked

CreateMatchmakingTicket​ GiveUpAfterSeconds,

I am using PlayFab server and PlayFab Matchmaking,

and was wondering when creating the matchmaking tick with call PlayFabMultiplayerAPI.CreateMatchmakingTicket, there is this GiveUpAfterSeconds, I wonder when this GiveUpAfterSeconds met, is there any callback being called?

so that I can use that callback to inform player time is up for matchmaking.

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

·
Rick Chen avatar image
Rick Chen answered

The GiveUpAfterSeconds in CreateMatchmakingTicket API defines the length of time that queue attempts matching this ticket in seconds. Custom callback cannot be defined when GiveUpAfterSeconds is met. However, when GiveUpAfterSeconds is reached, the ticket will change to “Canceled” status. Please refer to: Matchmaking quickstart. You could poll GetMatchmakingTicket API and check the ticket status, then inform the player when the status becomes “Canceled”.

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.