Add MatchableTypes

As well as unit testing so I'm sure that part is not screwed up.
This commit is contained in:
JustArchi
2017-07-10 08:20:15 +02:00
parent e6e1b6f061
commit 5b2b00a9f0
9 changed files with 271 additions and 21 deletions

View File

@@ -92,6 +92,12 @@ namespace ArchiSteamFarm {
Steam.Item.EType.TradingCard
};
[JsonProperty(ObjectCreationHandling = ObjectCreationHandling.Replace, Required = Required.DisallowNull)]
internal readonly HashSet<Steam.Item.EType> MatchableTypes = new HashSet<Steam.Item.EType> {
Steam.Item.EType.FoilTradingCard,
Steam.Item.EType.TradingCard
};
[JsonProperty(Required = Required.DisallowNull)]
internal readonly CryptoHelper.ECryptoMethod PasswordFormat = CryptoHelper.ECryptoMethod.PlainText;