A simple example of using this capability would be for players who only want to be matched with people playing in their own country. To do this, each MatchMakingRequest will contain Participant Data and a Custom Query to prevent the requesting player from being put into a Pending Match where there are players from another country. I hope this helps.
Kind regards,
- Steve
Something like this...
{
"@class": ".MatchmakingRequest",
"customQuery": { "country" : { "$eq" : "IE" } },
"matchShortCode": "shortCode",
"participantData": { "country" : "IE" },
"skill": 1
}
ahsan muzaheed
there is another thread with exact same question.
https://support.gamesparks.net/support/discussions/topics/1000080628?page=1
but no exact solution was provided.
so i am reposting the issue again. Expecting an example code from someone.
thanks