Playtomic.PlayerLevels.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<PlayerLevel>, int, PResponse> callback)
        {
            PRequest.GetResponse (section, action, postdata, response => {
                var data = response.json;
                List<PlayerLevel> levels;
                int numlevels;
                ProcessLevels (response, data, out levels, out numlevels);
                callback (levels, numlevels, response);
            });
        }