Exemplo n.º 1
0
 protected void FetchXml()
 {
     UseHtml = false;
     if (custom)
     {
         doc = GameList.FetchXmlGameList(customUrl);
     }
     else
     {
         doc = GameList.FetchXmlGameList(SteamId);
     }
 }
Exemplo n.º 2
0
 private bool UpdateGameList_Web_Xml(Profile profile)
 {
     try {
         XmlDocument doc = GameList.FetchXmlGameList(profile.SteamID64);
         int         newApps;
         profile.GameData.IntegrateXmlGameList(doc, false, profile.IgnoreList, profile.IncludeUnknown ? AppTypes.InclusionUnknown : AppTypes.InclusionNormal, out newApps);
         return(true);
     } catch (Exception e) {
         Program.Logger.WriteException("Automatic mode: Error on XML web profile update.", e);
         return(false);
     }
 }
Exemplo n.º 3
0
 private static bool UpdateGameList_Web_Xml(Profile profile)
 {
     try
     {
         XmlDocument doc = GameList.FetchXmlGameList(profile.SteamID64);
         profile.GameData.IntegrateXmlGameList(doc, false, profile.IgnoreList, out int _);
         return(true);
     }
     catch (Exception e)
     {
         Logger.Exception("Automatic mode: Error on XML web profile update.", e);
         return(false);
     }
 }
Exemplo n.º 4
0
 protected void FetchXml()
 {
     UseHtml = false;
     doc     = custom ? GameList.FetchXmlGameList(customUrl) : GameList.FetchXmlGameList(SteamId);
 }
Exemplo n.º 5
0
 protected void FetchXml()
 {
     UseHtml   = false;
     _document = _custom ? GameList.FetchXmlGameList(_customUrl) : GameList.FetchXmlGameList(_steamId);
 }