예제 #1
0
 protected void FetchHtml()
 {
     UseHtml = true;
     if (custom)
     {
         htmlDoc = GameList.FetchHtmlGameList(customUrl);
     }
     else
     {
         htmlDoc = GameList.FetchHtmlGameList(SteamId);
     }
 }
예제 #2
0
 private bool UpdateGameList_Web_Html(Profile profile)
 {
     try {
         string doc = GameList.FetchHtmlGameList(profile.SteamID64);
         int    newApps;
         profile.GameData.IntegrateHtmlGameList(doc, false, profile.IgnoreList, profile.IncludeUnknown ? AppTypes.InclusionUnknown : AppTypes.InclusionNormal, out newApps);
         return(true);
     } catch (Exception e) {
         Program.Logger.WriteException("Automatic mode: Error on HTML web profile update.", e);
         return(false);
     }
 }
예제 #3
0
 private static bool UpdateGameList_Web_Html(Profile profile)
 {
     try
     {
         string doc = GameList.FetchHtmlGameList(profile.SteamID64);
         profile.GameData.IntegrateHtmlGameList(doc, false, profile.IgnoreList, out int newApps);
         return(true);
     }
     catch (Exception e)
     {
         Logger.Exception("Automatic mode: Error on HTML web profile update.", e);
         return(false);
     }
 }
예제 #4
0
 protected void FetchHtml()
 {
     UseHtml = true;
     htmlDoc = custom ? GameList.FetchHtmlGameList(customUrl) : GameList.FetchHtmlGameList(SteamId);
 }
예제 #5
0
 protected void FetchHtml()
 {
     UseHtml  = true;
     _htmlDoc = _custom ? GameList.FetchHtmlGameList(_customUrl) : GameList.FetchHtmlGameList(_steamId);
 }