mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Mark additional stuff for removal
This commit is contained in:
@@ -205,6 +205,7 @@ namespace ArchiSteamFarm.Core {
|
||||
}
|
||||
}
|
||||
|
||||
[Obsolete("ASF no longer uses this function, re-implement it yourself if needed.")]
|
||||
[PublicAPI]
|
||||
public static int RandomNext(int maxValue) {
|
||||
switch (maxValue) {
|
||||
@@ -238,6 +239,7 @@ namespace ArchiSteamFarm.Core {
|
||||
}
|
||||
}
|
||||
|
||||
[Obsolete("ASF no longer uses this function, re-implement it yourself if needed.")]
|
||||
[PublicAPI]
|
||||
public static IEnumerable<IElement> SelectElementNodes(this IElement element, string xpath) => element.SelectNodes(xpath).OfType<IElement>();
|
||||
|
||||
|
||||
@@ -595,6 +595,7 @@ namespace ArchiSteamFarm.Steam.Integration {
|
||||
return response;
|
||||
}
|
||||
|
||||
[Obsolete("ASF no longer uses any XML-related functions, re-implement it yourself if needed.")]
|
||||
[PublicAPI]
|
||||
public async Task<XmlDocumentResponse?> UrlGetToXmlDocumentWithSession(Uri request, IReadOnlyCollection<KeyValuePair<string, string>>? headers = null, Uri? referer = null, WebBrowser.ERequestOptions requestOptions = WebBrowser.ERequestOptions.None, bool checkSessionPreemptively = true, byte maxTries = WebBrowser.MaxTries) {
|
||||
if (request == null) {
|
||||
|
||||
@@ -435,16 +435,16 @@ namespace ArchiSteamFarm.Storage {
|
||||
return await SerializableFile.Write(filePath, json).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
[PublicAPI]
|
||||
public enum EOptimizationMode : byte {
|
||||
MaxPerformance,
|
||||
MinMemoryUsage
|
||||
}
|
||||
|
||||
[PublicAPI]
|
||||
public enum EUpdateChannel : byte {
|
||||
None,
|
||||
Stable,
|
||||
|
||||
[PublicAPI]
|
||||
Experimental
|
||||
}
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ using System.Net.Http;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace ArchiSteamFarm.Web.Responses {
|
||||
[Obsolete("ASF no longer uses this class, re-implement it yourself using " + nameof(BasicResponse) + " if needed.")]
|
||||
public sealed class StringResponse : BasicResponse {
|
||||
[PublicAPI]
|
||||
public string Content { get; }
|
||||
|
||||
@@ -24,6 +24,7 @@ using System.Xml;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace ArchiSteamFarm.Web.Responses {
|
||||
[Obsolete("ASF no longer uses any XML-related functions, re-implement it yourself using " + nameof(BasicResponse) + " if needed.")]
|
||||
public sealed class XmlDocumentResponse : BasicResponse {
|
||||
[PublicAPI]
|
||||
public XmlDocument Content { get; }
|
||||
|
||||
@@ -358,6 +358,7 @@ namespace ArchiSteamFarm.Web {
|
||||
return null;
|
||||
}
|
||||
|
||||
[Obsolete("ASF no longer uses this function, re-implement it yourself using " + nameof(UrlGetToStream) + " if needed.")]
|
||||
[PublicAPI]
|
||||
public async Task<StringResponse?> UrlGetToString(Uri request, IReadOnlyCollection<KeyValuePair<string, string>>? headers = null, Uri? referer = null, ERequestOptions requestOptions = ERequestOptions.None, byte maxTries = MaxTries) {
|
||||
if (request == null) {
|
||||
@@ -399,6 +400,7 @@ namespace ArchiSteamFarm.Web {
|
||||
return null;
|
||||
}
|
||||
|
||||
[Obsolete("ASF no longer uses any XML-related functions, re-implement it yourself using " + nameof(UrlGetToStream) + " if needed.")]
|
||||
[PublicAPI]
|
||||
public async Task<XmlDocumentResponse?> UrlGetToXmlDocument(Uri request, IReadOnlyCollection<KeyValuePair<string, string>>? headers = null, Uri? referer = null, ERequestOptions requestOptions = ERequestOptions.None, byte maxTries = MaxTries) {
|
||||
if (request == null) {
|
||||
|
||||
Reference in New Issue
Block a user