This commit is contained in:
JustArchi 2020-01-30 18:45:51 +01:00
parent 18a9821247
commit 1c9c88948c

View file

@ -78,8 +78,13 @@ namespace ArchiSteamFarm {
public readonly ArchiWebHandler ArchiWebHandler;
[JsonProperty]
[PublicAPI]
public readonly string BotName;
[JsonProperty]
[PublicAPI]
public readonly CardsFarmer CardsFarmer;
[JsonIgnore]
[PublicAPI]
public readonly Commands Commands;
@ -89,20 +94,20 @@ namespace ArchiSteamFarm {
public readonly SteamConfiguration SteamConfiguration;
[JsonProperty]
[PublicAPI]
public uint GamesToRedeemInBackgroundCount => BotDatabase?.GamesToRedeemInBackgroundCount ?? 0;
[JsonProperty]
[PublicAPI]
public bool IsConnectedAndLoggedOn => SteamClient?.SteamID != null;
[JsonProperty]
[PublicAPI]
public bool IsPlayingPossible => !PlayingBlocked && !LibraryLocked;
internal readonly ArchiHandler ArchiHandler;
internal readonly BotDatabase BotDatabase;
[JsonProperty]
internal readonly CardsFarmer CardsFarmer;
internal readonly ConcurrentDictionary<uint, (EPaymentMethod PaymentMethod, DateTime TimeCreated)> OwnedPackageIDs = new ConcurrentDictionary<uint, (EPaymentMethod PaymentMethod, DateTime TimeCreated)>();
internal readonly SteamApps SteamApps;
internal readonly SteamFriends SteamFriends;