protected void FetchXml() { UseHtml = false; if (custom) { doc = GameList.FetchXmlGameList(customUrl); } else { doc = GameList.FetchXmlGameList(SteamId); } }
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); } }
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); } }
protected void FetchXml() { UseHtml = false; doc = custom ? GameList.FetchXmlGameList(customUrl) : GameList.FetchXmlGameList(SteamId); }
protected void FetchXml() { UseHtml = false; _document = _custom ? GameList.FetchXmlGameList(_customUrl) : GameList.FetchXmlGameList(_steamId); }