Playtomic.Leaderboards.SendListRequest C# (CSharp) Method

SendListRequest() private static method

private static SendListRequest ( string section, string action, Hashtable postdata, Action callback ) : void
section string
action string
postdata System.Collections.Hashtable
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);
            });
        }