After setting up a channel you can put a matchmaking request to a specific channel.
Matchmaking request can only be done after you form a party and only the party leader can do the request. The request is done through lobby websocket connection. Matchmaking service will calculate party attributes and find the best possible opponent for the requesting party.
Matchmaking requests are done through lobby websocket connection, below are commands that available to access the matchmaking service.
|Command||Request Payload||Async Response Payload|
|Start matchmaking||type: startMatchmakingRequest\n |
|Cancel matchmaking||type: cancelMatchmakingRequest\n |
|Matchmaking notification||type: matchmakingNotif\n|
|type||command type, should be exactly the same with the example|
|id||random unique id generated by the clients|
|gameMode||channel name created on the admin side|
Request a matchmaking
Matchmaking requests are done through lobby websocket connection. The party leader start the matchmaking by sending start
matchmaking request. All party members will be notified with status
start. After the service found the match, all party
members will be notified with status
Cancel a matchmaking
After starting matchmaking, party leader can cancel it by sending cancel matchmaking request. If success, all party member
will be notified wih status