private static SendListRequest ( string section, string action, |
||
section | string | |
action | string | |
postdata | ||
callback | Action |
|
return | void |
private static void SendListRequest(string section, string action, Hashtable postdata, Action<List<PlayerScore>, int, PResponse> callback)
{
PRequest.GetResponse (section, action, postdata, response => {
var data = response.json;
List<PlayerScore> scores;
int numscores;
ProcessScores (response, data, out scores, out numscores);
callback (scores, numscores, response);
});
}