Skip to main content
Version: 5.7.0

FindCompleteMatches

Returns all matches that are in a COMPLETE state for which the player is involved.

ServiceOperation
asyncMatchFIND_MATCHES_COMPLETED

Usage

http://localhost:3000
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.AsyncMatchService.FindCompleteMatches(successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": {
"results": [
{
"gameId": "109999",
"ownerId": "9ad4f990-5466-4d00-a334-de834e1ac4ec",
"matchId": "877dd25d-ea21-4857-ba2a-2134d0f5ace2",
"version": 2,
"players": [
{
"playerId": "9ad4f990-5466-4d00-a334-de834e1ac4ec",
"playerName": "",
"pictureUrl": null,
"summaryFriendData": null
},
{
"playerId": "963a2079-6e7a-48de-a4f2-8ab16c811975",
"playerName": "",
"pictureUrl": null,
"summaryFriendData": null
}
],
"status": {
"status": "COMPLETE",
"currentPlayer": "963a2079-6e7a-48de-a4f2-8ab16c811975"
},
"summary": null,
"createdAt": 1442586358023,
"updatedAt": 1442586374787
}
]
}
}