GPFindPlayersResponseArg

GameSpy SDK

GPFindPlayersResponseArg

The arg parameter passed to a callback generated by a call to gpFindPlayers is of this type.

typedef struct 
{
GPResult result;
int productID;
int numMatches;
GPFindPlayerMatch * matches;
} GPFindPlayersResponseArg;

Members

result
The result of the find players operation; GP_NO_ERROR if successful.
productID
This is the same product ID that was passed as a parameter to gpFindPlayers.
numMatches
The number of matches found (stored in the matches field).
matches
The search matches.