コード例 #1
0
 // load Packlist from server
 public void LoadAvailablePacks(string sPlayerName, string sMCUID)
 {
     try
     {
         string sPackListJson = Http.GET(_sPackServer + @"/packs.php?player=" + sPlayerName + @"&uid=" + sMCUID);
         PacksAvailable = MCAvailablePacks.FromJson(sPackListJson);
     }
     catch (WebException ex)
     {
         throw ex;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }