public List <string[]> GetItems(string steamID, string appID, string[] contexIds = null)
    {
        string          str;
        string          str2;
        List <string[]> whereINeedPut = new List <string[]>();

        if (contexIds == null)
        {
            str  = "profiles/" + steamID + "/inventory/json/" + appID + "/2/?trading=1&market=1";
            str2 = SteamHttp.SteamWebRequest(this.cookiesContainer, str, null, "");
            try
            {
                whereINeedPut = new inventoryjson().Parse(str2, "2");
            }
            catch
            {
                return(null);
            }
        }
        else
        {
            for (int i = 0; i < contexIds.Length; i++)
            {
                str  = "profiles/" + steamID + "/inventory/json/" + appID + "/" + contexIds[i] + "/?trading=1&market=1";
                str2 = SteamHttp.SteamWebRequest(this.cookiesContainer, str, null, "");
                try
                {
                    List <string[]> willinputed = new inventoryjson().Parse(str2, contexIds[i]);
                    this.addInList(ref whereINeedPut, willinputed);
                }
                catch
                {
                }
            }
        }
        return((whereINeedPut.Count > 0) ? whereINeedPut : null);
    }
 public List<string[]> GetItems(string steamID, string appID, string[] contexIds = null)
 {
     string str;
     string str2;
     List<string[]> whereINeedPut = new List<string[]>();
     if (contexIds == null)
     {
         str = "profiles/" + steamID + "/inventory/json/" + appID + "/2/?trading=1&market=1";
         str2 = SteamHttp.SteamWebRequest(this.cookiesContainer, str, null, "");
         try
         {
             whereINeedPut = new inventoryjson().Parse(str2, "2");
         }
         catch
         {
             return null;
         }
     }
     else
     {
         for (int i = 0; i < contexIds.Length; i++)
         {
             str = "profiles/" + steamID + "/inventory/json/" + appID + "/" + contexIds[i] + "/?trading=1&market=1";
             str2 = SteamHttp.SteamWebRequest(this.cookiesContainer, str, null, "");
             try
             {
                 List<string[]> willinputed = new inventoryjson().Parse(str2, contexIds[i]);
                 this.addInList(ref whereINeedPut, willinputed);
             }
             catch
             {
             }
         }
     }
     return ((whereINeedPut.Count > 0) ? whereINeedPut : null);
 }
 public List<string[]> GetItems(string steamID, string appID, string[] contexIds = null)
 {
     List<string[]> whereINeedPut = new List<string[]>();
     if (contexIds == null)
     {
       string input = SteamHttp.SteamWebRequest(this.cookiesContainer, "profiles/" + steamID + "/inventory/json/" + appID + "/2/?trading=1&market=1", (string) null, "");
       try
       {
     whereINeedPut = new inventoryjson().Parse(input, "2");
       }
       catch
       {
     return (List<string[]>) null;
       }
     }
     else
     {
       for (int index = 0; index < contexIds.Length; ++index)
       {
     string input = SteamHttp.SteamWebRequest(this.cookiesContainer, "profiles/" + steamID + "/inventory/json/" + appID + "/" + contexIds[index] + "/?trading=1&market=1", (string) null, "");
     try
     {
       List<string[]> willinputed = new inventoryjson().Parse(input, contexIds[index]);
       this.addInList(ref whereINeedPut, willinputed);
     }
     catch
     {
     }
       }
     }
     return whereINeedPut.Count > 0 ? whereINeedPut : (List<string[]>) null;
 }