question

dev@megapower.games avatar image
dev@megapower.games asked

Matchmaking Scenarios - Cancelled after Matching?

Hi, was wondering about a scenario that I'm thinking could happen when attempting matchmaking.

Suppose that a user enters a queue, and finds a match (GetMatch returns 'Matched').

- Assuming that I am polling every 6 seconds, that status could have changed anytime between when the user didn't match and when they do, correct?
- So hypothetically, a user could cancel their matchmaking attempt anytime within those six seconds - so what would the status return if a user matches to a queue, but another matched user quits before GetMatch returns the next polled status? Would it return 'Cancel' or stay 'Matched'?

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

·
Citrus Yan avatar image
Citrus Yan answered

GetMatch is only used to check the current status of a matchmaking ticket, it cannot be used to determine the status of it. A set of tickets that are supposed to be matched together are either “matched” or “not matched” at the same time, therefore, the user cannot cancel its ticket when it’s already matched even if he hasn’t call GetMatch yet.

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.