Add public modifier to 3 classes to enable linking

Setting these 3 classes as public allows another C# app to link to the exe and use the it as a reference to download files
pull/558/head
shalzuth 1 year ago
parent 2d06bf1c63
commit 762a09b651

@ -12,7 +12,7 @@ using ProtoBuf;
namespace DepotDownloader namespace DepotDownloader
{ {
[ProtoContract] [ProtoContract]
class AccountSettingsStore public class AccountSettingsStore
{ {
// Member 1 was a Dictionary<string, byte[]> for SentryData. // Member 1 was a Dictionary<string, byte[]> for SentryData.

@ -15,11 +15,11 @@ using SteamKit2.CDN;
namespace DepotDownloader namespace DepotDownloader
{ {
class ContentDownloaderException(string value) : Exception(value) public class ContentDownloaderException(string value) : Exception(value)
{ {
} }
static class ContentDownloader public static class ContentDownloader
{ {
public const uint INVALID_APP_ID = uint.MaxValue; public const uint INVALID_APP_ID = uint.MaxValue;
public const uint INVALID_DEPOT_ID = uint.MaxValue; public const uint INVALID_DEPOT_ID = uint.MaxValue;

@ -6,7 +6,7 @@ using System.Text.RegularExpressions;
namespace DepotDownloader namespace DepotDownloader
{ {
class DownloadConfig public class DownloadConfig
{ {
public int CellID { get; set; } public int CellID { get; set; }
public bool DownloadAllPlatforms { get; set; } public bool DownloadAllPlatforms { get; set; }

Loading…
Cancel
Save